Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001492/0.001492, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001802/0.001802, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.246 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.2269/0.2269, allocations: 46.94 MB / 361.6 MB, free: 4.406 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 59.89 kB / 0.4975 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.347, allocations: 66.03 MB / 0.562 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003953/0.3509, allocations: 2.298 MB / 0.5642 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.3535, allocations: 1.35 MB / 0.5655 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.3537, allocations: 7.938 kB / 0.5655 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.3542, allocations: 139.3 kB / 0.5657 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006324/0.3548, allocations: 254.9 kB / 0.5659 GB, free: 352 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.3553, allocations: 191.5 kB / 0.5661 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006429/0.3559, allocations: 474.6 kB / 0.5665 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.3561, allocations: 56.83 kB / 0.5666 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.3565, allocations: 346.9 kB / 0.5669 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.3568, allocations: 175.1 kB / 0.5671 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.3568, allocations: 16 kB / 0.5671 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.357, allocations: 71.98 kB / 0.5672 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.3572, allocations: 159.3 kB / 0.5673 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.3574, allocations: 206.3 kB / 0.5675 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.3579, allocations: 484.2 kB / 0.568 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.358, allocations: 4 kB / 0.568 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.358, allocations: 0 / 0.568 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.358, allocations: 0 / 0.568 GB, free: 14.2 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001231/0.3592, allocations: 0.8418 MB / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3592, allocations: 8.031 kB / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.3593, allocations: 72.47 kB / 0.5689 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/0.36, allocations: 381.6 kB / 0.5692 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.36, allocations: 12.38 kB / 0.5693 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.36, allocations: 24.08 kB / 0.5693 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.3604, allocations: 197.4 kB / 0.5695 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.3605, allocations: 4 kB / 0.5695 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3605, allocations: 4 kB / 0.5695 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.3605, allocations: 7.984 kB / 0.5695 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.3607, allocations: 99.86 kB / 0.5696 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3617, allocations: 0.789 MB / 0.5703 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.3624, allocations: 238.5 kB / 0.5706 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.3626, allocations: 83.52 kB / 0.5707 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3626, allocations: 4 kB / 0.5707 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.363, allocations: 212.4 kB / 0.5709 GB, free: 11.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.522e-06/0.363, allocations: 0 / 0.5709 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002558/0.3655, allocations: 1.195 MB / 0.572 GB, free: 9.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.3656, allocations: 140.5 kB / 0.5722 GB, free: 9.676 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.3667, allocations: 0.9575 MB / 0.5731 GB, free: 8.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.3668, allocations: 41.7 kB / 0.5731 GB, free: 8.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.367, allocations: 272.9 kB / 0.5734 GB, free: 8.391 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.3672, allocations: 142.8 kB / 0.5735 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.3673, allocations: 82.08 kB / 0.5736 GB, free: 8.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3675, allocations: 322 kB / 0.5739 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.3677, allocations: 120.8 kB / 0.574 GB, free: 7.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.368, allocations: 175.2 kB / 0.5742 GB, free: 7.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.3685, allocations: 322.9 kB / 0.5745 GB, free: 7.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3685, allocations: 0 / 0.5745 GB, free: 7.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007925/0.3693, allocations: 444.9 kB / 0.5749 GB, free: 6.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3693, allocations: 8 kB / 0.5749 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3693, allocations: 7.938 kB / 0.5749 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3694, allocations: 7.984 kB / 0.575 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.3697, allocations: 91.83 kB / 0.575 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3697, allocations: 4 kB / 0.575 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.3698, allocations: 23.92 kB / 0.5751 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.3699, allocations: 16 kB / 0.5751 GB, free: 6.594 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003208/0.3702, allocations: 260.1 kB / 0.5753 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3703, allocations: 75.48 kB / 0.5754 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009872/0.3713, allocations: 0.5074 MB / 0.5759 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.3713, allocations: 4 kB / 0.5759 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3713, allocations: 0 / 0.5759 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.3713, allocations: 11.92 kB / 0.5759 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.3732, allocations: 1.302 MB / 0.5772 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3732, allocations: 4.25 kB / 0.5772 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.3733, allocations: 59.92 kB / 0.5773 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3733, allocations: 4 kB / 0.5773 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.3734, allocations: 15.98 kB / 0.5773 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.3734, allocations: 4 kB / 0.5773 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.3734, allocations: 8.312 kB / 0.5773 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009556/0.3743, allocations: 0.8045 MB / 0.5781 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.3745, allocations: 103.5 kB / 0.5782 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.3746, allocations: 19.98 kB / 0.5782 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.3749, allocations: 15.98 kB / 0.5782 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.375, allocations: 39.89 kB / 0.5782 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.375, allocations: 27.98 kB / 0.5783 GB, free: 3.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008044/0.3758, allocations: 0.706 MB / 0.579 GB, free: 2.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3758, allocations: 0 / 0.579 GB, free: 2.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000545/0.3764, allocations: 87.94 kB / 0.579 GB, free: 2.406 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00202/0.3784, allocations: 0.5397 MB / 0.5796 GB, free: 2.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006825/0.3791, allocations: 296.5 kB / 0.5798 GB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3791, allocations: 3.938 kB / 0.5799 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.3794, allocations: 147.7 kB / 0.58 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009466/0.3803, allocations: 131.7 kB / 0.5801 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.3823, allocations: 1.259 MB / 0.5813 GB, free: 192 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/0.3829, allocations: 0.9191 MB / 0.5822 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3831, allocations: 59.42 kB / 0.5823 GB, free: 15.19 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3831, allocations: 0 / 0.5823 GB, free: 15.19 MB / 430.1 MB Notification: Performance of Templates: time 0.01185/0.3949, allocations: 6.838 MB / 0.589 GB, free: 8.371 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.487728024134412]