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.001531/0.001531, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002087/0.002087, allocations: 210.7 kB / 24.48 MB, free: 3.941 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.56/1.56, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.235/0.235, allocations: 46.97 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 179] 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.002078/0.002078, allocations: 68.05 kB / 0.4974 GB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4371, allocations: 66.03 MB / 0.5619 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004779/0.4418, allocations: 2.177 MB / 0.564 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.4448, allocations: 1.267 MB / 0.5653 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.445, allocations: 7.938 kB / 0.5653 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.4456, allocations: 139.3 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007358/0.4463, allocations: 262.9 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.4469, allocations: 191.6 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006798/0.4475, allocations: 474.6 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.4478, allocations: 56.83 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.4483, allocations: 331 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.4485, allocations: 171.1 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.077e-05/0.4486, allocations: 20 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.4488, allocations: 79.95 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.4492, allocations: 159.3 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.4494, allocations: 146.8 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008841/0.4503, allocations: 0.4884 MB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4503, allocations: 0 / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4503, allocations: 0 / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.4503, allocations: 0 / 0.5677 GB, free: 14.18 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.001327/0.4517, allocations: 0.8418 MB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4517, allocations: 8.031 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.4518, allocations: 72.47 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.4525, allocations: 371.1 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4525, allocations: 8.375 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.4526, allocations: 24.08 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.4531, allocations: 205.4 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.4531, allocations: 3.984 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.4531, allocations: 4 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.4531, allocations: 4 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.4534, allocations: 103.9 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.4546, allocations: 0.7467 MB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007601/0.4554, allocations: 242.5 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.4556, allocations: 87.45 kB / 0.5703 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.4556, allocations: 8 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004062/0.456, allocations: 208.2 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.456, allocations: 0 / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002889/0.4589, allocations: 1.222 MB / 0.5717 GB, free: 9.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.459, allocations: 136.5 kB / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.4603, allocations: 0.977 MB / 0.5728 GB, free: 8.695 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.4604, allocations: 41.7 kB / 0.5728 GB, free: 8.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.4606, allocations: 285 kB / 0.5731 GB, free: 8.367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.4608, allocations: 150.8 kB / 0.5733 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.4609, allocations: 78.08 kB / 0.5733 GB, free: 8.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4611, allocations: 325.9 kB / 0.5736 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.4613, allocations: 120.8 kB / 0.5738 GB, free: 7.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.4617, allocations: 187.2 kB / 0.5739 GB, free: 7.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005847/0.4622, allocations: 326.7 kB / 0.5742 GB, free: 7.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4622, allocations: 0 / 0.5742 GB, free: 7.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008519/0.4631, allocations: 456.8 kB / 0.5747 GB, free: 6.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4631, allocations: 8 kB / 0.5747 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4631, allocations: 0 / 0.5747 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.4632, allocations: 8.125 kB / 0.5747 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.4635, allocations: 87.89 kB / 0.5748 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4635, allocations: 7.938 kB / 0.5748 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.4636, allocations: 23.98 kB / 0.5748 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.4637, allocations: 23.94 kB / 0.5748 GB, free: 6.535 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.0003267/0.464, allocations: 256.1 kB / 0.5751 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.4641, allocations: 83.47 kB / 0.5752 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.4652, allocations: 0.5425 MB / 0.5757 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.4652, allocations: 8 kB / 0.5757 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4652, allocations: 0 / 0.5757 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4652, allocations: 0 / 0.5757 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.4671, allocations: 1.275 MB / 0.5769 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.4671, allocations: 4.25 kB / 0.5769 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.4673, allocations: 71.84 kB / 0.577 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.4673, allocations: 4 kB / 0.577 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.4673, allocations: 19.98 kB / 0.577 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4673, allocations: 4 kB / 0.577 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.4674, allocations: 4 kB / 0.577 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4684, allocations: 0.8357 MB / 0.5779 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.4687, allocations: 115.4 kB / 0.578 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.4687, allocations: 12 kB / 0.578 GB, free: 3.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.469, allocations: 23.98 kB / 0.578 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.4691, allocations: 43.81 kB / 0.578 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.4691, allocations: 27.98 kB / 0.5781 GB, free: 3.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008309/0.47, allocations: 0.7138 MB / 0.5788 GB, free: 2.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.47, allocations: 0 / 0.5788 GB, free: 2.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005408/0.4705, allocations: 91.92 kB / 0.5789 GB, free: 2.281 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.002174/0.4727, allocations: 0.5668 MB / 0.5794 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.4734, allocations: 318.7 kB / 0.5797 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4734, allocations: 3.938 kB / 0.5797 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.4737, allocations: 155.7 kB / 0.5799 GB, free: 1.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009817/0.4747, allocations: 149.9 kB / 0.58 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.4765, allocations: 1.234 MB / 0.5812 GB, free: 60 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.4769, allocations: 322 kB / 0.5815 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.4771, allocations: 75.25 kB / 0.5816 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.4772, allocations: 51.42 kB / 0.5816 GB, free: 15.6 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4772, allocations: 0 / 0.5816 GB, free: 15.6 MB / 430.1 MB Notification: Performance of Templates: time 0.01306/0.4903, allocations: 6.371 MB / 0.5879 GB, free: 9.316 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 -s cvode -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: 5.5370307760022115]