Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001515, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008302/0.0008302, allocations: 95.17 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3931/0.3931, allocations: 44.81 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003012, allocations: 8 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4077, allocations: 62.95 MB / 0.5184 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.5433, allocations: 90.65 MB / 0.607 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004284/0.5438, allocations: 83.94 kB / 0.607 GB, free: 14.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02128/0.5651, allocations: 6.816 MB / 0.6137 GB, free: 7.734 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5652, allocations: 0 / 0.6137 GB, free: 7.734 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.5652, allocations: 0 / 0.6137 GB, free: 7.734 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000823/0.566, allocations: 486.5 kB / 0.6142 GB, free: 7.207 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.5661, allocations: 8.031 kB / 0.6142 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.593e-05/0.5662, allocations: 12.84 kB / 0.6142 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.5666, allocations: 248.8 kB / 0.6144 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.5667, allocations: 4.375 kB / 0.6144 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.5667, allocations: 384 / 0.6144 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.5669, allocations: 58.17 kB / 0.6145 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.5669, allocations: 192 / 0.6145 GB, free: 6.836 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.5669, allocations: 7.938 kB / 0.6145 GB, free: 6.828 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5669, allocations: 0 / 0.6145 GB, free: 6.828 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.567, allocations: 23.98 kB / 0.6145 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.5675, allocations: 308.9 kB / 0.6148 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.5677, allocations: 62.56 kB / 0.6149 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.5678, allocations: 24.84 kB / 0.6149 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.5678, allocations: 0 / 0.6149 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.568, allocations: 71.3 kB / 0.6149 GB, free: 6.273 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.568, allocations: 0 / 0.6149 GB, free: 6.273 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007095/0.5687, allocations: 185.4 kB / 0.6151 GB, free: 6.086 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.5688, allocations: 55.39 kB / 0.6152 GB, free: 6.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.5692, allocations: 271.9 kB / 0.6154 GB, free: 5.742 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.5693, allocations: 25.7 kB / 0.6155 GB, free: 5.711 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.5694, allocations: 120 kB / 0.6156 GB, free: 5.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.5695, allocations: 15.81 kB / 0.6156 GB, free: 5.574 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.5695, allocations: 0 / 0.6156 GB, free: 5.574 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.5697, allocations: 338.8 kB / 0.6159 GB, free: 5.234 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.5698, allocations: 23.94 kB / 0.6159 GB, free: 5.211 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/0.5699, allocations: 37.64 kB / 0.616 GB, free: 5.168 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.57, allocations: 65.69 kB / 0.616 GB, free: 5.098 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.57, allocations: 0 / 0.616 GB, free: 5.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000243/0.5703, allocations: 109.4 kB / 0.6161 GB, free: 4.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5703, allocations: 4 kB / 0.6161 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5703, allocations: 128 / 0.6161 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5704, allocations: 4 kB / 0.6161 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.5705, allocations: 19.98 kB / 0.6162 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5705, allocations: 0 / 0.6162 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.5706, allocations: 11.91 kB / 0.6162 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.5706, allocations: 4 kB / 0.6162 GB, free: 4.941 MB / 426.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.0001718/0.5708, allocations: 141.7 kB / 0.6163 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.5708, allocations: 19.84 kB / 0.6163 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.5711, allocations: 119.2 kB / 0.6165 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.5712, allocations: 7.922 kB / 0.6165 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.5712, allocations: 4 kB / 0.6165 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5712, allocations: 0 / 0.6165 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006743/0.5719, allocations: 443.2 kB / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5719, allocations: 0 / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.5719, allocations: 16.03 kB / 0.6169 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.572, allocations: 0 / 0.6169 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.572, allocations: 0 / 0.6169 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.572, allocations: 4 kB / 0.6169 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.572, allocations: 7.922 kB / 0.6169 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.5723, allocations: 208.1 kB / 0.6171 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.5724, allocations: 104.9 kB / 0.6172 GB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.5724, allocations: 4 kB / 0.6172 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.5725, allocations: 8 kB / 0.6172 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.5726, allocations: 11.92 kB / 0.6172 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.5726, allocations: 4 kB / 0.6172 GB, free: 3.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002052/0.5728, allocations: 196.6 kB / 0.6174 GB, free: 3.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5728, allocations: 4 kB / 0.6174 GB, free: 3.555 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003042/0.5731, allocations: 36 kB / 0.6175 GB, free: 3.52 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: 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.001434/0.5745, allocations: 477.9 kB / 0.6179 GB, free: 3.207 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.5749, allocations: 55.98 kB / 0.618 GB, free: 3.152 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5749, allocations: 0 / 0.618 GB, free: 3.152 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.575, allocations: 35.98 kB / 0.618 GB, free: 3.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.5756, allocations: 33.12 kB / 0.618 GB, free: 3.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.5764, allocations: 322.9 kB / 0.6183 GB, free: 2.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.5767, allocations: 0.7238 MB / 0.6191 GB, free: 1.996 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.95e-05/0.5768, allocations: 20.55 kB / 0.6191 GB, free: 1.977 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.5769, allocations: 19.44 kB / 0.6191 GB, free: 1.957 MB / 426.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5769, allocations: 7.938 kB / 0.6191 GB, free: 1.949 MB / 426.7 MB Notification: Performance of Templates: time 0.005644/0.5825, allocations: 1.869 MB / 0.6209 GB, free: 92 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches