Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001737/0.001737, allocations: 182 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.688/1.688, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001724/0.001724, allocations: 110.6 kB / 252.6 MB, free: 4.805 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.2313/0.2313, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.347e-05, allocations: 8 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4387/0.5496, allocations: 82.06 MB / 0.5246 GB, free: 9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.5499, allocations: 72.89 kB / 0.5247 GB, free: 8.961 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.01124/0.5612, allocations: 4.622 MB / 0.5292 GB, free: 5.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.5612, allocations: 4 kB / 0.5292 GB, free: 5.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.5612, allocations: 3.938 kB / 0.5292 GB, free: 5.305 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.0004307/0.5617, allocations: 462.3 kB / 0.5297 GB, free: 4.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5617, allocations: 12.03 kB / 0.5297 GB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.5618, allocations: 11.89 kB / 0.5297 GB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.562, allocations: 209.6 kB / 0.5299 GB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.5621, allocations: 4 kB / 0.5299 GB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.5621, allocations: 7.438 kB / 0.5299 GB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.5622, allocations: 52.86 kB / 0.5299 GB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5622, allocations: 0 / 0.5299 GB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.5623, allocations: 3.953 kB / 0.5299 GB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.5623, allocations: 0 / 0.5299 GB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.5623, allocations: 26.3 kB / 0.53 GB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.5627, allocations: 319.2 kB / 0.5303 GB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.5628, allocations: 53.88 kB / 0.5303 GB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.5629, allocations: 20.09 kB / 0.5303 GB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.5629, allocations: 0 / 0.5303 GB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.563, allocations: 77.98 kB / 0.5304 GB, free: 3.984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.563, allocations: 4 kB / 0.5304 GB, free: 3.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004208/0.5634, allocations: 166.5 kB / 0.5306 GB, free: 3.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.5635, allocations: 55.41 kB / 0.5306 GB, free: 3.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.5636, allocations: 181.3 kB / 0.5308 GB, free: 3.598 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.5636, allocations: 29.39 kB / 0.5308 GB, free: 3.566 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.5637, allocations: 99.14 kB / 0.5309 GB, free: 3.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.5637, allocations: 31.06 kB / 0.531 GB, free: 3.453 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.5637, allocations: 0 / 0.531 GB, free: 3.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.626e-05/0.5638, allocations: 326.1 kB / 0.5313 GB, free: 3.133 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.5638, allocations: 35 kB / 0.5313 GB, free: 3.109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.866e-05/0.5639, allocations: 56.33 kB / 0.5314 GB, free: 3.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.159e-05/0.564, allocations: 73.38 kB / 0.5314 GB, free: 3.004 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.564, allocations: 0 / 0.5314 GB, free: 3.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001945/0.5642, allocations: 176 kB / 0.5316 GB, free: 2.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.5642, allocations: 41.38 kB / 0.5316 GB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5642, allocations: 0 / 0.5316 GB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5642, allocations: 4.031 kB / 0.5316 GB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.5643, allocations: 19.98 kB / 0.5317 GB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5644, allocations: 0 / 0.5317 GB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.5644, allocations: 4 kB / 0.5317 GB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.5644, allocations: 7.938 kB / 0.5317 GB, free: 2.77 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 5.851e-05/0.5645, allocations: 112.7 kB / 0.5318 GB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.5645, allocations: 15.86 kB / 0.5318 GB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.5647, allocations: 120.3 kB / 0.5319 GB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5647, allocations: 4 kB / 0.5319 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5648, allocations: 0 / 0.5319 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5648, allocations: 3.984 kB / 0.5319 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.5651, allocations: 413.9 kB / 0.5323 GB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5651, allocations: 0 / 0.5323 GB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.5652, allocations: 15.98 kB / 0.5323 GB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5652, allocations: 0 / 0.5323 GB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5652, allocations: 3.625 kB / 0.5323 GB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5652, allocations: 4 kB / 0.5323 GB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5652, allocations: 4.031 kB / 0.5323 GB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.5654, allocations: 215.9 kB / 0.5325 GB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.5655, allocations: 100.6 kB / 0.5326 GB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.5655, allocations: 11.44 kB / 0.5326 GB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.5656, allocations: 3.984 kB / 0.5326 GB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.5656, allocations: 8 kB / 0.5327 GB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.5656, allocations: 4.281 kB / 0.5327 GB, free: 1.734 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.445e-05/0.5657, allocations: 146 kB / 0.5328 GB, free: 1.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.5658, allocations: 0 / 0.5328 GB, free: 1.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.566, allocations: 55.42 kB / 0.5329 GB, free: 1.562 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.0008841/0.5669, allocations: 379.7 kB / 0.5332 GB, free: 1.266 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.5671, allocations: 169.6 kB / 0.5334 GB, free: 1.129 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5671, allocations: 0 / 0.5334 GB, free: 1.129 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.054e-05/0.5672, allocations: 30.81 kB / 0.5334 GB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.5674, allocations: 28.41 kB / 0.5334 GB, free: 1.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.5677, allocations: 173.4 kB / 0.5336 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.5679, allocations: 0.7123 MB / 0.5343 GB, free: 176 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.858e-05/0.5679, allocations: 11.12 kB / 0.5343 GB, free: 168 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.568, allocations: 19.42 kB / 0.5343 GB, free: 148 kB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.568, allocations: 0 / 0.5343 GB, free: 148 kB / 346.7 MB Notification: Performance of Templates: time 0.004298/0.5723, allocations: 1.758 MB / 0.536 GB, free: 14.41 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)