Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.00119, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 79.88 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5548/0.5568, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003361/0.5602, allocations: 1.69 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.562, allocations: 0.9988 MB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.5621, allocations: 0 / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.5625, allocations: 55 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.5629, allocations: 105.8 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.5631, allocations: 69.61 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.5633, allocations: 99.56 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.558e-05/0.5633, allocations: 4.359 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.5634, allocations: 42.86 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.5635, allocations: 33.47 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.5636, allocations: 4.125 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.5637, allocations: 32.61 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.5637, allocations: 29.48 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.5638, allocations: 45.28 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.5641, allocations: 120 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5641, allocations: 1.375 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5641, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.5641, allocations: 0 / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006331/0.5647, allocations: 446.2 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.5648, allocations: 9.625 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.5649, allocations: 14.33 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.5651, allocations: 228.2 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.5652, allocations: 1.75 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.5652, allocations: 9.484 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.5653, allocations: 47.3 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5654, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5654, allocations: 4 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5654, allocations: 5.375 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.334e-05/0.5655, allocations: 20.11 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.5657, allocations: 191.5 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.5659, allocations: 50.91 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.513e-05/0.566, allocations: 25.97 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.5661, allocations: 0 / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.5663, allocations: 68.64 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.5663, allocations: 0 / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003965/0.5667, allocations: 97.23 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.5668, allocations: 56.73 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.5672, allocations: 270.6 kB / 0.5358 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.5672, allocations: 31.3 kB / 0.5358 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.5673, allocations: 115.1 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.5674, allocations: 14.09 kB / 0.5359 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.5675, allocations: 18.81 kB / 0.536 GB, free: 9.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.5677, allocations: 331.5 kB / 0.5363 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.5678, allocations: 11.78 kB / 0.5363 GB, free: 9.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.474e-05/0.5679, allocations: 31.86 kB / 0.5363 GB, free: 9.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.568, allocations: 47.64 kB / 0.5364 GB, free: 9.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.568, allocations: 0 / 0.5364 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002028/0.5683, allocations: 93.34 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.5683, allocations: 4.656 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5683, allocations: 1.188 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.5683, allocations: 1.156 kB / 0.5365 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.5685, allocations: 16.92 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.5685, allocations: 1.281 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.5685, allocations: 9.641 kB / 0.5365 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.5686, allocations: 6.188 kB / 0.5365 GB, free: 9.016 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001853/0.5687, allocations: 140 kB / 0.5366 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.5688, allocations: 13.62 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.5689, allocations: 20.92 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5689, allocations: 1.188 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5689, allocations: 0 / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5689, allocations: 0 / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.5692, allocations: 199.7 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5692, allocations: 3.938 kB / 0.5368 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.5692, allocations: 7.5 kB / 0.5369 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5692, allocations: 3.938 kB / 0.5369 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.5693, allocations: 5.219 kB / 0.5369 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5693, allocations: 5.141 kB / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5693, allocations: 0 / 0.5369 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.5695, allocations: 106.9 kB / 0.537 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.5696, allocations: 93.06 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.5697, allocations: 5.062 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.5697, allocations: 6.062 kB / 0.5371 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.5698, allocations: 1.719 kB / 0.5371 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.5698, allocations: 6.016 kB / 0.5371 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.5701, allocations: 198.6 kB / 0.5373 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5701, allocations: 0 / 0.5373 GB, free: 8.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.5703, allocations: 18.44 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001309/0.5716, allocations: 414.7 kB / 0.5377 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.5719, allocations: 46.94 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5719, allocations: 0 / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/0.572, allocations: 19.78 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.5723, allocations: 39.55 kB / 0.5378 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.573, allocations: 258.8 kB / 0.538 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.5734, allocations: 0.715 MB / 0.5387 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.077e-05/0.5735, allocations: 16.3 kB / 0.5387 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.5735, allocations: 14.19 kB / 0.5388 GB, free: 7.098 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5735, allocations: 0 / 0.5388 GB, free: 7.098 MB / 398.1 MB Notification: Performance of Templates: time 0.005276/0.5788, allocations: 1.549 MB / 0.5403 GB, free: 6.305 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches