Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0014/0.0014, allocations: 181.7 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.665/1.665, allocations: 194.3 MB / 207.5 MB, free: 3.383 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.00161/0.00161, allocations: 115.3 kB / 252.6 MB, free: 4.812 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.2339/0.2339, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.281e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4738/0.6323, allocations: 82.02 MB / 0.5246 GB, free: 9.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.6326, allocations: 77.83 kB / 0.5246 GB, free: 9.062 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.01113/0.6437, allocations: 4.368 MB / 0.5289 GB, free: 5.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6438, allocations: 3.938 kB / 0.5289 GB, free: 5.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.6438, allocations: 0 / 0.5289 GB, free: 5.625 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.0005036/0.6443, allocations: 455.6 kB / 0.5294 GB, free: 5.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.6444, allocations: 8.031 kB / 0.5294 GB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.6444, allocations: 7.906 kB / 0.5294 GB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.6448, allocations: 201 kB / 0.5296 GB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.6448, allocations: 4 kB / 0.5296 GB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.6449, allocations: 7.125 kB / 0.5296 GB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.645, allocations: 59.31 kB / 0.5296 GB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.6451, allocations: 3.906 kB / 0.5296 GB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.6451, allocations: 4 kB / 0.5296 GB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6451, allocations: 0 / 0.5296 GB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.6452, allocations: 22.98 kB / 0.5297 GB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.6456, allocations: 305.4 kB / 0.5299 GB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.6458, allocations: 64.02 kB / 0.53 GB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.6458, allocations: 16.23 kB / 0.53 GB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.6458, allocations: 4 kB / 0.53 GB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.646, allocations: 68.64 kB / 0.5301 GB, free: 4.324 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.646, allocations: 0 / 0.5301 GB, free: 4.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004965/0.6465, allocations: 155.5 kB / 0.5302 GB, free: 4.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.6466, allocations: 59.41 kB / 0.5303 GB, free: 4.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.6467, allocations: 150.8 kB / 0.5304 GB, free: 3.984 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.6467, allocations: 29.27 kB / 0.5305 GB, free: 3.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.6468, allocations: 97.88 kB / 0.5306 GB, free: 3.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.6468, allocations: 22.72 kB / 0.5306 GB, free: 3.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.6468, allocations: 7.188 kB / 0.5306 GB, free: 3.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.6469, allocations: 322.2 kB / 0.5309 GB, free: 3.516 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.647, allocations: 36.56 kB / 0.5309 GB, free: 3.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.6471, allocations: 55.14 kB / 0.531 GB, free: 3.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.039e-05/0.6471, allocations: 66.12 kB / 0.531 GB, free: 3.391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.6472, allocations: 0 / 0.531 GB, free: 3.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000219/0.6474, allocations: 181.5 kB / 0.5312 GB, free: 3.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.6474, allocations: 33.7 kB / 0.5313 GB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6474, allocations: 4.031 kB / 0.5313 GB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.6475, allocations: 0 / 0.5313 GB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/0.6476, allocations: 23.92 kB / 0.5313 GB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6476, allocations: 0 / 0.5313 GB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.6476, allocations: 7.25 kB / 0.5313 GB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.6476, allocations: 4.188 kB / 0.5313 GB, free: 3.16 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.626e-05/0.6477, allocations: 115.9 kB / 0.5314 GB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.6477, allocations: 11.86 kB / 0.5314 GB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.648, allocations: 119.4 kB / 0.5315 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.648, allocations: 7.984 kB / 0.5315 GB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.648, allocations: 3.984 kB / 0.5315 GB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.648, allocations: 0 / 0.5315 GB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.6484, allocations: 403.6 kB / 0.5319 GB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6484, allocations: 0 / 0.5319 GB, free: 2.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.6484, allocations: 12 kB / 0.5319 GB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6484, allocations: 3.938 kB / 0.5319 GB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.6484, allocations: 4.031 kB / 0.5319 GB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6485, allocations: 4 kB / 0.5319 GB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6485, allocations: 0 / 0.5319 GB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.6486, allocations: 217.8 kB / 0.5322 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.6487, allocations: 96.61 kB / 0.5322 GB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.6487, allocations: 7.312 kB / 0.5323 GB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.6488, allocations: 4 kB / 0.5323 GB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.6488, allocations: 11.92 kB / 0.5323 GB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.6489, allocations: 7.312 kB / 0.5323 GB, free: 2.137 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.023e-05/0.6489, allocations: 114.1 kB / 0.5324 GB, free: 2.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6489, allocations: 0 / 0.5324 GB, free: 2.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.6492, allocations: 35.88 kB / 0.5324 GB, free: 2.004 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.0009615/0.6501, allocations: 393.5 kB / 0.5328 GB, free: 1.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.6504, allocations: 162.8 kB / 0.5329 GB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6504, allocations: 0 / 0.5329 GB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.6504, allocations: 42.59 kB / 0.533 GB, free: 1.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.6507, allocations: 19.56 kB / 0.533 GB, free: 1.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.651, allocations: 148.3 kB / 0.5331 GB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.6512, allocations: 0.7084 MB / 0.5338 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.275e-05/0.6513, allocations: 8.438 kB / 0.5338 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.6513, allocations: 19.42 kB / 0.5339 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6513, allocations: 0 / 0.5339 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of Templates: time 0.004627/0.656, allocations: 1.696 MB / 0.5355 GB, free: 14.92 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)