Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001594, allocations: 117.2 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.001785/0.001785, allocations: 184.2 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.43/1.43, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2182/0.2182, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.89 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4518, allocations: 60.83 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003481/0.4553, allocations: 1.893 MB / 0.5209 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.457, allocations: 0.9888 MB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.4571, allocations: 6.219 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.4578, allocations: 250.4 kB / 0.5221 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004415/0.4583, allocations: 184.7 kB / 0.5222 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.4588, allocations: 184.2 kB / 0.5224 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.4591, allocations: 255.9 kB / 0.5227 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.4592, allocations: 27.11 kB / 0.5227 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.4594, allocations: 130.7 kB / 0.5228 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.4597, allocations: 183.2 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.4597, allocations: 8.094 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.4599, allocations: 67.3 kB / 0.5231 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.46, allocations: 62.91 kB / 0.5231 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.4601, allocations: 94.97 kB / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.4604, allocations: 240.6 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4604, allocations: 0 / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4604, allocations: 0 / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4604, allocations: 0 / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007252/0.4612, allocations: 0.5715 MB / 0.524 GB, free: 0.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4612, allocations: 10.3 kB / 0.524 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.4613, allocations: 34.22 kB / 0.524 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.4616, allocations: 282.7 kB / 0.5243 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.4616, allocations: 4 kB / 0.5243 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.4617, allocations: 21.33 kB / 0.5243 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.4619, allocations: 115.9 kB / 0.5244 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4619, allocations: 0 / 0.5244 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.4619, allocations: 1.938 kB / 0.5244 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.462, allocations: 5.344 kB / 0.5244 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4621, allocations: 46.02 kB / 0.5245 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.4627, allocations: 479.8 kB / 0.5249 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.4631, allocations: 124.1 kB / 0.5251 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.4632, allocations: 50.78 kB / 0.5251 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.4633, allocations: 2.844 kB / 0.5251 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.4635, allocations: 115.1 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.4635, allocations: 4 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001348/0.4649, allocations: 0.5077 MB / 0.5257 GB, free: 15.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.4649, allocations: 84.52 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.4655, allocations: 477.6 kB / 0.5263 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.4655, allocations: 33.31 kB / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.4656, allocations: 165.9 kB / 0.5265 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/0.4657, allocations: 73.03 kB / 0.5265 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.515e-05/0.4658, allocations: 41.27 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4659, allocations: 348.9 kB / 0.5269 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.4661, allocations: 53.89 kB / 0.5269 GB, free: 14.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.4662, allocations: 99.98 kB / 0.527 GB, free: 14.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.4665, allocations: 165.2 kB / 0.5272 GB, free: 14.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4665, allocations: 0 / 0.5272 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00042/0.4669, allocations: 234.6 kB / 0.5274 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.467, allocations: 9.719 kB / 0.5274 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.467, allocations: 1.688 kB / 0.5274 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.467, allocations: 1.219 kB / 0.5274 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.4672, allocations: 46.55 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4672, allocations: 6.75 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.4673, allocations: 10.95 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.4673, allocations: 7.531 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000154/0.4675, allocations: 165.2 kB / 0.5277 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.4675, allocations: 42.59 kB / 0.5277 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/0.4676, allocations: 40.69 kB / 0.5277 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4676, allocations: 2.75 kB / 0.5277 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4676, allocations: 5.375 kB / 0.5277 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4676, allocations: 3.984 kB / 0.5278 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009569/0.4686, allocations: 0.7364 MB / 0.5285 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4686, allocations: 6.469 kB / 0.5285 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.741e-05/0.4687, allocations: 34.83 kB / 0.5285 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4687, allocations: 2.625 kB / 0.5285 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.4688, allocations: 13.3 kB / 0.5285 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4688, allocations: 1.406 kB / 0.5285 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4688, allocations: 2.5 kB / 0.5285 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.4693, allocations: 426.1 kB / 0.5289 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.4693, allocations: 105.6 kB / 0.529 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.4694, allocations: 7.281 kB / 0.529 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4695, allocations: 12.27 kB / 0.5291 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.4696, allocations: 17.89 kB / 0.5291 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.4697, allocations: 12.5 kB / 0.5291 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004002/0.4701, allocations: 363.8 kB / 0.5294 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4701, allocations: 0 / 0.5294 GB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.4705, allocations: 51.52 kB / 0.5295 GB, free: 12.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001242/0.4717, allocations: 0.5091 MB / 0.53 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.4721, allocations: 158.8 kB / 0.5301 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4721, allocations: 4.125 kB / 0.5301 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.4723, allocations: 79.34 kB / 0.5302 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.4729, allocations: 56.14 kB / 0.5303 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.4739, allocations: 0.5853 MB / 0.5308 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.4743, allocations: 0.7882 MB / 0.5316 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.4744, allocations: 37.42 kB / 0.5316 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.4745, allocations: 32.64 kB / 0.5317 GB, free: 10.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4745, allocations: 0 / 0.5317 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Templates: time 0.007345/0.4818, allocations: 3.149 MB / 0.5347 GB, free: 9.398 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches