Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 200 kB / 18.11 MB, free: 3.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 226.5 MB / 245.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000777/0.0007771, allocations: 103.7 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.394/0.394, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002752, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3495, allocations: 62.97 MB / 0.5184 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.4897, allocations: 90.68 MB / 0.607 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.49, allocations: 79.94 kB / 0.6071 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0203/0.5104, allocations: 7.134 MB / 0.614 GB, free: 7.398 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5104, allocations: 0 / 0.614 GB, free: 7.398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.504e-05/0.5104, allocations: 11.98 kB / 0.614 GB, free: 7.387 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008011/0.5112, allocations: 494.6 kB / 0.6145 GB, free: 6.852 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5113, allocations: 8.031 kB / 0.6145 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/0.5114, allocations: 16.75 kB / 0.6145 GB, free: 6.828 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.5119, allocations: 279.3 kB / 0.6148 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.5119, allocations: 384 / 0.6148 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5119, allocations: 4.375 kB / 0.6148 GB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.5122, allocations: 101.6 kB / 0.6149 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.5122, allocations: 192 / 0.6149 GB, free: 6.398 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.5122, allocations: 7.938 kB / 0.6149 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5122, allocations: 0 / 0.6149 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.5123, allocations: 39.97 kB / 0.6149 GB, free: 6.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.5126, allocations: 214.5 kB / 0.6151 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.5129, allocations: 113.2 kB / 0.6153 GB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.272e-05/0.513, allocations: 41.7 kB / 0.6153 GB, free: 5.914 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.513, allocations: 7.938 kB / 0.6153 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.5133, allocations: 109 kB / 0.6154 GB, free: 5.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.5133, allocations: 0 / 0.6154 GB, free: 5.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004873/0.5138, allocations: 185.7 kB / 0.6156 GB, free: 5.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.5139, allocations: 132.5 kB / 0.6157 GB, free: 5.434 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.5142, allocations: 246.2 kB / 0.6159 GB, free: 5.184 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.5142, allocations: 29.7 kB / 0.616 GB, free: 5.148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.5143, allocations: 112.1 kB / 0.6161 GB, free: 5.035 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/0.5143, allocations: 39.62 kB / 0.6161 GB, free: 4.996 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.5143, allocations: 0 / 0.6161 GB, free: 4.996 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5145, allocations: 326.8 kB / 0.6164 GB, free: 4.668 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.5146, allocations: 35.97 kB / 0.6165 GB, free: 4.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.5147, allocations: 73.08 kB / 0.6165 GB, free: 4.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.5149, allocations: 91.44 kB / 0.6166 GB, free: 4.441 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5149, allocations: 4 kB / 0.6166 GB, free: 4.438 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002785/0.5152, allocations: 141.3 kB / 0.6168 GB, free: 4.293 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5152, allocations: 7.938 kB / 0.6168 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5152, allocations: 4 kB / 0.6168 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.5153, allocations: 3.984 kB / 0.6168 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5154, allocations: 19.98 kB / 0.6168 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.5154, allocations: 7.984 kB / 0.6168 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.56e-05/0.5155, allocations: 15.97 kB / 0.6168 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.5155, allocations: 7.938 kB / 0.6168 GB, free: 4.227 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001284/0.5157, allocations: 134.3 kB / 0.617 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.5157, allocations: 19.75 kB / 0.617 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.516, allocations: 166.8 kB / 0.6171 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5161, allocations: 0 / 0.6171 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5161, allocations: 64 / 0.6171 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5161, allocations: 8 kB / 0.6171 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.5163, allocations: 233.5 kB / 0.6174 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5163, allocations: 0 / 0.6174 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.5164, allocations: 11.98 kB / 0.6174 GB, free: 3.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5164, allocations: 3.938 kB / 0.6174 GB, free: 3.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5164, allocations: 4 kB / 0.6174 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5164, allocations: 0 / 0.6174 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5164, allocations: 0 / 0.6174 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.5167, allocations: 189.6 kB / 0.6176 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.5168, allocations: 100.9 kB / 0.6177 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.5169, allocations: 15.92 kB / 0.6177 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.5169, allocations: 4 kB / 0.6177 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.517, allocations: 7.984 kB / 0.6177 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.517, allocations: 8 kB / 0.6177 GB, free: 3.234 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.5172, allocations: 188.4 kB / 0.6179 GB, free: 3.051 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5172, allocations: 0 / 0.6179 GB, free: 3.051 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003909/0.5176, allocations: 67.92 kB / 0.6179 GB, free: 2.984 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001245/0.5189, allocations: 0.5085 MB / 0.6184 GB, free: 2.641 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.5192, allocations: 87.89 kB / 0.6185 GB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5192, allocations: 0 / 0.6185 GB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.5193, allocations: 47.91 kB / 0.6186 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.5197, allocations: 51.38 kB / 0.6186 GB, free: 2.461 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.5203, allocations: 326.9 kB / 0.6189 GB, free: 2.113 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.5207, allocations: 0.7205 MB / 0.6196 GB, free: 1.363 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.5208, allocations: 33.52 kB / 0.6197 GB, free: 1.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.5209, allocations: 31.42 kB / 0.6197 GB, free: 1.301 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5209, allocations: 4 kB / 0.6197 GB, free: 1.297 MB / 426.7 MB Notification: Performance of Templates: time 0.006914/0.5278, allocations: 3.051 MB / 0.6227 GB, free: 14.27 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches