Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 115.2 kB / 17.13 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 207.6 MB / 230.5 MB, free: 4.004 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4189/0.4189, allocations: 44.22 MB / 326.6 MB, free: 6.836 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003059/0.003059, allocations: 79.91 kB / 462.3 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4601, allocations: 60.99 MB / 0.511 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003262/0.4633, allocations: 1.715 MB / 0.5127 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.4646, allocations: 0.8147 MB / 0.5135 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.4647, allocations: 5.031 kB / 0.5135 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.4651, allocations: 43.2 kB / 0.5135 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.4653, allocations: 62.69 kB / 0.5136 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.4656, allocations: 81.7 kB / 0.5137 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.4658, allocations: 98.31 kB / 0.5138 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.4659, allocations: 7.812 kB / 0.5138 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.466, allocations: 44.22 kB / 0.5138 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.116e-05/0.4661, allocations: 38.97 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.4661, allocations: 4.031 kB / 0.5139 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.4662, allocations: 38.08 kB / 0.5139 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.4663, allocations: 27.38 kB / 0.5139 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.4663, allocations: 31.12 kB / 0.5139 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.4666, allocations: 115.3 kB / 0.5141 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4666, allocations: 1.719 kB / 0.5141 GB, free: 10.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4666, allocations: 7.938 kB / 0.5141 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.4666, allocations: 0 / 0.5141 GB, free: 10.82 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005503/0.4671, allocations: 420.5 kB / 0.5145 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4672, allocations: 12.95 kB / 0.5145 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.4672, allocations: 32.16 kB / 0.5145 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.4673, allocations: 13.31 kB / 0.5145 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.4675, allocations: 208.5 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4675, allocations: 1.719 kB / 0.5147 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.4676, allocations: 6.406 kB / 0.5147 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.4677, allocations: 63.09 kB / 0.5148 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.4677, allocations: 0 / 0.5148 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4677, allocations: 3.938 kB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.4677, allocations: 5.781 kB / 0.5148 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.4678, allocations: 17.14 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.4682, allocations: 292 kB / 0.5151 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.4683, allocations: 56.16 kB / 0.5151 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.4684, allocations: 23.41 kB / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.4684, allocations: 2.688 kB / 0.5152 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.4686, allocations: 64.39 kB / 0.5152 GB, free: 9.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.4686, allocations: 0 / 0.5152 GB, free: 9.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005907/0.4692, allocations: 178 kB / 0.5154 GB, free: 9.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.4692, allocations: 52.78 kB / 0.5155 GB, free: 9.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.4694, allocations: 203.3 kB / 0.5156 GB, free: 9.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.4694, allocations: 27.08 kB / 0.5157 GB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.4695, allocations: 104.2 kB / 0.5158 GB, free: 9.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.4695, allocations: 23.92 kB / 0.5158 GB, free: 9.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.4695, allocations: 24.58 kB / 0.5158 GB, free: 9.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.4696, allocations: 323 kB / 0.5161 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.4697, allocations: 26.98 kB / 0.5162 GB, free: 8.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.4698, allocations: 35.45 kB / 0.5162 GB, free: 8.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.4699, allocations: 62.39 kB / 0.5162 GB, free: 8.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4699, allocations: 0 / 0.5162 GB, free: 8.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.4701, allocations: 104.1 kB / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4701, allocations: 5.5 kB / 0.5163 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4701, allocations: 4.406 kB / 0.5164 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4701, allocations: 1.375 kB / 0.5164 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.4702, allocations: 13.94 kB / 0.5164 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4702, allocations: 4 kB / 0.5164 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.4702, allocations: 18.61 kB / 0.5164 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4702, allocations: 2.75 kB / 0.5164 GB, free: 8.621 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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 7.575e-05/0.4703, allocations: 119.5 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.4703, allocations: 13.44 kB / 0.5165 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.4704, allocations: 14.91 kB / 0.5165 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4704, allocations: 9.312 kB / 0.5165 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4704, allocations: 0 / 0.5165 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4704, allocations: 5.312 kB / 0.5165 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.4708, allocations: 389.1 kB / 0.5169 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4708, allocations: 12.98 kB / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.4708, allocations: 7.062 kB / 0.5169 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4708, allocations: 5.312 kB / 0.5169 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.4708, allocations: 5.812 kB / 0.5169 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4708, allocations: 5.031 kB / 0.517 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4708, allocations: 0.9688 kB / 0.517 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.471, allocations: 200.7 kB / 0.5171 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.4711, allocations: 96.41 kB / 0.5172 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.4711, allocations: 5.219 kB / 0.5172 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.4712, allocations: 1.562 kB / 0.5172 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.4712, allocations: 15.89 kB / 0.5173 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.4712, allocations: 3.781 kB / 0.5173 GB, free: 7.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.4713, allocations: 151.1 kB / 0.5174 GB, free: 7.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4713, allocations: 1.062 kB / 0.5174 GB, free: 7.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.4716, allocations: 23.5 kB / 0.5174 GB, free: 7.656 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002041/0.4736, allocations: 1.104 MB / 0.5185 GB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.4738, allocations: 56.38 kB / 0.5186 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4738, allocations: 4.062 kB / 0.5186 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.4739, allocations: 27.64 kB / 0.5186 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.4743, allocations: 29.33 kB / 0.5186 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.476, allocations: 1.653 MB / 0.5202 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.4762, allocations: 0.7119 MB / 0.5209 GB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.02e-05/0.4762, allocations: 17.19 kB / 0.5209 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.4763, allocations: 39.42 kB / 0.521 GB, free: 4.277 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4763, allocations: 0 / 0.521 GB, free: 4.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.5021, allocations: 3.45 MB / 0.5244 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.504, allocations: 14.69 kB / 0.5244 GB, free: 0.7461 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.105853141008993]