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.001383/0.001383, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001537/0.001537, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.957 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.2223/0.2223, allocations: 44.92 MB / 359.6 MB, free: 6.25 MB / 286.1 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [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.002081/0.002081, allocations: 72.19 kB / 0.4944 GB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3605, allocations: 65.47 MB / 0.5583 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003798/0.3643, allocations: 2.374 MB / 0.5606 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3668, allocations: 1.428 MB / 0.562 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.3669, allocations: 7.938 kB / 0.562 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.3675, allocations: 291 kB / 0.5623 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006392/0.3681, allocations: 346.6 kB / 0.5626 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.3686, allocations: 215.5 kB / 0.5628 GB, free: 3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006504/0.3692, allocations: 0.5608 MB / 0.5634 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.3693, allocations: 43.88 kB / 0.5634 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.3697, allocations: 258.9 kB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.3701, allocations: 294.9 kB / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.621e-05/0.3701, allocations: 20 kB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3702, allocations: 51.98 kB / 0.564 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.3704, allocations: 123.5 kB / 0.5642 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.3706, allocations: 190.5 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.371, allocations: 425.5 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3711, allocations: 0 / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3711, allocations: 0 / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3711, allocations: 0 / 0.5647 GB, free: 1.055 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.001191/0.3723, allocations: 0.7417 MB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3723, allocations: 12.03 kB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.91e-05/0.3724, allocations: 56.56 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.3731, allocations: 365 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3731, allocations: 8.375 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.3731, allocations: 20.11 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.3735, allocations: 201.8 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.3735, allocations: 3.984 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3736, allocations: 11.94 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3736, allocations: 0 / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.3738, allocations: 95.86 kB / 0.5662 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009708/0.3748, allocations: 0.8401 MB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.3754, allocations: 277.2 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.3756, allocations: 92.25 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3757, allocations: 4 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004093/0.3761, allocations: 223.5 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.3761, allocations: 4 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002092/0.3782, allocations: 1.048 MB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.3783, allocations: 162.2 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/0.3791, allocations: 0.6553 MB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.3791, allocations: 33.7 kB / 0.5694 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.3793, allocations: 237 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.3795, allocations: 130.9 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3796, allocations: 70.14 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.3798, allocations: 374.8 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.3801, allocations: 100.8 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.3804, allocations: 184.8 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.381, allocations: 296.8 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.381, allocations: 5.875 kB / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008012/0.3818, allocations: 408.9 kB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.3818, allocations: 4 kB / 0.5712 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3818, allocations: 4 kB / 0.5712 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.3818, allocations: 4 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.3821, allocations: 87.83 kB / 0.5713 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3822, allocations: 4.547 kB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3824, allocations: 19.98 kB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.3824, allocations: 23.94 kB / 0.5713 GB, free: 9.941 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.0002435/0.3826, allocations: 208.3 kB / 0.5715 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3827, allocations: 71.45 kB / 0.5716 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009192/0.3836, allocations: 457.7 kB / 0.572 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3837, allocations: 8 kB / 0.572 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3837, allocations: 4 kB / 0.572 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3837, allocations: 3.984 kB / 0.572 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.3854, allocations: 1.253 MB / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3854, allocations: 0 / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3855, allocations: 51.92 kB / 0.5733 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3855, allocations: 4 kB / 0.5733 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.3856, allocations: 19.92 kB / 0.5733 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3856, allocations: 4 kB / 0.5733 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3856, allocations: 0 / 0.5733 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009605/0.3865, allocations: 0.8285 MB / 0.5741 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.3866, allocations: 47.62 kB / 0.5742 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/0.3867, allocations: 15.94 kB / 0.5742 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.387, allocations: 23.97 kB / 0.5742 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.3871, allocations: 31.89 kB / 0.5743 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.3871, allocations: 27.98 kB / 0.5743 GB, free: 6.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005607/0.3877, allocations: 482.8 kB / 0.5747 GB, free: 6.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3877, allocations: 0 / 0.5747 GB, free: 6.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005731/0.3883, allocations: 83.98 kB / 0.5748 GB, free: 6.23 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 (40): * Single equations (assignments): 30 * 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.001844/0.3901, allocations: 485.9 kB / 0.5753 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006451/0.3908, allocations: 271.9 kB / 0.5755 GB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3908, allocations: 0 / 0.5755 GB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.3911, allocations: 145.3 kB / 0.5757 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.3922, allocations: 159.1 kB / 0.5758 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.3937, allocations: 0.9594 MB / 0.5768 GB, free: 4.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.3942, allocations: 0.8589 MB / 0.5776 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.3944, allocations: 55.41 kB / 0.5777 GB, free: 3.418 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3944, allocations: 4 kB / 0.5777 GB, free: 3.414 MB / 414.1 MB Notification: Performance of Templates: time 0.01053/0.4049, allocations: 6.591 MB / 0.5841 GB, free: 12.84 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] 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: 8.571340250084177]