Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001421/0.001421, allocations: 181.9 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.543/1.543, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001684/0.001684, allocations: 113 kB / 252.6 MB, free: 4.84 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.2941/0.2941, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.983e-05/4.986e-05, allocations: 15.98 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1609, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6012/0.7621, allocations: 81.9 MB / 0.5245 GB, free: 9.145 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.7625, allocations: 70.28 kB / 0.5245 GB, free: 9.109 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01162/0.7741, allocations: 4.712 MB / 0.5291 GB, free: 5.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7741, allocations: 0 / 0.5291 GB, free: 5.336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.7742, allocations: 4 kB / 0.5291 GB, free: 5.332 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00043/0.7746, allocations: 464.6 kB / 0.5296 GB, free: 4.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.7746, allocations: 8.031 kB / 0.5296 GB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.7747, allocations: 19.8 kB / 0.5296 GB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.775, allocations: 214.5 kB / 0.5298 GB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.775, allocations: 4 kB / 0.5298 GB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.7751, allocations: 4 kB / 0.5298 GB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.7752, allocations: 45.61 kB / 0.5299 GB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.7752, allocations: 0 / 0.5299 GB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.7752, allocations: 7.641 kB / 0.5299 GB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7752, allocations: 4 kB / 0.5299 GB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.7753, allocations: 15.86 kB / 0.5299 GB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.7755, allocations: 216 kB / 0.5301 GB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.7756, allocations: 49.5 kB / 0.5301 GB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.7756, allocations: 24.59 kB / 0.5302 GB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.7756, allocations: 0 / 0.5302 GB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.7757, allocations: 66.98 kB / 0.5302 GB, free: 4.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.7758, allocations: 4 kB / 0.5302 GB, free: 4.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002041/0.776, allocations: 88.66 kB / 0.5303 GB, free: 4.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.776, allocations: 51.41 kB / 0.5304 GB, free: 3.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.7762, allocations: 232.1 kB / 0.5306 GB, free: 3.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.7762, allocations: 29.45 kB / 0.5306 GB, free: 3.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.7763, allocations: 107.4 kB / 0.5307 GB, free: 3.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.7763, allocations: 19.47 kB / 0.5307 GB, free: 3.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-06/0.7763, allocations: 0 / 0.5307 GB, free: 3.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.7764, allocations: 326.7 kB / 0.5311 GB, free: 3.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.7764, allocations: 43.45 kB / 0.5311 GB, free: 3.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.081e-05/0.7765, allocations: 37.28 kB / 0.5311 GB, free: 3.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.477e-05/0.7766, allocations: 61.06 kB / 0.5312 GB, free: 3.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.7766, allocations: 0 / 0.5312 GB, free: 3.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001756/0.7767, allocations: 162.2 kB / 0.5313 GB, free: 3.035 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.7768, allocations: 33.7 kB / 0.5314 GB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7768, allocations: 128 / 0.5314 GB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.7768, allocations: 8.031 kB / 0.5314 GB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.7769, allocations: 19.92 kB / 0.5314 GB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7769, allocations: 3.953 kB / 0.5314 GB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.777, allocations: 11.91 kB / 0.5314 GB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.777, allocations: 7.438 kB / 0.5314 GB, free: 2.949 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 (8): * Single equations (assignments): 7 * 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 5.308e-05/0.777, allocations: 105 kB / 0.5315 GB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.7771, allocations: 15.81 kB / 0.5315 GB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.7772, allocations: 101.6 kB / 0.5316 GB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7772, allocations: 0 / 0.5316 GB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.7773, allocations: 8 kB / 0.5316 GB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7773, allocations: 3.953 kB / 0.5316 GB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.7774, allocations: 201.1 kB / 0.5318 GB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7774, allocations: 0 / 0.5318 GB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.7774, allocations: 8 kB / 0.5318 GB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7774, allocations: 0 / 0.5318 GB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.7774, allocations: 3.938 kB / 0.5318 GB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7774, allocations: 0 / 0.5318 GB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7774, allocations: 0 / 0.5318 GB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.7776, allocations: 124.2 kB / 0.532 GB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.7777, allocations: 96.88 kB / 0.5321 GB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.7777, allocations: 4 kB / 0.5321 GB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.7777, allocations: 7.797 kB / 0.5321 GB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.7778, allocations: 7.938 kB / 0.5321 GB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.7778, allocations: 4 kB / 0.5321 GB, free: 2.227 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.7779, allocations: 190.7 kB / 0.5323 GB, free: 2.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7779, allocations: 0 / 0.5323 GB, free: 2.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002025/0.7781, allocations: 39.81 kB / 0.5323 GB, free: 2.035 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007525/0.7789, allocations: 352.6 kB / 0.5326 GB, free: 1.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.7791, allocations: 149.6 kB / 0.5328 GB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7791, allocations: 0 / 0.5328 GB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.7791, allocations: 19.92 kB / 0.5328 GB, free: 1.629 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.7793, allocations: 24 kB / 0.5328 GB, free: 1.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.7797, allocations: 193.3 kB / 0.533 GB, free: 1.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.7798, allocations: 0.7199 MB / 0.5337 GB, free: 0.668 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.402e-05/0.7799, allocations: 23.95 kB / 0.5337 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.7799, allocations: 15.12 kB / 0.5337 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7799, allocations: 0 / 0.5337 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of Templates: time 0.004677/0.7846, allocations: 1.652 MB / 0.5354 GB, free: 15 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)