Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00826/0.00826, allocations: 175.8 kB / 15.12 MB, free: 5.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.717/1.717, allocations: 194.5 MB / 210.3 MB, free: 7.809 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.001872/0.001872, allocations: 120.6 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2223/0.2223, allocations: 40 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004288, allocations: 13 kB / 406.2 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1315, allocations: 54.87 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.2566, allocations: 82.15 MB / 0.5305 GB, free: 1.023 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.257, allocations: 71.97 kB / 0.5305 GB, free: 0.9531 MB / 378.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.2726/0.5296, allocations: 4.574 MB / 0.535 GB, free: 83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5297, allocations: 3.938 kB / 0.535 GB, free: 82.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.5297, allocations: 6.25 kB / 0.535 GB, free: 82.99 MB / 378.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.0007257/0.5304, allocations: 475.4 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.5305, allocations: 9.422 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.5306, allocations: 9.281 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.531, allocations: 204.1 kB / 0.5357 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.5311, allocations: 3.219 kB / 0.5357 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.5311, allocations: 7.031 kB / 0.5357 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.5313, allocations: 64.38 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.5314, allocations: 3.25 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.5314, allocations: 4.562 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.5314, allocations: 0 / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.5316, allocations: 21.56 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.5322, allocations: 306.7 kB / 0.5361 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.5325, allocations: 65.3 kB / 0.5361 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.5326, allocations: 1.844 kB / 0.5361 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.5328, allocations: 71.48 kB / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.5328, allocations: 0 / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009935/0.5338, allocations: 188.3 kB / 0.5364 GB, free: 81.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.5339, allocations: 55.14 kB / 0.5364 GB, free: 81.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.5342, allocations: 172.3 kB / 0.5366 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.5342, allocations: 32.92 kB / 0.5366 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.5343, allocations: 101.6 kB / 0.5367 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.5344, allocations: 23.97 kB / 0.5367 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.5344, allocations: 4.969 kB / 0.5367 GB, free: 81.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.5345, allocations: 323 kB / 0.5371 GB, free: 81.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.5347, allocations: 35.69 kB / 0.5371 GB, free: 81.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.5349, allocations: 59.45 kB / 0.5371 GB, free: 81.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.5351, allocations: 74.77 kB / 0.5372 GB, free: 81.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5351, allocations: 0 / 0.5372 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004685/0.5356, allocations: 173 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.5356, allocations: 43.91 kB / 0.5374 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5357, allocations: 1.672 kB / 0.5374 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5357, allocations: 1.281 kB / 0.5374 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.5358, allocations: 22.91 kB / 0.5374 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5359, allocations: 1.672 kB / 0.5375 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/0.536, allocations: 9.781 kB / 0.5375 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.536, allocations: 5.219 kB / 0.5375 GB, free: 81.09 MB / 378.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 (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 0.0001371/0.5361, allocations: 126.3 kB / 0.5376 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.5362, allocations: 14.3 kB / 0.5376 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004021/0.5366, allocations: 125.9 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5366, allocations: 2 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5367, allocations: 0.9375 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5367, allocations: 4.797 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007166/0.5374, allocations: 413.2 kB / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5374, allocations: 0 / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.5375, allocations: 10.81 kB / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.5375, allocations: 1.281 kB / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.5375, allocations: 2.812 kB / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.5376, allocations: 5.031 kB / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5376, allocations: 0.9688 kB / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.538, allocations: 228.5 kB / 0.5384 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.5381, allocations: 100.3 kB / 0.5385 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.5381, allocations: 2 kB / 0.5385 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.5383, allocations: 7.828 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.5383, allocations: 10.05 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.5384, allocations: 7.219 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.5386, allocations: 135.8 kB / 0.5386 GB, free: 80.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5386, allocations: 0 / 0.5386 GB, free: 80.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004909/0.5391, allocations: 45.52 kB / 0.5387 GB, free: 80.23 MB / 378.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.00158/0.5407, allocations: 437.3 kB / 0.5391 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004475/0.5411, allocations: 167.2 kB / 0.5392 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5411, allocations: 4.062 kB / 0.5392 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.5413, allocations: 38.17 kB / 0.5393 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.5417, allocations: 28.45 kB / 0.5393 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.5425, allocations: 247.2 kB / 0.5395 GB, free: 79.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.5427, allocations: 0.7047 MB / 0.5402 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.088e-05/0.5428, allocations: 11.97 kB / 0.5402 GB, free: 79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.5429, allocations: 18.52 kB / 0.5402 GB, free: 79 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5429, allocations: 1.25 kB / 0.5403 GB, free: 79 MB / 378.7 MB Notification: Performance of Templates: time 0.008449/0.5514, allocations: 1.73 MB / 0.5419 GB, free: 78.8 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)