Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001336/0.001336, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001459/0.001459, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.69/1.69, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2514/0.2514, allocations: 44.91 MB / 358.8 MB, free: 6.301 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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.00197/0.00197, allocations: 63.91 kB / 0.4932 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4614, allocations: 65.46 MB / 0.5571 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003672/0.4651, allocations: 1.699 MB / 0.5587 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.467, allocations: 1.026 MB / 0.5597 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-05/0.4671, allocations: 7.938 kB / 0.5597 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.4675, allocations: 55.75 kB / 0.5598 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.4679, allocations: 99.58 kB / 0.5599 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.4681, allocations: 71.69 kB / 0.56 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.4683, allocations: 107.7 kB / 0.5601 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.4684, allocations: 4.234 kB / 0.5601 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.4685, allocations: 51.72 kB / 0.5601 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.4686, allocations: 47.77 kB / 0.5602 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.4686, allocations: 4 kB / 0.5602 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.4687, allocations: 27.98 kB / 0.5602 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.4688, allocations: 23.92 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.4689, allocations: 23.81 kB / 0.5602 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.4691, allocations: 113.3 kB / 0.5604 GB, free: 4.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.4691, allocations: 3.984 kB / 0.5604 GB, free: 4.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4691, allocations: 0 / 0.5604 GB, free: 4.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.4691, allocations: 0 / 0.5604 GB, free: 4.422 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006674/0.4698, allocations: 333.6 kB / 0.5607 GB, free: 4.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4699, allocations: 11.97 kB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/0.4699, allocations: 30.75 kB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.4699, allocations: 12.89 kB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.4703, allocations: 158.2 kB / 0.5609 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4703, allocations: 4.375 kB / 0.5609 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.4703, allocations: 7.938 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.4705, allocations: 49.61 kB / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.4705, allocations: 0 / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.4705, allocations: 0 / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.4705, allocations: 4 kB / 0.5609 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/0.4706, allocations: 12 kB / 0.561 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.4708, allocations: 152.8 kB / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.471, allocations: 54.55 kB / 0.5611 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.4711, allocations: 20.84 kB / 0.5612 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.4711, allocations: 3.938 kB / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.4713, allocations: 67.39 kB / 0.5612 GB, free: 3.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.4713, allocations: 0 / 0.5612 GB, free: 3.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003131/0.4716, allocations: 93.62 kB / 0.5613 GB, free: 3.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.4717, allocations: 51.41 kB / 0.5614 GB, free: 3.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4719, allocations: 179.2 kB / 0.5615 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4719, allocations: 29.7 kB / 0.5616 GB, free: 3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.472, allocations: 104.1 kB / 0.5617 GB, free: 2.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.472, allocations: 7.938 kB / 0.5617 GB, free: 2.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.4721, allocations: 21.72 kB / 0.5617 GB, free: 2.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4723, allocations: 326.8 kB / 0.562 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.4723, allocations: 16.19 kB / 0.562 GB, free: 2.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.4724, allocations: 29.7 kB / 0.5621 GB, free: 2.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.4725, allocations: 45.7 kB / 0.5621 GB, free: 2.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4725, allocations: 3.938 kB / 0.5621 GB, free: 2.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001622/0.4727, allocations: 89.53 kB / 0.5622 GB, free: 2.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4727, allocations: 4 kB / 0.5622 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4727, allocations: 0 / 0.5622 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4727, allocations: 0 / 0.5622 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.4728, allocations: 15.98 kB / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4728, allocations: 3.938 kB / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.4728, allocations: 0 / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.4728, allocations: 4 kB / 0.5622 GB, free: 2.305 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 (7): * Single equations (assignments): 7 * 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.0001373/0.473, allocations: 140.3 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.473, allocations: 7.953 kB / 0.5624 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.4732, allocations: 94.7 kB / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4732, allocations: 0 / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4732, allocations: 0 / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4732, allocations: 0 / 0.5624 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.4734, allocations: 168.6 kB / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4734, allocations: 0 / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.4734, allocations: 4 kB / 0.5626 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4734, allocations: 0 / 0.5626 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.4734, allocations: 4 kB / 0.5626 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4734, allocations: 4 kB / 0.5626 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4734, allocations: 4.062 kB / 0.5626 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.4736, allocations: 113 kB / 0.5627 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.4736, allocations: 7.953 kB / 0.5627 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.4737, allocations: 0 / 0.5627 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.565e-05/0.4737, allocations: 3.984 kB / 0.5627 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.4737, allocations: 8 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4737, allocations: 0 / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.4739, allocations: 141.8 kB / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4739, allocations: 0 / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.4741, allocations: 16 kB / 0.5629 GB, free: 1.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.002042/0.4761, allocations: 0.9648 MB / 0.5638 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.4763, allocations: 35.98 kB / 0.5639 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4763, allocations: 0 / 0.5639 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.617e-05/0.4764, allocations: 23.92 kB / 0.5639 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.4767, allocations: 32.33 kB / 0.5639 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.4786, allocations: 1.488 MB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.479, allocations: 0.7041 MB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.778e-05/0.4791, allocations: 8.5 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.4791, allocations: 27.42 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4791, allocations: 0 / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.5081, allocations: 3.265 MB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.31, allocations: 14.83 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.8065908780045]