Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01249/0.01249, allocations: 176.1 kB / 15.12 MB, free: 6.039 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.583/1.583, allocations: 194.5 MB / 210.3 MB, free: 7.629 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.001695/0.001695, allocations: 128.6 kB / 255.6 MB, free: 10.23 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.1896/0.1896, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004174, allocations: 13.12 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.255, allocations: 82.14 MB / 0.5305 GB, free: 1.055 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.2554, allocations: 71.95 kB / 0.5305 GB, free: 0.9844 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.3189/0.5742, allocations: 4.591 MB / 0.535 GB, free: 83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5743, allocations: 0 / 0.535 GB, free: 83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.5743, allocations: 2.062 kB / 0.535 GB, free: 83 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.0006107/0.5749, allocations: 478 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.575, allocations: 8.812 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.5751, allocations: 10.2 kB / 0.5355 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.5754, allocations: 205.5 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.5754, allocations: 2.031 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.5754, allocations: 7.312 kB / 0.5357 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.5756, allocations: 57.75 kB / 0.5357 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5756, allocations: 0 / 0.5357 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.5757, allocations: 13.17 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5757, allocations: 5.438 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.519e-05/0.5758, allocations: 19.86 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.5763, allocations: 308.5 kB / 0.5361 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.5765, allocations: 62.34 kB / 0.5361 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.5765, allocations: 0 / 0.5361 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.5767, allocations: 75.05 kB / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.926e-06/0.5767, allocations: 0 / 0.5362 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006488/0.5774, allocations: 192.1 kB / 0.5364 GB, free: 81.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.5774, allocations: 57.23 kB / 0.5364 GB, free: 81.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.5776, allocations: 164.4 kB / 0.5366 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.5777, allocations: 28.56 kB / 0.5366 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.5777, allocations: 106.3 kB / 0.5367 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.5778, allocations: 26.67 kB / 0.5368 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.5778, allocations: 2.156 kB / 0.5368 GB, free: 81.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.5779, allocations: 322.2 kB / 0.5371 GB, free: 81.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.578, allocations: 37.14 kB / 0.5371 GB, free: 81.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.5781, allocations: 59.11 kB / 0.5372 GB, free: 81.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.5782, allocations: 72.84 kB / 0.5372 GB, free: 81.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5782, allocations: 5.219 kB / 0.5372 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003128/0.5786, allocations: 172.7 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.5786, allocations: 39.42 kB / 0.5374 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5786, allocations: 5.188 kB / 0.5374 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5787, allocations: 2.391 kB / 0.5374 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.5788, allocations: 14.62 kB / 0.5375 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.5788, allocations: 1.062 kB / 0.5375 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.5788, allocations: 9.375 kB / 0.5375 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.5789, allocations: 4.844 kB / 0.5375 GB, free: 81.1 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.0001054/0.579, allocations: 131.6 kB / 0.5376 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.579, allocations: 9.312 kB / 0.5376 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.5793, allocations: 135.3 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5793, allocations: 1.344 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5793, allocations: 0 / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5793, allocations: 1.766 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.5799, allocations: 413.7 kB / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5799, allocations: 1.188 kB / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.5799, allocations: 14.56 kB / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.5799, allocations: 1.859 kB / 0.5381 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5799, allocations: 1.75 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.58, allocations: 2.359 kB / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.58, allocations: 0 / 0.5382 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.5802, allocations: 233.2 kB / 0.5384 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.5803, allocations: 100.7 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.5803, allocations: 2.672 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.5804, allocations: 3.484 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.5805, allocations: 9.391 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5805, allocations: 4.781 kB / 0.5385 GB, free: 80.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.5806, allocations: 136.9 kB / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5806, allocations: 0 / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.581, allocations: 49.38 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.001051/0.582, allocations: 435.3 kB / 0.5391 GB, free: 79.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.5824, allocations: 172.6 kB / 0.5392 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5824, allocations: 0 / 0.5392 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.5825, allocations: 35.89 kB / 0.5393 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.5828, allocations: 28.23 kB / 0.5393 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006919/0.5835, allocations: 246 kB / 0.5395 GB, free: 79.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.5839, allocations: 0.7087 MB / 0.5402 GB, free: 79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.441e-05/0.584, allocations: 17.56 kB / 0.5403 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.5841, allocations: 17.36 kB / 0.5403 GB, free: 78.98 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5841, allocations: 0 / 0.5403 GB, free: 78.98 MB / 378.7 MB Notification: Performance of Templates: time 0.006803/0.5909, allocations: 1.725 MB / 0.542 GB, free: 78.79 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)