Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 107.6 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001528, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2097/0.2097, allocations: 44.17 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 71.05 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1003, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003278/0.1036, allocations: 1.842 MB / 470.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1059, allocations: 1.53 MB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1061, allocations: 0 / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.1064, allocations: 47.81 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.1067, allocations: 71.69 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.1071, allocations: 158.4 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.1074, allocations: 171.5 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.1074, allocations: 13.56 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1076, allocations: 75.56 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1078, allocations: 82.28 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.1078, allocations: 4 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.108, allocations: 59.97 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.108, allocations: 27.91 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.1081, allocations: 59.55 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1084, allocations: 167.8 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1084, allocations: 4 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1084, allocations: 0 / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1084, allocations: 0 / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006946/0.1091, allocations: 462.6 kB / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1092, allocations: 12.03 kB / 473.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.1092, allocations: 34.69 kB / 473.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.1093, allocations: 12.84 kB / 473.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.1096, allocations: 243.8 kB / 473.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.1097, allocations: 12.38 kB / 473.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.1097, allocations: 7.938 kB / 473.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.11, allocations: 101 kB / 473.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.11, allocations: 0 / 473.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.11, allocations: 8 kB / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.11, allocations: 0 / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1102, allocations: 31.97 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.1105, allocations: 218.5 kB / 474.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.1108, allocations: 105.1 kB / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1109, allocations: 41.7 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.1109, allocations: 4 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/0.1112, allocations: 116.9 kB / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1112, allocations: 0 / 474.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005041/0.1118, allocations: 169.4 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.1119, allocations: 128.5 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1121, allocations: 219.7 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1121, allocations: 25.7 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.1122, allocations: 112.1 kB / 475 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.1122, allocations: 35.55 kB / 475 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.1123, allocations: 29.72 kB / 475 MB, free: 8.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1124, allocations: 322.8 kB / 475.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.1125, allocations: 31.97 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1126, allocations: 69.14 kB / 475.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.1128, allocations: 91.38 kB / 475.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1128, allocations: 7.938 kB / 475.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002668/0.1131, allocations: 130 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1131, allocations: 8 kB / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1131, allocations: 4 kB / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1132, allocations: 0 / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1133, allocations: 27.98 kB / 475.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1133, allocations: 0 / 475.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.248e-05/0.1134, allocations: 4.062 kB / 475.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1134, allocations: 8 kB / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.1135, allocations: 142.2 kB / 475.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.1135, allocations: 15.81 kB / 475.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.1136, allocations: 24.98 kB / 475.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1136, allocations: 0 / 475.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1136, allocations: 0 / 475.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1136, allocations: 0 / 475.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.1138, allocations: 217.4 kB / 476.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1138, allocations: 4 kB / 476.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.1139, allocations: 11.98 kB / 476.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1139, allocations: 4 kB / 476.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1139, allocations: 0 / 476.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1139, allocations: 0 / 476.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1139, allocations: 0 / 476.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.1142, allocations: 181.6 kB / 476.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.1143, allocations: 92.95 kB / 476.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.1143, allocations: 0 / 476.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.1144, allocations: 4 kB / 476.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.1144, allocations: 11.98 kB / 476.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1145, allocations: 7.938 kB / 476.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1146, allocations: 164.1 kB / 476.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1146, allocations: 0 / 476.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1149, allocations: 39.98 kB / 476.6 MB, free: 6.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/0.1164, allocations: 1.051 MB / 477.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.1166, allocations: 79.89 kB / 477.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1166, allocations: 0 / 477.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.1168, allocations: 44.17 kB / 477.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1171, allocations: 48.2 kB / 477.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.1195, allocations: 1.856 MB / 479.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1198, allocations: 0.7128 MB / 480.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.1199, allocations: 41.39 kB / 480.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.12, allocations: 55.41 kB / 480.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.12, allocations: 0 / 480.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.1367, allocations: 4.385 MB / 484.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.1369, allocations: 242.8 kB / 485.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/1.951, allocations: 3.938 kB / 485.1 MB, free: 13.94 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches