Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001698/0.001698, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001469/0.001469, allocations: 213.3 kB / 23.73 MB, free: 4.531 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2736/0.2736, allocations: 44.93 MB / 358.8 MB, free: 6.066 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.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",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.0021/0.0021, allocations: 71.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3882, allocations: 65.47 MB / 0.557 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004202/0.3924, allocations: 2.24 MB / 0.5592 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.3951, allocations: 1.346 MB / 0.5605 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.3952, allocations: 3.938 kB / 0.5605 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.3958, allocations: 298.9 kB / 0.5608 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.3966, allocations: 342.6 kB / 0.5611 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.3971, allocations: 215.5 kB / 0.5613 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007499/0.3979, allocations: 0.5647 MB / 0.5619 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.398, allocations: 39.09 kB / 0.5619 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.3984, allocations: 247 kB / 0.5622 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.3988, allocations: 282.8 kB / 0.5624 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.3988, allocations: 20 kB / 0.5625 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.399, allocations: 59.92 kB / 0.5625 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.3992, allocations: 119.5 kB / 0.5626 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.3994, allocations: 147 kB / 0.5628 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006469/0.4, allocations: 437.8 kB / 0.5632 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4, allocations: 4 kB / 0.5632 GB, free: 1.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4, allocations: 0 / 0.5632 GB, free: 1.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.4001, allocations: 0 / 0.5632 GB, free: 1.062 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001446/0.4015, allocations: 0.73 MB / 0.5639 GB, free: 304 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.4016, allocations: 12.03 kB / 0.5639 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/0.4016, allocations: 42.73 kB / 0.564 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.4017, allocations: 64.56 kB / 0.564 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.4024, allocations: 357.4 kB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.4025, allocations: 15.94 kB / 0.5644 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.4025, allocations: 12 kB / 0.5644 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.4029, allocations: 213.8 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.403, allocations: 4 kB / 0.5646 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.403, allocations: 4 kB / 0.5646 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.403, allocations: 3.938 kB / 0.5646 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.4033, allocations: 119.8 kB / 0.5647 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.4044, allocations: 0.8167 MB / 0.5655 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006737/0.4051, allocations: 277.3 kB / 0.5658 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.4053, allocations: 108.2 kB / 0.5659 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.4054, allocations: 4 kB / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004941/0.4059, allocations: 227.5 kB / 0.5661 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.4059, allocations: 4 kB / 0.5661 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002316/0.4082, allocations: 1.064 MB / 0.5671 GB, free: 12.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.4083, allocations: 170.2 kB / 0.5673 GB, free: 12.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/0.4092, allocations: 0.6748 MB / 0.568 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.4092, allocations: 45.62 kB / 0.568 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.4094, allocations: 237 kB / 0.5682 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.4096, allocations: 127 kB / 0.5684 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4097, allocations: 74.12 kB / 0.5684 GB, free: 11.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.4099, allocations: 374.8 kB / 0.5688 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.4101, allocations: 106.7 kB / 0.5689 GB, free: 10.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.4105, allocations: 188.9 kB / 0.5691 GB, free: 10.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.411, allocations: 312.7 kB / 0.5694 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.411, allocations: 0 / 0.5694 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000809/0.4118, allocations: 428.9 kB / 0.5698 GB, free: 9.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4119, allocations: 8 kB / 0.5698 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4119, allocations: 4 kB / 0.5698 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.4119, allocations: 4 kB / 0.5698 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.4122, allocations: 83.89 kB / 0.5699 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.4122, allocations: 4 kB / 0.5699 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.4124, allocations: 19.98 kB / 0.5699 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.4125, allocations: 19.94 kB / 0.5699 GB, free: 9.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002573/0.4127, allocations: 220.3 kB / 0.5701 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.4128, allocations: 63.58 kB / 0.5702 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.4139, allocations: 494.2 kB / 0.5707 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.4139, allocations: 4 kB / 0.5707 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.4139, allocations: 3.984 kB / 0.5707 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.4139, allocations: 4 kB / 0.5707 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.4157, allocations: 1.268 MB / 0.5719 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4157, allocations: 7.938 kB / 0.5719 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.4159, allocations: 59.91 kB / 0.572 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.4159, allocations: 7.938 kB / 0.572 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.4159, allocations: 12 kB / 0.572 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.4159, allocations: 7.938 kB / 0.572 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.4159, allocations: 7.984 kB / 0.572 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.417, allocations: 0.8637 MB / 0.5728 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.884e-05/0.4171, allocations: 59.5 kB / 0.5729 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.4172, allocations: 15.98 kB / 0.5729 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.4175, allocations: 19.98 kB / 0.5729 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.4176, allocations: 39.92 kB / 0.573 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.4177, allocations: 27.98 kB / 0.573 GB, free: 6.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005903/0.4183, allocations: 498.8 kB / 0.5735 GB, free: 6.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4183, allocations: 0 / 0.5735 GB, free: 6.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005694/0.4189, allocations: 95.92 kB / 0.5736 GB, free: 5.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003233/0.4221, allocations: 1.813 MB / 0.5753 GB, free: 4.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.4228, allocations: 299.4 kB / 0.5756 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4228, allocations: 0 / 0.5756 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.4231, allocations: 153.6 kB / 0.5758 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.4242, allocations: 161.4 kB / 0.5759 GB, free: 3.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006123/0.4303, allocations: 4.585 MB / 0.5804 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4306, allocations: 267.9 kB / 0.5807 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00025/0.4309, allocations: 75.41 kB / 0.5807 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.4312, allocations: 191.4 kB / 0.5809 GB, free: 14.37 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4312, allocations: 0 / 0.5809 GB, free: 14.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0417/0.4729, allocations: 12.19 MB / 0.5928 GB, free: 2.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.93, allocations: 8 kB / 0.5928 GB, free: 2.305 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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: 15.176157855894417]