Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.88 kB / 481.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5405, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003911/0.5444, allocations: 1.832 MB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.5468, allocations: 1.096 MB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.5469, allocations: 1.375 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007046/0.5476, allocations: 304 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005355/0.5482, allocations: 255.7 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.5485, allocations: 104 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.549, allocations: 259.3 kB / 0.5348 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.5491, allocations: 17.75 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.5494, allocations: 132.9 kB / 0.5349 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.5498, allocations: 200.5 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.5498, allocations: 6.844 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.55, allocations: 50.61 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.5502, allocations: 147.1 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.5504, allocations: 147.7 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006176/0.5511, allocations: 376.2 kB / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5511, allocations: 5.656 kB / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5511, allocations: 0 / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.5511, allocations: 0 / 0.5358 GB, free: 10.19 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001477/0.5526, allocations: 0.7363 MB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.5527, allocations: 9.781 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.5528, allocations: 54.84 kB / 0.5366 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.5539, allocations: 456.5 kB / 0.537 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.5539, allocations: 1.688 kB / 0.5371 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.5539, allocations: 6.5 kB / 0.5371 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.5543, allocations: 92.03 kB / 0.5371 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.5543, allocations: 5.094 kB / 0.5372 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.5544, allocations: 0 / 0.5372 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.5544, allocations: 1.875 kB / 0.5372 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.5545, allocations: 31.16 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.5553, allocations: 374.4 kB / 0.5375 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.5557, allocations: 109.4 kB / 0.5376 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.5559, allocations: 42.64 kB / 0.5377 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.5559, allocations: 9.094 kB / 0.5377 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.5563, allocations: 111.4 kB / 0.5378 GB, free: 8.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.5563, allocations: 1.188 kB / 0.5378 GB, free: 8.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007198/0.557, allocations: 196.6 kB / 0.538 GB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.5571, allocations: 86.64 kB / 0.5381 GB, free: 8.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.5585, allocations: 1.053 MB / 0.5391 GB, free: 7.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.5585, allocations: 27.92 kB / 0.5391 GB, free: 7.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.5588, allocations: 238.3 kB / 0.5394 GB, free: 7.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.5588, allocations: 36.86 kB / 0.5394 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.5589, allocations: 25.69 kB / 0.5394 GB, free: 7.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.5591, allocations: 365.9 kB / 0.5398 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.5592, allocations: 30.78 kB / 0.5398 GB, free: 7.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.5594, allocations: 59.11 kB / 0.5398 GB, free: 7.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.5596, allocations: 94.88 kB / 0.5399 GB, free: 7.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5596, allocations: 3.938 kB / 0.5399 GB, free: 7.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004035/0.56, allocations: 167 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.56, allocations: 5.938 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5601, allocations: 1.25 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.5601, allocations: 1.188 kB / 0.5401 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.5602, allocations: 25.67 kB / 0.5401 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.5602, allocations: 5.219 kB / 0.5401 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.497e-05/0.5603, allocations: 8.719 kB / 0.5401 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.5604, allocations: 8.641 kB / 0.5402 GB, free: 6.898 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003595/0.5607, allocations: 222.3 kB / 0.5404 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/0.5608, allocations: 54.69 kB / 0.5404 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.5609, allocations: 63.38 kB / 0.5405 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5609, allocations: 1.312 kB / 0.5405 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.561, allocations: 0 / 0.5405 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.561, allocations: 5.531 kB / 0.5405 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.5614, allocations: 350.2 kB / 0.5408 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5614, allocations: 0 / 0.5408 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.5614, allocations: 10.75 kB / 0.5408 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5615, allocations: 1.188 kB / 0.5408 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.5615, allocations: 6.203 kB / 0.5408 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.5615, allocations: 5.125 kB / 0.5408 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5615, allocations: 0 / 0.5408 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.5619, allocations: 209.6 kB / 0.541 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.5621, allocations: 138.4 kB / 0.5412 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.5621, allocations: 6.375 kB / 0.5412 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.5622, allocations: 6.547 kB / 0.5412 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.5623, allocations: 13.05 kB / 0.5412 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.5623, allocations: 7.594 kB / 0.5412 GB, free: 6.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.5635, allocations: 0.7816 MB / 0.542 GB, free: 5.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5635, allocations: 4 kB / 0.542 GB, free: 5.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.5638, allocations: 44.81 kB / 0.542 GB, free: 5.684 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001122/0.5649, allocations: 399 kB / 0.5424 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.5652, allocations: 83.14 kB / 0.5425 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5652, allocations: 0 / 0.5425 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.5654, allocations: 43.33 kB / 0.5425 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.5659, allocations: 85.56 kB / 0.5426 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.5678, allocations: 0.8698 MB / 0.5434 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008903/0.5687, allocations: 0.8503 MB / 0.5443 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.5689, allocations: 62.94 kB / 0.5443 GB, free: 3.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/0.569, allocations: 31.44 kB / 0.5444 GB, free: 3.793 MB / 398.1 MB Notification: Performance of SimCode: time 3.396e-06/0.569, allocations: 0 / 0.5444 GB, free: 3.793 MB / 398.1 MB Notification: Performance of Templates: time 0.01002/0.579, allocations: 3.884 MB / 0.5482 GB, free: 15.92 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches