Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001503/0.001503, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001693/0.001693, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2428/0.2428, allocations: 44.9 MB / 358.8 MB, free: 6.383 MB / 286.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002084/0.002084, allocations: 71.84 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4586, allocations: 65.48 MB / 0.5571 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004717/0.4633, allocations: 1.773 MB / 0.5588 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.4659, allocations: 1.042 MB / 0.5598 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.466, allocations: 3.938 kB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.4665, allocations: 111.7 kB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.4671, allocations: 123.5 kB / 0.5601 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.4674, allocations: 87.66 kB / 0.5602 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.4677, allocations: 123.6 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.4679, allocations: 17.8 kB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.468, allocations: 55.77 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.4682, allocations: 75.73 kB / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.4682, allocations: 4 kB / 0.5604 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.4684, allocations: 59.98 kB / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.4685, allocations: 27.91 kB / 0.5605 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.4686, allocations: 51.61 kB / 0.5606 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.4689, allocations: 147.3 kB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4689, allocations: 3.938 kB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4689, allocations: 0 / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.4689, allocations: 0 / 0.5607 GB, free: 4.027 MB / 398.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.0008192/0.4697, allocations: 377.3 kB / 0.5611 GB, free: 3.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.4698, allocations: 12.03 kB / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.4699, allocations: 34.75 kB / 0.5611 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.4699, allocations: 16.84 kB / 0.5611 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.4704, allocations: 170.3 kB / 0.5613 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.4704, allocations: 4.375 kB / 0.5613 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.4704, allocations: 11.89 kB / 0.5613 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.4706, allocations: 57.67 kB / 0.5614 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4707, allocations: 0 / 0.5614 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4707, allocations: 4 kB / 0.5614 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4707, allocations: 0 / 0.5614 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4708, allocations: 23.98 kB / 0.5614 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.4713, allocations: 287.8 kB / 0.5617 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.4717, allocations: 50.56 kB / 0.5617 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.652e-05/0.4718, allocations: 20.97 kB / 0.5617 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.4718, allocations: 0 / 0.5617 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.472, allocations: 75.38 kB / 0.5618 GB, free: 2.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.472, allocations: 3.938 kB / 0.5618 GB, free: 2.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001056/0.4731, allocations: 253.2 kB / 0.562 GB, free: 2.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.4732, allocations: 55.34 kB / 0.5621 GB, free: 2.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.4735, allocations: 250.7 kB / 0.5623 GB, free: 2.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4736, allocations: 25.7 kB / 0.5624 GB, free: 2.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.4736, allocations: 120.1 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.4737, allocations: 35.69 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.4737, allocations: 29.72 kB / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4739, allocations: 330.8 kB / 0.5629 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.474, allocations: 24 kB / 0.5629 GB, free: 1.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.679e-05/0.474, allocations: 45.69 kB / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4742, allocations: 81.66 kB / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4742, allocations: 0 / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000241/0.4744, allocations: 129.5 kB / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.4745, allocations: 8 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4745, allocations: 0 / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4745, allocations: 0 / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.4746, allocations: 27.86 kB / 0.5632 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4746, allocations: 4 kB / 0.5632 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.4746, allocations: 0 / 0.5632 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.4746, allocations: 16.03 kB / 0.5632 GB, free: 1.281 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001365/0.4748, allocations: 136.6 kB / 0.5633 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.4748, allocations: 19.89 kB / 0.5633 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.4751, allocations: 151.8 kB / 0.5635 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4751, allocations: 7.938 kB / 0.5635 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4751, allocations: 0 / 0.5635 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4751, allocations: 0 / 0.5635 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005779/0.4757, allocations: 435 kB / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4757, allocations: 0 / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.4757, allocations: 15.98 kB / 0.5639 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4757, allocations: 0 / 0.5639 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.4758, allocations: 4 kB / 0.5639 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4758, allocations: 0 / 0.5639 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.4758, allocations: 4 kB / 0.5639 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.4761, allocations: 245 kB / 0.5641 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.4761, allocations: 11.91 kB / 0.5642 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.4761, allocations: 4 kB / 0.5642 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.4762, allocations: 0 / 0.5642 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.4762, allocations: 11.98 kB / 0.5642 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.4762, allocations: 8.094 kB / 0.5642 GB, free: 156 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.4764, allocations: 196.2 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4764, allocations: 0 / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.4767, allocations: 31.92 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002479/0.4792, allocations: 1.181 MB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.4794, allocations: 71.91 kB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4794, allocations: 0 / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.832e-05/0.4795, allocations: 39.91 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.4799, allocations: 35.12 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.4825, allocations: 1.893 MB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.4829, allocations: 0.7197 MB / 0.5682 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.045e-05/0.483, allocations: 24.62 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.4831, allocations: 47.41 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4831, allocations: 0 / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.5124, allocations: 4.212 MB / 0.5724 GB, free: 7.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.48, allocations: 10.8 kB / 0.5724 GB, free: 7.824 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.85144570000557]