Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001464/0.001465, 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.763/1.763, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001898/0.001898, allocations: 111.8 kB / 252.6 MB, free: 4.824 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.2222/0.2222, allocations: 39.93 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.389e-05/4.393e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.5518, allocations: 82.06 MB / 0.5246 GB, free: 9.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5521, allocations: 73.89 kB / 0.5247 GB, free: 9.027 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.01189/0.564, allocations: 4.737 MB / 0.5293 GB, free: 5.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.564, allocations: 0 / 0.5293 GB, free: 5.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.5641, allocations: 4 kB / 0.5293 GB, free: 5.266 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.0004603/0.5645, allocations: 472.8 kB / 0.5298 GB, free: 4.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5646, allocations: 8.031 kB / 0.5298 GB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.5646, allocations: 7.906 kB / 0.5298 GB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.5649, allocations: 215.8 kB / 0.53 GB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5649, allocations: 3.812 kB / 0.53 GB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.565, allocations: 8 kB / 0.53 GB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.5651, allocations: 57.05 kB / 0.5301 GB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5651, allocations: 0 / 0.5301 GB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.5651, allocations: 3.953 kB / 0.5301 GB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5651, allocations: 0 / 0.5301 GB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.5652, allocations: 23.42 kB / 0.5301 GB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.5656, allocations: 318.1 kB / 0.5304 GB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.5657, allocations: 58 kB / 0.5304 GB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.5657, allocations: 24.55 kB / 0.5305 GB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.5658, allocations: 0 / 0.5305 GB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.5659, allocations: 67.16 kB / 0.5305 GB, free: 3.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.654e-06/0.5659, allocations: 8 kB / 0.5305 GB, free: 3.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004326/0.5663, allocations: 167.8 kB / 0.5307 GB, free: 3.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.5664, allocations: 51.41 kB / 0.5307 GB, free: 3.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.5665, allocations: 201.4 kB / 0.5309 GB, free: 3.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.5665, allocations: 29.7 kB / 0.531 GB, free: 3.512 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.5666, allocations: 103.3 kB / 0.5311 GB, free: 3.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.5666, allocations: 30.86 kB / 0.5311 GB, free: 3.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-06/0.5666, allocations: 4 kB / 0.5311 GB, free: 3.395 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.5667, allocations: 330.2 kB / 0.5314 GB, free: 3.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.5668, allocations: 31.81 kB / 0.5314 GB, free: 3.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.5668, allocations: 52.45 kB / 0.5315 GB, free: 3.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.462e-05/0.5669, allocations: 72.75 kB / 0.5316 GB, free: 2.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5669, allocations: 4 kB / 0.5316 GB, free: 2.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002002/0.5671, allocations: 181.8 kB / 0.5317 GB, free: 2.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.5672, allocations: 29.7 kB / 0.5318 GB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.5672, allocations: 4 kB / 0.5318 GB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.5672, allocations: 7.969 kB / 0.5318 GB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.257e-05/0.5673, allocations: 15.98 kB / 0.5318 GB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5673, allocations: 0 / 0.5318 GB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.5674, allocations: 8 kB / 0.5318 GB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.5674, allocations: 7.875 kB / 0.5318 GB, free: 2.711 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.775e-05/0.5675, allocations: 105 kB / 0.5319 GB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.5675, allocations: 15.86 kB / 0.5319 GB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.5677, allocations: 122.2 kB / 0.532 GB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.5677, allocations: 4 kB / 0.532 GB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5677, allocations: 4 kB / 0.5321 GB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5677, allocations: 7.984 kB / 0.5321 GB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.5681, allocations: 416.9 kB / 0.5325 GB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5681, allocations: 4 kB / 0.5325 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.5681, allocations: 11.94 kB / 0.5325 GB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5681, allocations: 0 / 0.5325 GB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.5682, allocations: 4 kB / 0.5325 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5682, allocations: 8.016 kB / 0.5325 GB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5682, allocations: 160 / 0.5325 GB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.5683, allocations: 229.2 kB / 0.5327 GB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.5684, allocations: 100.9 kB / 0.5328 GB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.5684, allocations: 3.812 kB / 0.5328 GB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.5685, allocations: 8 kB / 0.5328 GB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.5686, allocations: 11.92 kB / 0.5328 GB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.5686, allocations: 4 kB / 0.5328 GB, free: 1.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.5687, allocations: 163 kB / 0.533 GB, free: 1.523 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5687, allocations: 0 / 0.533 GB, free: 1.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.569, allocations: 47.8 kB / 0.533 GB, free: 1.48 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.0008581/0.5698, allocations: 384.2 kB / 0.5334 GB, free: 1.172 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.5701, allocations: 169.4 kB / 0.5336 GB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5701, allocations: 0 / 0.5336 GB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.5702, allocations: 31.75 kB / 0.5336 GB, free: 1.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.5704, allocations: 26.81 kB / 0.5336 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.5708, allocations: 197.4 kB / 0.5338 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.5709, allocations: 0.7123 MB / 0.5345 GB, free: 52 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.571, allocations: 16.42 kB / 0.5345 GB, free: 36 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.571, allocations: 19.31 kB / 0.5345 GB, free: 20 kB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5711, allocations: 0 / 0.5345 GB, free: 20 kB / 346.7 MB Notification: Performance of Templates: time 0.004969/0.576, allocations: 1.815 MB / 0.5363 GB, free: 14.23 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)