Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009114/0.0009113, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 90.12 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3631/0.3631, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.000367, allocations: 12 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4213, allocations: 61.89 MB / 0.5096 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.55, allocations: 89.14 MB / 0.5966 GB, free: 5.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.5503, allocations: 79.94 kB / 0.5967 GB, free: 5.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01652/0.5669, allocations: 6.718 MB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5669, allocations: 7.938 kB / 0.6033 GB, free: 15.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.722e-05/0.567, allocations: 11.98 kB / 0.6033 GB, free: 15.16 MB / 426.7 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.0009604/0.5679, allocations: 0.7113 MB / 0.604 GB, free: 14.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.568, allocations: 8.562 kB / 0.604 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.5681, allocations: 51.42 kB / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.569, allocations: 483.1 kB / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.569, allocations: 7.938 kB / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.569, allocations: 4 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.5692, allocations: 91.28 kB / 0.6046 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5693, allocations: 4 kB / 0.6046 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.5693, allocations: 7.938 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5693, allocations: 4 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.5694, allocations: 31.97 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.5698, allocations: 374.4 kB / 0.605 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.5701, allocations: 121.2 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.5701, allocations: 0 / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.5704, allocations: 109.1 kB / 0.6052 GB, free: 12.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.5704, allocations: 0 / 0.6052 GB, free: 12.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004772/0.5709, allocations: 217.3 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.5709, allocations: 77.11 kB / 0.6055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.5722, allocations: 0.9394 MB / 0.6064 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.5722, allocations: 37.69 kB / 0.6064 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.5724, allocations: 224.1 kB / 0.6066 GB, free: 11.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.5724, allocations: 23.7 kB / 0.6067 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.5724, allocations: 4 kB / 0.6067 GB, free: 11.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5726, allocations: 370.8 kB / 0.607 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.5727, allocations: 27.98 kB / 0.6071 GB, free: 11.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-05/0.5728, allocations: 62.25 kB / 0.6071 GB, free: 10.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.552e-05/0.5729, allocations: 35.92 kB / 0.6071 GB, free: 10.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.5729, allocations: 4 kB / 0.6072 GB, free: 10.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002963/0.5732, allocations: 180.8 kB / 0.6073 GB, free: 10.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5732, allocations: 9.391 kB / 0.6073 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5732, allocations: 0 / 0.6073 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5732, allocations: 4 kB / 0.6073 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.5734, allocations: 16 kB / 0.6074 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.5734, allocations: 11.92 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.5735, allocations: 15.84 kB / 0.6074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.5735, allocations: 4 kB / 0.6074 GB, free: 10.68 MB / 426.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002162/0.5737, allocations: 221.8 kB / 0.6076 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.5738, allocations: 59.3 kB / 0.6076 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.5742, allocations: 197.6 kB / 0.6078 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5742, allocations: 4 kB / 0.6078 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5743, allocations: 0 / 0.6078 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.5743, allocations: 0 / 0.6078 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.5746, allocations: 385.7 kB / 0.6082 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5747, allocations: 0 / 0.6082 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.5747, allocations: 23.92 kB / 0.6082 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.5747, allocations: 4 kB / 0.6082 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.5747, allocations: 7.953 kB / 0.6082 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5748, allocations: 3.938 kB / 0.6082 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5748, allocations: 4 kB / 0.6083 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.5751, allocations: 226.9 kB / 0.6085 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.5755, allocations: 208.3 kB / 0.6087 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.5756, allocations: 4 kB / 0.6087 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.5757, allocations: 7.984 kB / 0.6087 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.5757, allocations: 11.98 kB / 0.6087 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.5758, allocations: 4 kB / 0.6087 GB, free: 9.223 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008426/0.5766, allocations: 0.7526 MB / 0.6094 GB, free: 8.473 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5766, allocations: 0 / 0.6094 GB, free: 8.473 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.5769, allocations: 83.98 kB / 0.6095 GB, free: 8.391 MB / 426.7 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.578, allocations: 433.2 kB / 0.6099 GB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.5783, allocations: 95.83 kB / 0.61 GB, free: 8.027 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5783, allocations: 0 / 0.61 GB, free: 8.027 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.5784, allocations: 43.92 kB / 0.6101 GB, free: 7.984 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.5788, allocations: 68.69 kB / 0.6101 GB, free: 7.918 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.5802, allocations: 0.987 MB / 0.6111 GB, free: 6.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.5807, allocations: 0.8624 MB / 0.6119 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.5808, allocations: 86.95 kB / 0.612 GB, free: 5.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.952e-05/0.5809, allocations: 39.44 kB / 0.612 GB, free: 5.883 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5809, allocations: 0 / 0.612 GB, free: 5.883 MB / 426.7 MB Notification: Performance of Templates: time 0.009356/0.5903, allocations: 4.592 MB / 0.6165 GB, free: 1.316 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches