Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009511/0.0009511, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008161/0.0008162, allocations: 88.47 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3413/0.3413, allocations: 43.47 MB / 358.6 MB, free: 51.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.216e-05, allocations: 4 kB / 425.3 MB, free: 8.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 58.85 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3871/0.5138, allocations: 87.93 MB / 0.5587 GB, free: 16.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.5141, allocations: 77.95 kB / 0.5588 GB, free: 16.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0259/0.54, allocations: 11 MB / 0.5695 GB, free: 8.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.54, allocations: 0 / 0.5695 GB, free: 8.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.07e-05/0.54, allocations: 8 kB / 0.5695 GB, free: 8.391 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007148/0.5408, allocations: 0.641 MB / 0.5701 GB, free: 7.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5408, allocations: 12.03 kB / 0.5702 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.5409, allocations: 54.78 kB / 0.5702 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.5416, allocations: 425.4 kB / 0.5706 GB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.5416, allocations: 11.86 kB / 0.5706 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.5417, allocations: 15.94 kB / 0.5706 GB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.5419, allocations: 195.9 kB / 0.5708 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.542, allocations: 7.938 kB / 0.5708 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.542, allocations: 5.062 kB / 0.5708 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.542, allocations: 4 kB / 0.5708 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.5422, allocations: 98.52 kB / 0.5709 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.5429, allocations: 0.8951 MB / 0.5718 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.5432, allocations: 280.5 kB / 0.5721 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.5433, allocations: 89.97 kB / 0.5722 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.5434, allocations: 11.75 kB / 0.5722 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.5436, allocations: 225.8 kB / 0.5724 GB, free: 5.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.5436, allocations: 0 / 0.5724 GB, free: 5.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.001201/0.5448, allocations: 0.894 MB / 0.5733 GB, free: 4.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.5449, allocations: 158.2 kB / 0.5734 GB, free: 4.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.5454, allocations: 0.5513 MB / 0.574 GB, free: 4.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.5455, allocations: 44.62 kB / 0.574 GB, free: 4.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.5456, allocations: 220.5 kB / 0.5742 GB, free: 3.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.5456, allocations: 119.1 kB / 0.5743 GB, free: 3.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.5457, allocations: 7.188 kB / 0.5743 GB, free: 3.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.5457, allocations: 373.1 kB / 0.5747 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.5459, allocations: 90 kB / 0.5748 GB, free: 3.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.5461, allocations: 181.4 kB / 0.5749 GB, free: 3.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.5462, allocations: 112.5 kB / 0.575 GB, free: 3.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5462, allocations: 3.953 kB / 0.575 GB, free: 3.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000442/0.5467, allocations: 395.6 kB / 0.5754 GB, free: 2.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5467, allocations: 8 kB / 0.5754 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5467, allocations: 0 / 0.5754 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5467, allocations: 8 kB / 0.5754 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.547, allocations: 83.02 kB / 0.5755 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.547, allocations: 8.062 kB / 0.5755 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.5472, allocations: 29.08 kB / 0.5756 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.5472, allocations: 15.31 kB / 0.5756 GB, free: 2.781 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 8.878e-05/0.5473, allocations: 141.2 kB / 0.5757 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.5474, allocations: 63.28 kB / 0.5758 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006047/0.548, allocations: 466.6 kB / 0.5762 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.548, allocations: 4 kB / 0.5762 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.548, allocations: 8.938 kB / 0.5762 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5481, allocations: 0 / 0.5762 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.5492, allocations: 1.346 MB / 0.5775 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5492, allocations: 4 kB / 0.5775 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.5494, allocations: 59.34 kB / 0.5776 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.5494, allocations: 4 kB / 0.5776 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.5494, allocations: 27.11 kB / 0.5776 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5494, allocations: 7.938 kB / 0.5776 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5494, allocations: 3.953 kB / 0.5776 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.55, allocations: 0.9257 MB / 0.5785 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.5502, allocations: 166.2 kB / 0.5787 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.5503, allocations: 18.75 kB / 0.5787 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.5506, allocations: 22.86 kB / 0.5787 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.5507, allocations: 35.77 kB / 0.5788 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.5508, allocations: 19.67 kB / 0.5788 GB, free: 15.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005368/0.5513, allocations: 455.9 kB / 0.5792 GB, free: 15.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5513, allocations: 4 kB / 0.5792 GB, free: 15.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005263/0.5519, allocations: 102.1 kB / 0.5793 GB, free: 15.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001022/0.5529, allocations: 440.2 kB / 0.5798 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.5533, allocations: 295 kB / 0.58 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5534, allocations: 0 / 0.58 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.5536, allocations: 155.9 kB / 0.5802 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.5544, allocations: 123.1 kB / 0.5803 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.5555, allocations: 0.7138 MB / 0.581 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.556, allocations: 0.8734 MB / 0.5818 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.5562, allocations: 94.7 kB / 0.5819 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.5564, allocations: 53.11 kB / 0.582 GB, free: 12.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5564, allocations: 4 kB / 0.582 GB, free: 12.81 MB / 410.7 MB Notification: Performance of Templates: time 0.009672/0.5661, allocations: 5.701 MB / 0.5876 GB, free: 7.141 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches