Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,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.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,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.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001108/0.001108, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2279/0.2279, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 71.88 kB / 470.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4298, allocations: 60.81 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004019/0.4338, allocations: 2.235 MB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.4359, allocations: 1.187 MB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.436, allocations: 7.531 kB / 0.5224 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.4365, allocations: 125.8 kB / 0.5225 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004654/0.437, allocations: 182.6 kB / 0.5226 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008418/0.4379, allocations: 320.3 kB / 0.523 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.4385, allocations: 422.1 kB / 0.5234 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.4387, allocations: 57.7 kB / 0.5234 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.4391, allocations: 290.7 kB / 0.5237 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.4393, allocations: 150.6 kB / 0.5238 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/0.4394, allocations: 14.78 kB / 0.5238 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.4396, allocations: 71.02 kB / 0.5239 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.4397, allocations: 126.3 kB / 0.524 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.4399, allocations: 184.7 kB / 0.5242 GB, free: 384 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.4404, allocations: 418.4 kB / 0.5246 GB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4404, allocations: 0 / 0.5246 GB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4404, allocations: 4 kB / 0.5246 GB, free: 196 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4404, allocations: 1.375 kB / 0.5246 GB, free: 196 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.001177/0.4416, allocations: 0.7936 MB / 0.5254 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4417, allocations: 10.06 kB / 0.5254 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4418, allocations: 58.41 kB / 0.5255 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.4424, allocations: 402.9 kB / 0.5258 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.4424, allocations: 14.73 kB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.4425, allocations: 20.41 kB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.4429, allocations: 190.2 kB / 0.5261 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.4429, allocations: 10.56 kB / 0.5261 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.4429, allocations: 2.734 kB / 0.5261 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.443, allocations: 3.281 kB / 0.5261 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.4432, allocations: 104.2 kB / 0.5262 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009181/0.4441, allocations: 0.7867 MB / 0.5269 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.4448, allocations: 248.7 kB / 0.5272 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.445, allocations: 94.02 kB / 0.5273 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.4451, allocations: 8.125 kB / 0.5273 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003792/0.4454, allocations: 206.3 kB / 0.5275 GB, free: 13.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.973e-06/0.4455, allocations: 0 / 0.5275 GB, free: 13.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002818/0.4483, allocations: 1.089 MB / 0.5285 GB, free: 13.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.4484, allocations: 141.7 kB / 0.5287 GB, free: 13.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.4497, allocations: 0.7576 MB / 0.5294 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.4497, allocations: 37.73 kB / 0.5294 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.45, allocations: 237 kB / 0.5297 GB, free: 12.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.4501, allocations: 139 kB / 0.5298 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.4503, allocations: 77.69 kB / 0.5299 GB, free: 12.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.4505, allocations: 371.9 kB / 0.5302 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.4508, allocations: 116.2 kB / 0.5303 GB, free: 11.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.4512, allocations: 179.2 kB / 0.5305 GB, free: 11.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.4518, allocations: 321.5 kB / 0.5308 GB, free: 11.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4518, allocations: 1.5 kB / 0.5308 GB, free: 11.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007728/0.4526, allocations: 438.5 kB / 0.5312 GB, free: 11.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4527, allocations: 13.03 kB / 0.5313 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4527, allocations: 2.875 kB / 0.5313 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.4527, allocations: 3.156 kB / 0.5313 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.453, allocations: 92.83 kB / 0.5313 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.453, allocations: 4.156 kB / 0.5313 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.4532, allocations: 27.67 kB / 0.5314 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.4532, allocations: 13.56 kB / 0.5314 GB, free: 11.32 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.0002877/0.4535, allocations: 232.3 kB / 0.5316 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.066e-05/0.4536, allocations: 64.47 kB / 0.5317 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.4537, allocations: 79.39 kB / 0.5317 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4537, allocations: 5.031 kB / 0.5318 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.4538, allocations: 2.156 kB / 0.5318 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4538, allocations: 4.938 kB / 0.5318 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.4557, allocations: 1.303 MB / 0.533 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.4557, allocations: 1.75 kB / 0.533 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.4558, allocations: 55.64 kB / 0.5331 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.4559, allocations: 3.656 kB / 0.5331 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.4559, allocations: 28.89 kB / 0.5331 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.4559, allocations: 5.156 kB / 0.5331 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.4559, allocations: 7.156 kB / 0.5331 GB, free: 10 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.457, allocations: 0.7746 MB / 0.5339 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.4572, allocations: 167.3 kB / 0.534 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.4573, allocations: 20.19 kB / 0.5341 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.4576, allocations: 16.08 kB / 0.5341 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.4576, allocations: 41.42 kB / 0.5341 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.4577, allocations: 17.28 kB / 0.5341 GB, free: 9.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00064/0.4583, allocations: 0.5516 MB / 0.5347 GB, free: 8.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4583, allocations: 1.188 kB / 0.5347 GB, free: 8.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005436/0.4589, allocations: 85.7 kB / 0.5348 GB, free: 8.91 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.001277/0.4602, allocations: 0.5338 MB / 0.5353 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000666/0.4609, allocations: 316.4 kB / 0.5356 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4609, allocations: 1.094 kB / 0.5356 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.4612, allocations: 166.6 kB / 0.5357 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.4622, allocations: 128.4 kB / 0.5359 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.4638, allocations: 1.017 MB / 0.5369 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.4643, allocations: 0.875 MB / 0.5377 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.4645, allocations: 86.41 kB / 0.5378 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.4646, allocations: 55.75 kB / 0.5378 GB, free: 6.906 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4646, allocations: 3.938 kB / 0.5378 GB, free: 6.902 MB / 398.1 MB Notification: Performance of Templates: time 0.01079/0.4754, allocations: 5.37 MB / 0.5431 GB, free: 3.031 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches