Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001777/0.001777, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002107/0.002107, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 46.95 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 67.88 kB / 0.4966 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3515, allocations: 66.04 MB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003825/0.3553, allocations: 2.236 MB / 0.5633 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3579, allocations: 1.353 MB / 0.5646 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.358, allocations: 7.938 kB / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005955/0.3586, allocations: 283 kB / 0.5649 GB, free: 260 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007084/0.3593, allocations: 346.7 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.3598, allocations: 211.5 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006837/0.3605, allocations: 0.5723 MB / 0.566 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.3607, allocations: 39.95 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.361, allocations: 243 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.3613, allocations: 286.8 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.3614, allocations: 20 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3615, allocations: 59.97 kB / 0.5666 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3617, allocations: 119.5 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3618, allocations: 146.9 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.3624, allocations: 425.6 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3624, allocations: 8 kB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3624, allocations: 0 / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3624, allocations: 0 / 0.5673 GB, free: 13.81 MB / 414.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.001271/0.3636, allocations: 0.7378 MB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3637, allocations: 12.03 kB / 0.568 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.3638, allocations: 60.55 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.3645, allocations: 353.1 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3645, allocations: 12.38 kB / 0.5684 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.3645, allocations: 20.11 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.365, allocations: 209.8 kB / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.365, allocations: 0 / 0.5687 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.365, allocations: 4 kB / 0.5687 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.365, allocations: 4 kB / 0.5687 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.3653, allocations: 111.8 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.3664, allocations: 0.7899 MB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.367, allocations: 285.2 kB / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3672, allocations: 96.19 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3673, allocations: 8 kB / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004571/0.3677, allocations: 239.5 kB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.3677, allocations: 0 / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002252/0.37, allocations: 1.069 MB / 0.5712 GB, free: 9.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.3701, allocations: 174.1 kB / 0.5714 GB, free: 9.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008644/0.371, allocations: 0.6709 MB / 0.572 GB, free: 8.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.371, allocations: 41.64 kB / 0.572 GB, free: 8.664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.3712, allocations: 241 kB / 0.5723 GB, free: 8.426 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.3714, allocations: 130.9 kB / 0.5724 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3715, allocations: 78.12 kB / 0.5725 GB, free: 8.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.3718, allocations: 370.8 kB / 0.5728 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.372, allocations: 100.8 kB / 0.5729 GB, free: 7.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.3723, allocations: 192.8 kB / 0.5731 GB, free: 7.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.3729, allocations: 312.7 kB / 0.5734 GB, free: 7.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3729, allocations: 0 / 0.5734 GB, free: 7.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007969/0.3737, allocations: 424.9 kB / 0.5738 GB, free: 6.773 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3737, allocations: 8.156 kB / 0.5738 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3737, allocations: 4 kB / 0.5738 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3737, allocations: 4 kB / 0.5738 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.3741, allocations: 87.89 kB / 0.5739 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.3741, allocations: 7.938 kB / 0.5739 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3743, allocations: 19.98 kB / 0.5739 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.3743, allocations: 16 kB / 0.574 GB, free: 6.629 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.0002402/0.3746, allocations: 200.4 kB / 0.5741 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.3747, allocations: 75.5 kB / 0.5742 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.3757, allocations: 0.4904 MB / 0.5747 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.3757, allocations: 8 kB / 0.5747 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3757, allocations: 0 / 0.5747 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3757, allocations: 7.984 kB / 0.5747 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.3774, allocations: 1.229 MB / 0.5759 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.3774, allocations: 7.938 kB / 0.5759 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.3776, allocations: 55.91 kB / 0.576 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3776, allocations: 4 kB / 0.576 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.3776, allocations: 19.98 kB / 0.576 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3776, allocations: 4 kB / 0.576 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3776, allocations: 3.938 kB / 0.576 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.3787, allocations: 0.8595 MB / 0.5768 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.3788, allocations: 51.64 kB / 0.5769 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.3789, allocations: 20 kB / 0.5769 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.3792, allocations: 15.98 kB / 0.5769 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.3793, allocations: 47.81 kB / 0.577 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.3793, allocations: 19.98 kB / 0.577 GB, free: 3.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006031/0.3799, allocations: 0.4949 MB / 0.5775 GB, free: 2.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3799, allocations: 0 / 0.5775 GB, free: 2.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005405/0.3805, allocations: 87.94 kB / 0.5776 GB, free: 2.828 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.001875/0.3823, allocations: 0.5093 MB / 0.5781 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006838/0.383, allocations: 300.1 kB / 0.5783 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.383, allocations: 4.062 kB / 0.5783 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.3834, allocations: 152.5 kB / 0.5785 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.3844, allocations: 157.8 kB / 0.5786 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.386, allocations: 0.9348 MB / 0.5796 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.3863, allocations: 272.2 kB / 0.5798 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002247/0.3866, allocations: 83.7 kB / 0.5799 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.3867, allocations: 55.41 kB / 0.5799 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3867, allocations: 0 / 0.5799 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of Templates: time 0.0134/0.4001, allocations: 6.662 MB / 0.5865 GB, free: 9.961 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.379173807799816]