Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 113.2 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 184.2 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.17 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.89 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4342, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004244/0.4385, allocations: 2.229 MB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.4407, allocations: 1.186 MB / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.4409, allocations: 7.312 kB / 0.5224 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.4413, allocations: 140.6 kB / 0.5225 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.4418, allocations: 200.6 kB / 0.5227 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.4426, allocations: 319.5 kB / 0.523 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000489/0.4431, allocations: 427.4 kB / 0.5234 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.4432, allocations: 57.55 kB / 0.5234 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.4436, allocations: 320.2 kB / 0.5238 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.4438, allocations: 155.7 kB / 0.5239 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.4439, allocations: 19.41 kB / 0.5239 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.4441, allocations: 65.48 kB / 0.524 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.4442, allocations: 153.2 kB / 0.5241 GB, free: 496 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.4444, allocations: 198.5 kB / 0.5243 GB, free: 344 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000484/0.4449, allocations: 458.9 kB / 0.5248 GB, free: 144 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4449, allocations: 2.406 kB / 0.5248 GB, free: 144 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4449, allocations: 0 / 0.5248 GB, free: 144 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.4449, allocations: 3.938 kB / 0.5248 GB, free: 140 kB / 382.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.4461, allocations: 0.8704 MB / 0.5256 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.4462, allocations: 9.625 kB / 0.5256 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.4463, allocations: 71.14 kB / 0.5257 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.447, allocations: 423.6 kB / 0.5261 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.4471, allocations: 10.14 kB / 0.5261 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.4471, allocations: 27.16 kB / 0.5261 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.4477, allocations: 200.4 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.4477, allocations: 2.406 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.4477, allocations: 6.312 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.4477, allocations: 3.406 kB / 0.5263 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.448, allocations: 101.3 kB / 0.5264 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.4492, allocations: 0.8137 MB / 0.5272 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007389/0.45, allocations: 256.7 kB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.4502, allocations: 90.2 kB / 0.5276 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.4503, allocations: 3.219 kB / 0.5276 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004414/0.4507, allocations: 210.4 kB / 0.5278 GB, free: 13.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.754e-06/0.4507, allocations: 0 / 0.5278 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002616/0.4533, allocations: 1.142 MB / 0.5289 GB, free: 13.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.4535, allocations: 142.1 kB / 0.529 GB, free: 12.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4546, allocations: 0.9185 MB / 0.5299 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.4547, allocations: 38.52 kB / 0.5299 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.455, allocations: 265.2 kB / 0.5302 GB, free: 12.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.4551, allocations: 143 kB / 0.5303 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.4553, allocations: 78.94 kB / 0.5304 GB, free: 12.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.4555, allocations: 383.5 kB / 0.5308 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.4558, allocations: 116.2 kB / 0.5309 GB, free: 11.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.4561, allocations: 178.5 kB / 0.5311 GB, free: 11.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/0.4568, allocations: 314.3 kB / 0.5314 GB, free: 11.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4568, allocations: 4 kB / 0.5314 GB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007391/0.4575, allocations: 442.9 kB / 0.5318 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4575, allocations: 6.031 kB / 0.5318 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4576, allocations: 1.625 kB / 0.5318 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4576, allocations: 8.594 kB / 0.5318 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.4578, allocations: 92.33 kB / 0.5319 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4579, allocations: 3.938 kB / 0.5319 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.458, allocations: 28.2 kB / 0.5319 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.4581, allocations: 16.47 kB / 0.5319 GB, free: 11.03 MB / 398.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.000288/0.4584, allocations: 248.5 kB / 0.5322 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.4585, allocations: 71.97 kB / 0.5322 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.4586, allocations: 87.98 kB / 0.5323 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.4586, allocations: 4.625 kB / 0.5323 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4587, allocations: 5.438 kB / 0.5323 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4587, allocations: 9.391 kB / 0.5323 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.4604, allocations: 1.321 MB / 0.5336 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.4604, allocations: 2.219 kB / 0.5336 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.4606, allocations: 63.44 kB / 0.5337 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4606, allocations: 4.125 kB / 0.5337 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.4606, allocations: 17.55 kB / 0.5337 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4606, allocations: 3.781 kB / 0.5337 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.4606, allocations: 7.406 kB / 0.5337 GB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009079/0.4615, allocations: 0.7907 MB / 0.5345 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.4617, allocations: 178.2 kB / 0.5347 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.4618, allocations: 12.19 kB / 0.5347 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.4621, allocations: 19.39 kB / 0.5347 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.4622, allocations: 42.27 kB / 0.5347 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/0.4622, allocations: 25.75 kB / 0.5348 GB, free: 8.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007794/0.463, allocations: 0.6761 MB / 0.5354 GB, free: 8.547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.463, allocations: 1.031 kB / 0.5354 GB, free: 8.547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005447/0.4636, allocations: 87.02 kB / 0.5355 GB, free: 8.527 MB / 398.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.0012/0.4648, allocations: 0.5322 MB / 0.536 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.4654, allocations: 322 kB / 0.5363 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4654, allocations: 0 / 0.5363 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.4657, allocations: 162.2 kB / 0.5365 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.4667, allocations: 133.9 kB / 0.5366 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.4687, allocations: 1.171 MB / 0.5378 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.4693, allocations: 0.9059 MB / 0.5386 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.4695, allocations: 81.03 kB / 0.5387 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.4697, allocations: 56.16 kB / 0.5388 GB, free: 6.438 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4697, allocations: 0 / 0.5388 GB, free: 6.438 MB / 398.1 MB Notification: Performance of Templates: time 0.01048/0.4802, allocations: 5.43 MB / 0.5441 GB, free: 2.035 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches