Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 197.2 kB / 18.1 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007632/0.0007631, allocations: 91.09 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3366/0.3366, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3957, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.5247, allocations: 90.65 MB / 0.607 GB, free: 14.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5251, allocations: 71.95 kB / 0.607 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01849/0.5436, allocations: 6.67 MB / 0.6135 GB, free: 7.898 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.658e-06/0.5436, allocations: 4 kB / 0.6135 GB, free: 7.895 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.5436, allocations: 8 kB / 0.6135 GB, free: 7.887 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.0007012/0.5444, allocations: 462.7 kB / 0.614 GB, free: 7.383 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.5444, allocations: 8.031 kB / 0.614 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.5445, allocations: 16.75 kB / 0.614 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.5449, allocations: 237.5 kB / 0.6142 GB, free: 7.086 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.5449, allocations: 384 / 0.6142 GB, free: 7.086 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.545, allocations: 4.375 kB / 0.6142 GB, free: 7.082 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.5451, allocations: 58.23 kB / 0.6143 GB, free: 7.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5452, allocations: 192 / 0.6143 GB, free: 7.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5452, allocations: 3.938 kB / 0.6143 GB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5452, allocations: 0 / 0.6143 GB, free: 7.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.5453, allocations: 27.97 kB / 0.6143 GB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.5458, allocations: 300.9 kB / 0.6146 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.546, allocations: 62.62 kB / 0.6147 GB, free: 6.574 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.501e-05/0.5461, allocations: 24.83 kB / 0.6147 GB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.5461, allocations: 0 / 0.6147 GB, free: 6.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.5463, allocations: 67.39 kB / 0.6148 GB, free: 6.469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.5463, allocations: 0 / 0.6148 GB, free: 6.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006982/0.547, allocations: 185 kB / 0.6149 GB, free: 6.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.5471, allocations: 59.39 kB / 0.615 GB, free: 6.211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.5474, allocations: 230.9 kB / 0.6152 GB, free: 5.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.5474, allocations: 33.64 kB / 0.6152 GB, free: 5.941 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.5475, allocations: 108.1 kB / 0.6154 GB, free: 5.832 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.5475, allocations: 23.7 kB / 0.6154 GB, free: 5.809 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.5475, allocations: 0 / 0.6154 GB, free: 5.809 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5477, allocations: 334.8 kB / 0.6157 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.501e-05/0.5477, allocations: 19.92 kB / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.5478, allocations: 45.64 kB / 0.6158 GB, free: 5.402 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.5479, allocations: 57.7 kB / 0.6158 GB, free: 5.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.5479, allocations: 0 / 0.6158 GB, free: 5.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.5481, allocations: 105.4 kB / 0.6159 GB, free: 5.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.5482, allocations: 8 kB / 0.6159 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5482, allocations: 0 / 0.6159 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5482, allocations: 0 / 0.6159 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.5483, allocations: 23.95 kB / 0.6159 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.5483, allocations: 4 kB / 0.6159 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.5484, allocations: 384 / 0.6159 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.5484, allocations: 4 kB / 0.6159 GB, free: 5.191 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.0001104/0.5485, allocations: 133.8 kB / 0.6161 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.5485, allocations: 15.81 kB / 0.6161 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.5488, allocations: 126.9 kB / 0.6162 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5489, allocations: 8 kB / 0.6162 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5489, allocations: 0 / 0.6162 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5489, allocations: 4 kB / 0.6162 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.5494, allocations: 431.4 kB / 0.6166 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5494, allocations: 0 / 0.6166 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.5495, allocations: 8 kB / 0.6166 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.5495, allocations: 3.984 kB / 0.6166 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.5495, allocations: 4 kB / 0.6167 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5495, allocations: 4.031 kB / 0.6167 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5495, allocations: 3.938 kB / 0.6167 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.5498, allocations: 212.1 kB / 0.6169 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.5499, allocations: 97.28 kB / 0.617 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.5499, allocations: 8 kB / 0.617 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.55, allocations: 0 / 0.617 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.55, allocations: 15.92 kB / 0.617 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.5501, allocations: 11.88 kB / 0.617 GB, free: 4.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.5502, allocations: 180.3 kB / 0.6172 GB, free: 3.844 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5502, allocations: 0 / 0.6172 GB, free: 3.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002854/0.5505, allocations: 35.98 kB / 0.6172 GB, free: 3.809 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.001014/0.5515, allocations: 463.4 kB / 0.6176 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.5517, allocations: 71.83 kB / 0.6177 GB, free: 3.441 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5517, allocations: 0 / 0.6177 GB, free: 3.441 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.151e-05/0.5518, allocations: 31.98 kB / 0.6177 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.5522, allocations: 19.98 kB / 0.6178 GB, free: 3.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.5527, allocations: 302.5 kB / 0.618 GB, free: 3.066 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.5531, allocations: 0.716 MB / 0.6187 GB, free: 2.324 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.096e-05/0.5532, allocations: 12.88 kB / 0.6188 GB, free: 2.312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.5532, allocations: 23.42 kB / 0.6188 GB, free: 2.289 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5532, allocations: 0 / 0.6188 GB, free: 2.289 MB / 426.7 MB Notification: Performance of Templates: time 0.004528/0.5578, allocations: 1.799 MB / 0.6205 GB, free: 0.5078 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches