Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001671/0.001671, allocations: 200.5 kB / 18.11 MB, free: 3.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007381/0.0007382, allocations: 99.14 kB / 297.5 MB, free: 6.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.571/0.571, allocations: 44.82 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002688, allocations: 11.98 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3592, allocations: 62.95 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4879, allocations: 90.62 MB / 0.6069 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4882, allocations: 83.89 kB / 0.607 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01823/0.5065, allocations: 6.432 MB / 0.6133 GB, free: 8.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5065, allocations: 0 / 0.6133 GB, free: 8.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.5066, allocations: 4 kB / 0.6133 GB, free: 8.184 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.0006751/0.5072, allocations: 462.7 kB / 0.6137 GB, free: 7.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5073, allocations: 8.031 kB / 0.6137 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.5074, allocations: 20.75 kB / 0.6138 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.5078, allocations: 225.7 kB / 0.614 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.5078, allocations: 4.375 kB / 0.614 GB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.5078, allocations: 4.375 kB / 0.614 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.508, allocations: 58.17 kB / 0.614 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.508, allocations: 4.188 kB / 0.614 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.508, allocations: 7.922 kB / 0.614 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5081, allocations: 0 / 0.614 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.5081, allocations: 19.98 kB / 0.6141 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.5086, allocations: 296.9 kB / 0.6143 GB, free: 6.953 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.5088, allocations: 62.55 kB / 0.6144 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.5089, allocations: 20.86 kB / 0.6144 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.5089, allocations: 0 / 0.6144 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.5091, allocations: 75.38 kB / 0.6145 GB, free: 6.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.5091, allocations: 0 / 0.6145 GB, free: 6.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005948/0.5097, allocations: 173.1 kB / 0.6147 GB, free: 6.598 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.5097, allocations: 59.34 kB / 0.6147 GB, free: 6.527 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.51, allocations: 210.9 kB / 0.6149 GB, free: 6.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.51, allocations: 25.7 kB / 0.6149 GB, free: 6.281 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.5101, allocations: 104.1 kB / 0.615 GB, free: 6.176 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.5101, allocations: 31.62 kB / 0.6151 GB, free: 6.145 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.5101, allocations: 0 / 0.6151 GB, free: 6.145 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5103, allocations: 330.8 kB / 0.6154 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.5104, allocations: 27.92 kB / 0.6154 GB, free: 5.785 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.5105, allocations: 41.64 kB / 0.6155 GB, free: 5.738 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.5106, allocations: 53.7 kB / 0.6155 GB, free: 5.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5106, allocations: 4 kB / 0.6155 GB, free: 5.676 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002049/0.5108, allocations: 101.9 kB / 0.6156 GB, free: 5.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.5108, allocations: 7.984 kB / 0.6156 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5109, allocations: 0 / 0.6156 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5109, allocations: 4 kB / 0.6156 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.511, allocations: 16 kB / 0.6156 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.511, allocations: 0 / 0.6156 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.511, allocations: 7.906 kB / 0.6156 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.5111, allocations: 11.98 kB / 0.6157 GB, free: 5.523 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.0001339/0.5112, allocations: 129.8 kB / 0.6158 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.5112, allocations: 11.91 kB / 0.6158 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.5115, allocations: 119 kB / 0.6159 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.5115, allocations: 0 / 0.6159 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5116, allocations: 3.938 kB / 0.6159 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5116, allocations: 0 / 0.6159 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006187/0.5122, allocations: 427.2 kB / 0.6163 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5122, allocations: 3.938 kB / 0.6163 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.5123, allocations: 8 kB / 0.6163 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5123, allocations: 4 kB / 0.6163 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.5123, allocations: 0 / 0.6163 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.5123, allocations: 288 / 0.6163 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5123, allocations: 7.938 kB / 0.6163 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.5126, allocations: 216.2 kB / 0.6165 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.402e-05/0.5127, allocations: 92.92 kB / 0.6166 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.5127, allocations: 7.984 kB / 0.6166 GB, free: 4.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.5128, allocations: 4 kB / 0.6166 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.5129, allocations: 7.938 kB / 0.6166 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.5129, allocations: 7.984 kB / 0.6167 GB, free: 4.383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.513, allocations: 155.2 kB / 0.6168 GB, free: 4.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.513, allocations: 0 / 0.6168 GB, free: 4.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002917/0.5133, allocations: 35.94 kB / 0.6168 GB, free: 4.195 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.001233/0.5146, allocations: 472 kB / 0.6173 GB, free: 3.895 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.5148, allocations: 63.97 kB / 0.6173 GB, free: 3.832 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5148, allocations: 0 / 0.6173 GB, free: 3.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.5149, allocations: 35.92 kB / 0.6174 GB, free: 3.797 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.5153, allocations: 30.97 kB / 0.6174 GB, free: 3.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.516, allocations: 266.1 kB / 0.6177 GB, free: 3.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.5163, allocations: 0.7083 MB / 0.6184 GB, free: 2.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.5164, allocations: 24.53 kB / 0.6184 GB, free: 2.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.5165, allocations: 19.44 kB / 0.6184 GB, free: 2.707 MB / 426.7 MB Notification: Performance of SimCode: time 2.004e-06/0.5165, allocations: 0 / 0.6184 GB, free: 2.707 MB / 426.7 MB Notification: Performance of Templates: time 0.005136/0.5216, allocations: 1.749 MB / 0.6201 GB, free: 0.9766 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches