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.001361/0.001361, 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.001489/0.001489, allocations: 213 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.55/1.55, 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.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.2372/0.2372, allocations: 44.93 MB / 358.8 MB, free: 6.027 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.002182/0.002182, allocations: 69.78 kB / 0.4936 GB, free: 9.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3589, allocations: 65.47 MB / 0.5575 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004865/0.3637, allocations: 2.236 MB / 0.5597 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.3666, allocations: 1.353 MB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.3667, allocations: 7.938 kB / 0.561 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.3674, allocations: 287 kB / 0.5613 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007432/0.3681, allocations: 342.6 kB / 0.5616 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.3687, allocations: 219.5 kB / 0.5618 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.3693, allocations: 0.5685 MB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.3695, allocations: 40.94 kB / 0.5624 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.3698, allocations: 235.1 kB / 0.5626 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.3702, allocations: 294.8 kB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.3703, allocations: 20 kB / 0.563 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.3704, allocations: 59.98 kB / 0.563 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.3706, allocations: 119.5 kB / 0.5631 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.3708, allocations: 142.9 kB / 0.5633 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.3714, allocations: 428.6 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3714, allocations: 0 / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3714, allocations: 0 / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.3714, allocations: 0 / 0.5637 GB, free: 1.094 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.001427/0.3728, allocations: 0.7394 MB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.3729, allocations: 16.03 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.373, allocations: 60.55 kB / 0.5645 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.3737, allocations: 349.3 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.3738, allocations: 16.38 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.3738, allocations: 20.11 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.3743, allocations: 209.8 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.3743, allocations: 0 / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.3744, allocations: 4 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3744, allocations: 8 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.3747, allocations: 115.8 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.3758, allocations: 0.786 MB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.3765, allocations: 285.2 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.3767, allocations: 104.2 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3767, allocations: 4 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.3772, allocations: 231.5 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.3772, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002281/0.3795, allocations: 1.076 MB / 0.5676 GB, free: 12.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.3796, allocations: 166.2 kB / 0.5677 GB, free: 12.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000877/0.3805, allocations: 0.6787 MB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.3806, allocations: 33.7 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.3808, allocations: 241 kB / 0.5686 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.3809, allocations: 130.9 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3811, allocations: 70.12 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.3813, allocations: 378.8 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.3815, allocations: 100.8 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.3819, allocations: 188.9 kB / 0.5695 GB, free: 10.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006178/0.3825, allocations: 308.8 kB / 0.5698 GB, free: 10.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3825, allocations: 3.938 kB / 0.5698 GB, free: 10.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008038/0.3833, allocations: 432.8 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.3833, allocations: 8 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3834, allocations: 0 / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.3834, allocations: 4 kB / 0.5702 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.3837, allocations: 83.89 kB / 0.5703 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.3837, allocations: 11.94 kB / 0.5703 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.3839, allocations: 19.98 kB / 0.5703 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.3839, allocations: 16.16 kB / 0.5703 GB, free: 9.902 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.0002589/0.3842, allocations: 204.4 kB / 0.5705 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.3843, allocations: 67.52 kB / 0.5706 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009695/0.3853, allocations: 0.4901 MB / 0.5711 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.3853, allocations: 8 kB / 0.5711 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3853, allocations: 1.312 kB / 0.5711 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.3853, allocations: 7.984 kB / 0.5711 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.387, allocations: 1.225 MB / 0.5723 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.387, allocations: 4 kB / 0.5723 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.3872, allocations: 55.84 kB / 0.5723 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.3872, allocations: 8 kB / 0.5723 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.3872, allocations: 12 kB / 0.5724 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.3872, allocations: 12.38 kB / 0.5724 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.3872, allocations: 7.938 kB / 0.5724 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3883, allocations: 0.8636 MB / 0.5732 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.3883, allocations: 55.61 kB / 0.5733 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.145e-05/0.3884, allocations: 16 kB / 0.5733 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.3887, allocations: 15.98 kB / 0.5733 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3888, allocations: 43.81 kB / 0.5733 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.3889, allocations: 23.98 kB / 0.5734 GB, free: 6.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005985/0.3895, allocations: 0.4954 MB / 0.5738 GB, free: 6.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3895, allocations: 0 / 0.5738 GB, free: 6.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005647/0.3901, allocations: 91.94 kB / 0.5739 GB, free: 6.098 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.001962/0.392, allocations: 0.507 MB / 0.5744 GB, free: 5.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006835/0.3927, allocations: 303.4 kB / 0.5747 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3927, allocations: 0 / 0.5747 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.393, allocations: 157.1 kB / 0.5749 GB, free: 5.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.3941, allocations: 154.6 kB / 0.575 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.3958, allocations: 0.9348 MB / 0.5759 GB, free: 4.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3961, allocations: 263.9 kB / 0.5762 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.3963, allocations: 87.39 kB / 0.5763 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.3964, allocations: 51.42 kB / 0.5763 GB, free: 3.793 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3964, allocations: 0 / 0.5763 GB, free: 3.793 MB / 414.1 MB Notification: Performance of Templates: time 0.01394/0.4104, allocations: 6.668 MB / 0.5828 GB, free: 13.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/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: 5.420239700004458]