Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 196.2 kB / 18.1 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007842/0.0007842, allocations: 100.8 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4069/0.4069, allocations: 44.83 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002848, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3805, allocations: 62.97 MB / 0.5184 GB, free: 37.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.5121, allocations: 90.65 MB / 0.607 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.5124, allocations: 79.95 kB / 0.607 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01826/0.5307, allocations: 6.526 MB / 0.6134 GB, free: 8.012 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5307, allocations: 0 / 0.6134 GB, free: 8.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.5307, allocations: 4 kB / 0.6134 GB, free: 8.008 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.0006445/0.5314, allocations: 462.7 kB / 0.6139 GB, free: 7.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.5315, allocations: 12.03 kB / 0.6139 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.5315, allocations: 16.75 kB / 0.6139 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.5319, allocations: 225.7 kB / 0.6141 GB, free: 7.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.5319, allocations: 4.375 kB / 0.6141 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.5319, allocations: 384 / 0.6141 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.5321, allocations: 62.17 kB / 0.6142 GB, free: 7.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5321, allocations: 192 / 0.6142 GB, free: 7.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5321, allocations: 3.938 kB / 0.6142 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5321, allocations: 0 / 0.6142 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.5322, allocations: 27.97 kB / 0.6142 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.5326, allocations: 292.9 kB / 0.6145 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.5328, allocations: 66.55 kB / 0.6145 GB, free: 6.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.5329, allocations: 20.86 kB / 0.6146 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.5329, allocations: 0 / 0.6146 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.533, allocations: 75.38 kB / 0.6146 GB, free: 6.598 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.5331, allocations: 3.938 kB / 0.6146 GB, free: 6.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.5336, allocations: 181.1 kB / 0.6148 GB, free: 6.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.5336, allocations: 51.41 kB / 0.6149 GB, free: 6.348 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.5339, allocations: 210.9 kB / 0.6151 GB, free: 6.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.5339, allocations: 25.7 kB / 0.6151 GB, free: 6.102 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.534, allocations: 108.1 kB / 0.6152 GB, free: 5.992 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.534, allocations: 23.66 kB / 0.6152 GB, free: 5.969 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.534, allocations: 0 / 0.6152 GB, free: 5.969 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5341, allocations: 330.8 kB / 0.6155 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.5342, allocations: 23.92 kB / 0.6155 GB, free: 5.613 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.495e-05/0.5343, allocations: 45.62 kB / 0.6156 GB, free: 5.562 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.5344, allocations: 61.7 kB / 0.6156 GB, free: 5.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5344, allocations: 0 / 0.6156 GB, free: 5.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.5346, allocations: 105.5 kB / 0.6157 GB, free: 5.387 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5346, allocations: 4 kB / 0.6157 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5347, allocations: 0 / 0.6157 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5347, allocations: 4 kB / 0.6158 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.5348, allocations: 12 kB / 0.6158 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.5348, allocations: 0 / 0.6158 GB, free: 5.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.5348, allocations: 11.89 kB / 0.6158 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.5349, allocations: 4.031 kB / 0.6158 GB, free: 5.352 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.000102/0.535, allocations: 133.7 kB / 0.6159 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.535, allocations: 11.91 kB / 0.6159 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.5353, allocations: 123.2 kB / 0.616 GB, free: 5.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5353, allocations: 3.938 kB / 0.616 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5353, allocations: 0 / 0.616 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5353, allocations: 0 / 0.616 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.5358, allocations: 427.1 kB / 0.6164 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5358, allocations: 0 / 0.6164 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.5359, allocations: 12 kB / 0.6165 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5359, allocations: 4.281 kB / 0.6165 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.5359, allocations: 0 / 0.6165 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5359, allocations: 0 / 0.6165 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.5359, allocations: 11.88 kB / 0.6165 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.5361, allocations: 212.2 kB / 0.6167 GB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.5362, allocations: 92.92 kB / 0.6168 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.5363, allocations: 8.359 kB / 0.6168 GB, free: 4.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.5363, allocations: 4 kB / 0.6168 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5364, allocations: 11.92 kB / 0.6168 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.5364, allocations: 8 kB / 0.6168 GB, free: 4.199 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001311/0.5365, allocations: 155.2 kB / 0.6169 GB, free: 4.047 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5365, allocations: 0 / 0.6169 GB, free: 4.047 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002666/0.5368, allocations: 35.94 kB / 0.617 GB, free: 4.012 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.001064/0.5379, allocations: 477 kB / 0.6174 GB, free: 3.707 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.5381, allocations: 59.97 kB / 0.6175 GB, free: 3.648 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5381, allocations: 4 kB / 0.6175 GB, free: 3.645 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.5382, allocations: 27.94 kB / 0.6175 GB, free: 3.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.5385, allocations: 31.98 kB / 0.6176 GB, free: 3.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.539, allocations: 270.1 kB / 0.6178 GB, free: 3.301 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.5393, allocations: 0.7043 MB / 0.6185 GB, free: 2.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.897e-05/0.5394, allocations: 28.83 kB / 0.6185 GB, free: 2.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.5395, allocations: 19.44 kB / 0.6185 GB, free: 2.523 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5395, allocations: 3.938 kB / 0.6185 GB, free: 2.52 MB / 426.7 MB Notification: Performance of Templates: time 0.004229/0.5437, allocations: 1.742 MB / 0.6202 GB, free: 0.7891 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches