Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001672/0.001671, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.691/1.691, allocations: 194.3 MB / 207.5 MB, free: 3.445 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001683/0.001684, allocations: 118.1 kB / 252.6 MB, free: 4.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2968/0.2968, allocations: 39.94 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.53e-05/5.534e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1366, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4993/0.6359, allocations: 82.06 MB / 0.5246 GB, free: 9.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6363, allocations: 71.09 kB / 0.5247 GB, free: 9.035 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.6478, allocations: 4.88 MB / 0.5295 GB, free: 5.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6478, allocations: 3.938 kB / 0.5295 GB, free: 5.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.6478, allocations: 4 kB / 0.5295 GB, free: 5.137 MB / 346.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.0004729/0.6483, allocations: 473 kB / 0.5299 GB, free: 4.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.6483, allocations: 8.031 kB / 0.5299 GB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.6484, allocations: 19.8 kB / 0.5299 GB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.6487, allocations: 217.4 kB / 0.5301 GB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.6487, allocations: 7.562 kB / 0.5302 GB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.6488, allocations: 4 kB / 0.5302 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.6489, allocations: 52.48 kB / 0.5302 GB, free: 4.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6489, allocations: 0 / 0.5302 GB, free: 4.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.6489, allocations: 7.953 kB / 0.5302 GB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6489, allocations: 4 kB / 0.5302 GB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.649, allocations: 22.36 kB / 0.5302 GB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.6494, allocations: 323.3 kB / 0.5305 GB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.6495, allocations: 57.56 kB / 0.5306 GB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.6496, allocations: 16.61 kB / 0.5306 GB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.6496, allocations: 4 kB / 0.5306 GB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.6497, allocations: 74.34 kB / 0.5307 GB, free: 3.785 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.6497, allocations: 0 / 0.5307 GB, free: 3.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000452/0.6502, allocations: 180.3 kB / 0.5309 GB, free: 3.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.6502, allocations: 51.41 kB / 0.5309 GB, free: 3.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.6504, allocations: 229.3 kB / 0.5311 GB, free: 3.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.6505, allocations: 25.7 kB / 0.5312 GB, free: 3.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.6505, allocations: 125 kB / 0.5313 GB, free: 3.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.6505, allocations: 27.33 kB / 0.5313 GB, free: 3.211 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.6506, allocations: 4 kB / 0.5313 GB, free: 3.207 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.6506, allocations: 325.8 kB / 0.5316 GB, free: 2.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/0.6507, allocations: 34.56 kB / 0.5317 GB, free: 2.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.6508, allocations: 55.91 kB / 0.5317 GB, free: 2.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/0.6508, allocations: 72.17 kB / 0.5318 GB, free: 2.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.6508, allocations: 4 kB / 0.5318 GB, free: 2.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001954/0.651, allocations: 179.2 kB / 0.5319 GB, free: 2.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.6511, allocations: 37.69 kB / 0.532 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6511, allocations: 0 / 0.532 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6511, allocations: 0 / 0.532 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.6512, allocations: 16 kB / 0.532 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.6512, allocations: 4.062 kB / 0.532 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.6513, allocations: 10.97 kB / 0.532 GB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.6513, allocations: 7.984 kB / 0.532 GB, free: 2.52 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 6.256e-05/0.6514, allocations: 117.6 kB / 0.5321 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.6514, allocations: 15.98 kB / 0.5321 GB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.6516, allocations: 120.1 kB / 0.5323 GB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.6516, allocations: 4 kB / 0.5323 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6516, allocations: 4 kB / 0.5323 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6516, allocations: 7.922 kB / 0.5323 GB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.652, allocations: 427.6 kB / 0.5327 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.652, allocations: 8.031 kB / 0.5327 GB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.6521, allocations: 15.92 kB / 0.5327 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.6521, allocations: 0 / 0.5327 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6521, allocations: 0 / 0.5327 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6521, allocations: 4 kB / 0.5327 GB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6521, allocations: 0 / 0.5327 GB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.6523, allocations: 230.5 kB / 0.5329 GB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.6524, allocations: 99.91 kB / 0.533 GB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.6524, allocations: 10.98 kB / 0.533 GB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.6525, allocations: 4 kB / 0.533 GB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.6525, allocations: 11.92 kB / 0.5331 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.6525, allocations: 3.844 kB / 0.5331 GB, free: 1.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.6527, allocations: 195.4 kB / 0.5332 GB, free: 1.281 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6527, allocations: 0 / 0.5332 GB, free: 1.281 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.6529, allocations: 43.5 kB / 0.5333 GB, free: 1.242 MB / 346.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) * 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.0008697/0.6538, allocations: 392.6 kB / 0.5337 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.654, allocations: 168.5 kB / 0.5338 GB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.654, allocations: 0 / 0.5338 GB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.101e-05/0.6541, allocations: 34.3 kB / 0.5339 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.6543, allocations: 23.56 kB / 0.5339 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.6547, allocations: 225.6 kB / 0.5341 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.655, allocations: 0.7185 MB / 0.5348 GB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.018e-05/0.6551, allocations: 23.44 kB / 0.5348 GB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.6551, allocations: 15.44 kB / 0.5348 GB, free: 15.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6551, allocations: 0 / 0.5348 GB, free: 15.75 MB / 362.7 MB Notification: Performance of Templates: time 0.004721/0.6598, allocations: 1.888 MB / 0.5367 GB, free: 13.88 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)