Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002225/0.002225, allocations: 203.5 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008194/0.0008194, allocations: 95.16 kB / 297.5 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4328/0.4328, allocations: 44.83 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3718, allocations: 62.96 MB / 0.5184 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.51, allocations: 90.47 MB / 0.6068 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/0.5105, allocations: 83.94 kB / 0.6069 GB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01793/0.5284, allocations: 6.645 MB / 0.6133 GB, free: 8.102 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5285, allocations: 4 kB / 0.6133 GB, free: 8.098 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.5285, allocations: 4 kB / 0.6134 GB, free: 8.094 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005804/0.5291, allocations: 466.6 kB / 0.6138 GB, free: 7.586 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5291, allocations: 8.031 kB / 0.6138 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.5292, allocations: 12.84 kB / 0.6138 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.5295, allocations: 244.8 kB / 0.614 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.5296, allocations: 384 / 0.614 GB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.5296, allocations: 4.375 kB / 0.6141 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.5297, allocations: 50.23 kB / 0.6141 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5298, allocations: 192 / 0.6141 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.5298, allocations: 7.938 kB / 0.6141 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5298, allocations: 3.938 kB / 0.6141 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.899e-05/0.5299, allocations: 15.98 kB / 0.6141 GB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.5302, allocations: 201.7 kB / 0.6143 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.5303, allocations: 54.61 kB / 0.6144 GB, free: 6.891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.5304, allocations: 24.84 kB / 0.6144 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.5304, allocations: 4 kB / 0.6144 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.5306, allocations: 63.33 kB / 0.6145 GB, free: 6.785 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.5306, allocations: 0 / 0.6145 GB, free: 6.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003337/0.5309, allocations: 109.4 kB / 0.6146 GB, free: 6.672 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.531, allocations: 51.41 kB / 0.6146 GB, free: 6.609 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.5313, allocations: 272 kB / 0.6149 GB, free: 6.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.5313, allocations: 25.7 kB / 0.6149 GB, free: 6.301 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.5314, allocations: 116.1 kB / 0.615 GB, free: 6.184 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.5314, allocations: 19.69 kB / 0.615 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.5314, allocations: 0 / 0.615 GB, free: 6.164 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5316, allocations: 330.8 kB / 0.6153 GB, free: 5.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.852e-05/0.5316, allocations: 16 kB / 0.6154 GB, free: 5.816 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.5317, allocations: 33.64 kB / 0.6154 GB, free: 5.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.531e-05/0.5318, allocations: 45.7 kB / 0.6154 GB, free: 5.727 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5318, allocations: 0 / 0.6154 GB, free: 5.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001526/0.532, allocations: 85.44 kB / 0.6155 GB, free: 5.637 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.532, allocations: 7.938 kB / 0.6155 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.532, allocations: 7.984 kB / 0.6155 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.532, allocations: 0 / 0.6155 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.5321, allocations: 8 kB / 0.6155 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.5321, allocations: 4.031 kB / 0.6155 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.5322, allocations: 11.94 kB / 0.6156 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5322, allocations: 4 kB / 0.6156 GB, free: 5.594 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 (7): * Single equations (assignments): 7 * 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.0001027/0.5323, allocations: 125.8 kB / 0.6157 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.5323, allocations: 19.75 kB / 0.6157 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.5325, allocations: 102.6 kB / 0.6158 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5326, allocations: 4 kB / 0.6158 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5326, allocations: 0 / 0.6158 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5326, allocations: 4 kB / 0.6158 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.5327, allocations: 210 kB / 0.616 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5328, allocations: 0 / 0.616 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.5328, allocations: 12 kB / 0.616 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5328, allocations: 3.938 kB / 0.616 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.5328, allocations: 4 kB / 0.616 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5328, allocations: 0 / 0.616 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5328, allocations: 0 / 0.616 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.533, allocations: 128.8 kB / 0.6161 GB, free: 4.914 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.5331, allocations: 96.92 kB / 0.6162 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.5331, allocations: 3.938 kB / 0.6162 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.5332, allocations: 7.984 kB / 0.6162 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.5332, allocations: 4 kB / 0.6163 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.5332, allocations: 0 / 0.6163 GB, free: 4.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.5334, allocations: 200.6 kB / 0.6164 GB, free: 4.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5334, allocations: 0 / 0.6164 GB, free: 4.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.5337, allocations: 31.92 kB / 0.6165 GB, free: 4.559 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009199/0.5346, allocations: 421 kB / 0.6169 GB, free: 4.285 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.5348, allocations: 47.92 kB / 0.6169 GB, free: 4.238 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5348, allocations: 0 / 0.6169 GB, free: 4.238 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.5349, allocations: 19.98 kB / 0.6169 GB, free: 4.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.5352, allocations: 23.98 kB / 0.617 GB, free: 4.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.5357, allocations: 302 kB / 0.6172 GB, free: 3.875 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.536, allocations: 0.7238 MB / 0.618 GB, free: 3.125 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.5361, allocations: 16.42 kB / 0.618 GB, free: 3.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.5361, allocations: 15.44 kB / 0.618 GB, free: 3.094 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5362, allocations: 0 / 0.618 GB, free: 3.094 MB / 426.7 MB Notification: Performance of Templates: time 0.004146/0.5403, allocations: 1.654 MB / 0.6196 GB, free: 1.453 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches