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.001332/0.001332, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001462/0.001462, allocations: 214.2 kB / 24.48 MB, free: 3.84 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.486/1.486, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2313/0.2313, allocations: 46.96 MB / 361.6 MB, free: 4.125 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.00211/0.00211, allocations: 71.89 kB / 0.4974 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3581, allocations: 66.03 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003969/0.3621, allocations: 2.174 MB / 0.564 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.3645, allocations: 1.271 MB / 0.5653 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3647, allocations: 11.94 kB / 0.5653 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.3651, allocations: 135.3 kB / 0.5654 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005814/0.3657, allocations: 262.9 kB / 0.5657 GB, free: 312 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.3661, allocations: 191.5 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006147/0.3667, allocations: 466.6 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.3668, allocations: 52.03 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.3672, allocations: 335 kB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3675, allocations: 171.1 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.3675, allocations: 16 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.3677, allocations: 71.97 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.3679, allocations: 159.4 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.368, allocations: 154.7 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.3686, allocations: 493.1 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3686, allocations: 4 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3686, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.3687, allocations: 4 kB / 0.5677 GB, free: 14.23 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.001223/0.3699, allocations: 0.8379 MB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3699, allocations: 12.03 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.37, allocations: 68.47 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.3706, allocations: 367.1 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3707, allocations: 12.38 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.3707, allocations: 24.02 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.3711, allocations: 205.4 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3711, allocations: 0 / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.3712, allocations: 11.98 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3712, allocations: 4 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.3714, allocations: 99.86 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009935/0.3724, allocations: 0.7467 MB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000659/0.3731, allocations: 242.4 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.3733, allocations: 91.52 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3733, allocations: 4 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.3737, allocations: 208.2 kB / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.3737, allocations: 0 / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002686/0.3764, allocations: 1.23 MB / 0.5717 GB, free: 9.891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3765, allocations: 132.5 kB / 0.5718 GB, free: 9.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3776, allocations: 0.9809 MB / 0.5728 GB, free: 8.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.3777, allocations: 37.7 kB / 0.5728 GB, free: 8.695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.3779, allocations: 281 kB / 0.5731 GB, free: 8.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.3781, allocations: 142.8 kB / 0.5732 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3782, allocations: 82.08 kB / 0.5733 GB, free: 8.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3784, allocations: 329.9 kB / 0.5736 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.3786, allocations: 116.8 kB / 0.5737 GB, free: 7.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.3789, allocations: 187.2 kB / 0.5739 GB, free: 7.543 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.3795, allocations: 334.9 kB / 0.5742 GB, free: 7.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3795, allocations: 0 / 0.5742 GB, free: 7.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008379/0.3803, allocations: 456.8 kB / 0.5747 GB, free: 6.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3804, allocations: 10.5 kB / 0.5747 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3804, allocations: 0 / 0.5747 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.3804, allocations: 4 kB / 0.5747 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.3807, allocations: 95.83 kB / 0.5748 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3807, allocations: 4 kB / 0.5748 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.3809, allocations: 20.11 kB / 0.5748 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.3809, allocations: 19.94 kB / 0.5748 GB, free: 6.59 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.0003085/0.3812, allocations: 256.1 kB / 0.5751 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3813, allocations: 83.42 kB / 0.5751 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.3824, allocations: 0.5273 MB / 0.5757 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.3824, allocations: 8 kB / 0.5757 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3824, allocations: 0 / 0.5757 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3824, allocations: 7.984 kB / 0.5757 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.3843, allocations: 1.279 MB / 0.5769 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3843, allocations: 7.938 kB / 0.5769 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.3845, allocations: 63.91 kB / 0.577 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.3845, allocations: 8 kB / 0.577 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.3845, allocations: 20 kB / 0.577 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.3845, allocations: 8.234 kB / 0.577 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.3846, allocations: 11.94 kB / 0.577 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3856, allocations: 0.8279 MB / 0.5778 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.3858, allocations: 119.4 kB / 0.578 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.3859, allocations: 16 kB / 0.578 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.3862, allocations: 15.98 kB / 0.578 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.873e-05/0.3863, allocations: 43.88 kB / 0.578 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.3863, allocations: 23.98 kB / 0.5781 GB, free: 3.137 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008441/0.3872, allocations: 0.7177 MB / 0.5788 GB, free: 2.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3872, allocations: 384 / 0.5788 GB, free: 2.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005649/0.3877, allocations: 95.94 kB / 0.5788 GB, free: 2.332 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 (48): * Single equations (assignments): 40 * 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.002368/0.3901, allocations: 0.5675 MB / 0.5794 GB, free: 2.004 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008269/0.3909, allocations: 323.2 kB / 0.5797 GB, free: 1.691 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3909, allocations: 4.062 kB / 0.5797 GB, free: 1.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.3913, allocations: 155.7 kB / 0.5799 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.3923, allocations: 132.5 kB / 0.58 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3944, allocations: 1.279 MB / 0.5812 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.3948, allocations: 318 kB / 0.5815 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.3949, allocations: 55.42 kB / 0.5816 GB, free: 15.68 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3949, allocations: 4 kB / 0.5816 GB, free: 15.68 MB / 430.1 MB Notification: Performance of Templates: time 0.01196/0.4069, allocations: 7.065 MB / 0.5885 GB, free: 8.633 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.48540973290801]