Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 175.9 kB / 16.76 MB, free: 4.93 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.663/1.663, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.000966/0.0009663, allocations: 78.44 kB / 271.3 MB, free: 8.258 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.4034/0.4034, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004308, allocations: 16 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1507, allocations: 58.84 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.386/0.5367, allocations: 87.72 MB / 0.5656 GB, free: 14.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.537, allocations: 79.95 kB / 0.5657 GB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0149/0.5519, allocations: 5.29 MB / 0.5709 GB, free: 8.789 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.552, allocations: 0 / 0.5709 GB, free: 8.789 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.552, allocations: 0 / 0.5709 GB, free: 8.789 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006014/0.5526, allocations: 418 kB / 0.5713 GB, free: 8.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5527, allocations: 8.031 kB / 0.5713 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.5527, allocations: 12.84 kB / 0.5713 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.5531, allocations: 219.1 kB / 0.5715 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.5531, allocations: 4.375 kB / 0.5715 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.5531, allocations: 384 / 0.5715 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.5533, allocations: 63.34 kB / 0.5716 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5533, allocations: 4.188 kB / 0.5716 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5533, allocations: 3.938 kB / 0.5716 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5534, allocations: 3.984 kB / 0.5716 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.5534, allocations: 19.98 kB / 0.5716 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.5539, allocations: 292.9 kB / 0.5719 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.5541, allocations: 62.55 kB / 0.5719 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.5542, allocations: 24.84 kB / 0.572 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.5542, allocations: 7.938 kB / 0.572 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.5543, allocations: 68.52 kB / 0.572 GB, free: 7.441 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.5544, allocations: 0 / 0.572 GB, free: 7.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006031/0.555, allocations: 174.9 kB / 0.5722 GB, free: 7.266 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.555, allocations: 51.41 kB / 0.5722 GB, free: 7.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.5552, allocations: 186.2 kB / 0.5724 GB, free: 7.012 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.5552, allocations: 25.7 kB / 0.5724 GB, free: 6.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.5553, allocations: 100.1 kB / 0.5725 GB, free: 6.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.5554, allocations: 31.62 kB / 0.5726 GB, free: 6.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.5554, allocations: 4 kB / 0.5726 GB, free: 6.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5555, allocations: 330.8 kB / 0.5729 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.5556, allocations: 16 kB / 0.5729 GB, free: 6.496 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.5557, allocations: 42.39 kB / 0.5729 GB, free: 6.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.5558, allocations: 58.48 kB / 0.573 GB, free: 6.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5558, allocations: 0 / 0.573 GB, free: 6.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.556, allocations: 113.4 kB / 0.5731 GB, free: 6.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.556, allocations: 4 kB / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.556, allocations: 0 / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5561, allocations: 192 / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.5562, allocations: 19.98 kB / 0.5731 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.5562, allocations: 4.094 kB / 0.5731 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.5562, allocations: 4 kB / 0.5731 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.5563, allocations: 384 / 0.5731 GB, free: 6.238 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001247/0.5564, allocations: 141.4 kB / 0.5733 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.5564, allocations: 11.91 kB / 0.5733 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.5567, allocations: 122.3 kB / 0.5734 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.5567, allocations: 0 / 0.5734 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5567, allocations: 4 kB / 0.5734 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5567, allocations: 0 / 0.5734 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.5572, allocations: 411.2 kB / 0.5738 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5572, allocations: 8.031 kB / 0.5738 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.5573, allocations: 11.98 kB / 0.5738 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.5573, allocations: 0 / 0.5738 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.5573, allocations: 0 / 0.5738 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5573, allocations: 4 kB / 0.5738 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.5573, allocations: 3.938 kB / 0.5738 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.5576, allocations: 212.1 kB / 0.574 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.5577, allocations: 97 kB / 0.5741 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.5577, allocations: 4 kB / 0.5741 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.5578, allocations: 7.984 kB / 0.5741 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.5578, allocations: 7.938 kB / 0.5741 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.5578, allocations: 4 kB / 0.5741 GB, free: 5.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.558, allocations: 144.8 kB / 0.5743 GB, free: 4.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.558, allocations: 0 / 0.5743 GB, free: 4.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.5583, allocations: 39.92 kB / 0.5743 GB, free: 4.918 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001111/0.5594, allocations: 478 kB / 0.5748 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.5596, allocations: 63.86 kB / 0.5748 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5596, allocations: 0 / 0.5748 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.5597, allocations: 36.05 kB / 0.5749 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.56, allocations: 23.97 kB / 0.5749 GB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.5605, allocations: 256.8 kB / 0.5751 GB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.5609, allocations: 0.7082 MB / 0.5758 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.357e-05/0.5609, allocations: 16.84 kB / 0.5758 GB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.561, allocations: 19.42 kB / 0.5759 GB, free: 3.383 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.561, allocations: 0 / 0.5759 GB, free: 3.383 MB / 394.7 MB Notification: Performance of Templates: time 0.004534/0.5655, allocations: 1.696 MB / 0.5775 GB, free: 1.703 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches