Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00653/0.00653, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.656/1.656, allocations: 194.5 MB / 210.3 MB, free: 8.574 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.00165/0.00165, allocations: 112.6 kB / 255.6 MB, free: 11.19 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.2412/0.2412, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004655, allocations: 13.66 kB / 406.2 MB, free: 52.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1441, allocations: 54.88 MB / 461 MB, free: 3.406 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.282, allocations: 82.18 MB / 0.5305 GB, free: 1.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.2823, allocations: 75.97 kB / 0.5306 GB, free: 1.035 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3442/0.6265, allocations: 5.355 MB / 0.5358 GB, free: 83.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6266, allocations: 0 / 0.5358 GB, free: 83.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.6266, allocations: 2.562 kB / 0.5358 GB, free: 83.01 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008705/0.6275, allocations: 0.5768 MB / 0.5364 GB, free: 82.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.791e-05/0.6276, allocations: 9.078 kB / 0.5364 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.699e-05/0.6276, allocations: 17.28 kB / 0.5364 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.6281, allocations: 232 kB / 0.5366 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.6282, allocations: 4.219 kB / 0.5366 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.6282, allocations: 5.5 kB / 0.5366 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.6286, allocations: 106 kB / 0.5367 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6286, allocations: 1.438 kB / 0.5367 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.6286, allocations: 11.98 kB / 0.5367 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.6286, allocations: 1.75 kB / 0.5367 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.6288, allocations: 34.14 kB / 0.5368 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.6292, allocations: 230.7 kB / 0.537 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.6296, allocations: 116.2 kB / 0.5371 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.6296, allocations: 0 / 0.5371 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.6299, allocations: 113 kB / 0.5372 GB, free: 81.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.966e-06/0.6299, allocations: 5.375 kB / 0.5372 GB, free: 81.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006187/0.6306, allocations: 186.5 kB / 0.5374 GB, free: 81.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.6307, allocations: 131.6 kB / 0.5375 GB, free: 81.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.631, allocations: 196.4 kB / 0.5377 GB, free: 81.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.631, allocations: 28.8 kB / 0.5377 GB, free: 81.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.6311, allocations: 106.5 kB / 0.5378 GB, free: 81.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.6311, allocations: 23.2 kB / 0.5378 GB, free: 81.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.6312, allocations: 5.844 kB / 0.5378 GB, free: 81.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6313, allocations: 330.6 kB / 0.5382 GB, free: 81.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.6314, allocations: 51.17 kB / 0.5382 GB, free: 81.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.6316, allocations: 101.1 kB / 0.5383 GB, free: 81.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.6318, allocations: 117.1 kB / 0.5384 GB, free: 80.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6319, allocations: 0.5 kB / 0.5384 GB, free: 80.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005179/0.6324, allocations: 255.2 kB / 0.5387 GB, free: 80.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.319e-05/0.6325, allocations: 69.47 kB / 0.5387 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6325, allocations: 1.156 kB / 0.5387 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.6325, allocations: 1 kB / 0.5387 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.6327, allocations: 26.17 kB / 0.5388 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.6327, allocations: 5.984 kB / 0.5388 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.6329, allocations: 27.73 kB / 0.5388 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.6329, allocations: 10.31 kB / 0.5388 GB, free: 80.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0002024/0.6331, allocations: 129.7 kB / 0.5389 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.6331, allocations: 16 kB / 0.5389 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.6336, allocations: 159.1 kB / 0.5391 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6336, allocations: 1.312 kB / 0.5391 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.6337, allocations: 1.953 kB / 0.5391 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6337, allocations: 7.953 kB / 0.5391 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.634, allocations: 219.1 kB / 0.5393 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.634, allocations: 0 / 0.5393 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.634, allocations: 13.69 kB / 0.5393 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.634, allocations: 5.125 kB / 0.5393 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.6341, allocations: 4.391 kB / 0.5393 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.6341, allocations: 1.375 kB / 0.5393 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.6341, allocations: 1.469 kB / 0.5393 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.6345, allocations: 202.3 kB / 0.5395 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.6347, allocations: 110.2 kB / 0.5396 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.6347, allocations: 10.23 kB / 0.5396 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.6348, allocations: 7.234 kB / 0.5396 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.6349, allocations: 13.47 kB / 0.5397 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.6349, allocations: 9.281 kB / 0.5397 GB, free: 80.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002152/0.6352, allocations: 151.6 kB / 0.5398 GB, free: 80.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6352, allocations: 4 kB / 0.5398 GB, free: 80.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000448/0.6356, allocations: 73.75 kB / 0.5399 GB, free: 80.06 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00183/0.6375, allocations: 0.6983 MB / 0.5406 GB, free: 79.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005814/0.6381, allocations: 266.5 kB / 0.5408 GB, free: 79.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6381, allocations: 0 / 0.5408 GB, free: 79.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.6382, allocations: 50.08 kB / 0.5409 GB, free: 79.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.6386, allocations: 35.8 kB / 0.5409 GB, free: 79.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.6393, allocations: 282.6 kB / 0.5412 GB, free: 79.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.6396, allocations: 0.7219 MB / 0.5419 GB, free: 78.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.6397, allocations: 24.55 kB / 0.5419 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.6398, allocations: 26.22 kB / 0.5419 GB, free: 78.54 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6398, allocations: 0 / 0.5419 GB, free: 78.54 MB / 378.7 MB Notification: Performance of Templates: time 0.008301/0.6481, allocations: 2.98 MB / 0.5448 GB, free: 77.55 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1)