Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009543/0.0009541, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007817/0.0007816, allocations: 101.9 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3972/0.3972, allocations: 44.83 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.000283, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3269, allocations: 62.96 MB / 0.5184 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.45, allocations: 90.65 MB / 0.607 GB, free: 14.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.4503, allocations: 83.95 kB / 0.607 GB, free: 14.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01827/0.4686, allocations: 6.49 MB / 0.6134 GB, free: 8.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.4687, allocations: 0 / 0.6134 GB, free: 8.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.4687, allocations: 8 kB / 0.6134 GB, free: 8.062 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.0006695/0.4694, allocations: 454.9 kB / 0.6138 GB, free: 7.566 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4694, allocations: 8.031 kB / 0.6138 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.4695, allocations: 12.75 kB / 0.6138 GB, free: 7.547 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.4698, allocations: 220.7 kB / 0.614 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.4698, allocations: 384 / 0.614 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.4698, allocations: 4.375 kB / 0.6141 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.47, allocations: 58.22 kB / 0.6141 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.47, allocations: 192 / 0.6141 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.47, allocations: 3.938 kB / 0.6141 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.47, allocations: 7.938 kB / 0.6141 GB, free: 7.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.27e-05/0.4701, allocations: 23.98 kB / 0.6141 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.4705, allocations: 296.8 kB / 0.6144 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.4707, allocations: 62.61 kB / 0.6145 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.4708, allocations: 28.78 kB / 0.6145 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.4708, allocations: 0 / 0.6145 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.471, allocations: 67.39 kB / 0.6146 GB, free: 6.672 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.471, allocations: 0 / 0.6146 GB, free: 6.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005458/0.4715, allocations: 177.1 kB / 0.6147 GB, free: 6.492 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4716, allocations: 55.41 kB / 0.6148 GB, free: 6.426 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.4718, allocations: 200.1 kB / 0.615 GB, free: 6.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.4718, allocations: 29.7 kB / 0.615 GB, free: 6.188 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.4719, allocations: 104.1 kB / 0.6151 GB, free: 6.082 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.4719, allocations: 19.72 kB / 0.6151 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.4719, allocations: 0 / 0.6151 GB, free: 6.062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.472, allocations: 326.8 kB / 0.6154 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.4721, allocations: 27.92 kB / 0.6155 GB, free: 5.707 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.806e-05/0.4722, allocations: 37.7 kB / 0.6155 GB, free: 5.664 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.4723, allocations: 69.62 kB / 0.6156 GB, free: 5.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4723, allocations: 0 / 0.6156 GB, free: 5.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.4725, allocations: 113.4 kB / 0.6157 GB, free: 5.473 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4725, allocations: 4 kB / 0.6157 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4726, allocations: 0 / 0.6157 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.4726, allocations: 0 / 0.6157 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.4727, allocations: 16 kB / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4727, allocations: 0 / 0.6157 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.4727, allocations: 12.02 kB / 0.6157 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.4727, allocations: 0 / 0.6157 GB, free: 5.441 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.0001019/0.4729, allocations: 135.5 kB / 0.6158 GB, free: 5.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.4729, allocations: 7.906 kB / 0.6159 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.4731, allocations: 127.1 kB / 0.616 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4731, allocations: 0 / 0.616 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4732, allocations: 4 kB / 0.616 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4732, allocations: 0 / 0.616 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.4737, allocations: 423.3 kB / 0.6164 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4737, allocations: 0 / 0.6164 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.4737, allocations: 15.92 kB / 0.6164 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4737, allocations: 4 kB / 0.6164 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.4737, allocations: 0 / 0.6164 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4737, allocations: 0 / 0.6164 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4738, allocations: 4.312 kB / 0.6164 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.474, allocations: 212.3 kB / 0.6166 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.4741, allocations: 96.91 kB / 0.6167 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.4741, allocations: 8 kB / 0.6167 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.4742, allocations: 7.984 kB / 0.6167 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.4742, allocations: 7.938 kB / 0.6167 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.4742, allocations: 4 kB / 0.6167 GB, free: 4.297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.4744, allocations: 151.2 kB / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4744, allocations: 0 / 0.6169 GB, free: 4.148 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.4746, allocations: 35.98 kB / 0.6169 GB, free: 4.113 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.001012/0.4757, allocations: 468.6 kB / 0.6174 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.4759, allocations: 63.91 kB / 0.6174 GB, free: 3.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4759, allocations: 0 / 0.6174 GB, free: 3.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.476, allocations: 35.92 kB / 0.6174 GB, free: 3.715 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.4763, allocations: 25.14 kB / 0.6175 GB, free: 3.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.4768, allocations: 258.2 kB / 0.6177 GB, free: 3.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.4771, allocations: 0.7004 MB / 0.6184 GB, free: 2.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.482e-05/0.4772, allocations: 24.84 kB / 0.6184 GB, free: 2.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.4772, allocations: 19.44 kB / 0.6184 GB, free: 2.645 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4772, allocations: 0 / 0.6184 GB, free: 2.645 MB / 426.7 MB Notification: Performance of Templates: time 0.004123/0.4814, allocations: 1.716 MB / 0.6201 GB, free: 0.9375 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches