Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001439/0.001439, allocations: 181.8 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.731/1.731, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001814/0.001814, allocations: 113.5 kB / 252.6 MB, free: 4.781 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.2298/0.2298, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.118e-05/6.124e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 54.87 MB / 455.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.5332, allocations: 82.17 MB / 0.5247 GB, free: 8.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.5336, allocations: 66.66 kB / 0.5248 GB, free: 8.895 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. [/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.01679/0.5504, allocations: 6.93 MB / 0.5316 GB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5505, allocations: 0 / 0.5316 GB, free: 3.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.5505, allocations: 4 kB / 0.5316 GB, free: 3.383 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006131/0.5511, allocations: 0.6029 MB / 0.5322 GB, free: 2.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.5512, allocations: 8.031 kB / 0.5322 GB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.5513, allocations: 31.62 kB / 0.5322 GB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.5517, allocations: 277.5 kB / 0.5325 GB, free: 2.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5517, allocations: 12 kB / 0.5325 GB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.5518, allocations: 18.05 kB / 0.5325 GB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.552, allocations: 97.92 kB / 0.5326 GB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.552, allocations: 0 / 0.5326 GB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.552, allocations: 3.938 kB / 0.5326 GB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.552, allocations: 4 kB / 0.5326 GB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.5521, allocations: 41.11 kB / 0.5326 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.5527, allocations: 0.5041 MB / 0.5331 GB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.5528, allocations: 107.5 kB / 0.5332 GB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.665e-05/0.5529, allocations: 50.33 kB / 0.5333 GB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.5529, allocations: 4 kB / 0.5333 GB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.5531, allocations: 106.2 kB / 0.5334 GB, free: 1.488 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.5531, allocations: 0 / 0.5334 GB, free: 1.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007047/0.5539, allocations: 338.9 kB / 0.5337 GB, free: 1.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.5539, allocations: 92.53 kB / 0.5338 GB, free: 1.098 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.5543, allocations: 379.8 kB / 0.5341 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.5543, allocations: 33.27 kB / 0.5342 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.5544, allocations: 152.5 kB / 0.5343 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.5544, allocations: 42.61 kB / 0.5344 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.5544, allocations: 4 kB / 0.5344 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.5545, allocations: 345.1 kB / 0.5347 GB, free: 280 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.5546, allocations: 73.73 kB / 0.5348 GB, free: 228 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.5548, allocations: 109.6 kB / 0.5349 GB, free: 140 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.5549, allocations: 144.2 kB / 0.535 GB, free: 12 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.555, allocations: 0 / 0.535 GB, free: 12 kB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005159/0.5555, allocations: 324.7 kB / 0.5353 GB, free: 15.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.578e-05/0.5556, allocations: 70.77 kB / 0.5354 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5556, allocations: 0 / 0.5354 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5556, allocations: 0 / 0.5354 GB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.5558, allocations: 40.36 kB / 0.5354 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5558, allocations: 4.156 kB / 0.5354 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.5559, allocations: 23.42 kB / 0.5355 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.5559, allocations: 11.98 kB / 0.5355 GB, free: 15.59 MB / 362.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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0001187/0.556, allocations: 123.6 kB / 0.5356 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.5561, allocations: 31.62 kB / 0.5356 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.5565, allocations: 210.3 kB / 0.5358 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5565, allocations: 8 kB / 0.5358 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5565, allocations: 0 / 0.5358 GB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.5566, allocations: 7.969 kB / 0.5358 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008545/0.5574, allocations: 0.6791 MB / 0.5365 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5574, allocations: 0 / 0.5365 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-05/0.5575, allocations: 27.92 kB / 0.5365 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5575, allocations: 4.062 kB / 0.5365 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.5576, allocations: 4 kB / 0.5365 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5576, allocations: 0 / 0.5365 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.219e-05/0.5576, allocations: 4 kB / 0.5365 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.558, allocations: 418.2 kB / 0.5369 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.5582, allocations: 138 kB / 0.5371 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.5582, allocations: 7.5 kB / 0.5371 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.5584, allocations: 4 kB / 0.5371 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.5584, allocations: 19.11 kB / 0.5371 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.5585, allocations: 11.98 kB / 0.5371 GB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002887/0.5588, allocations: 306.5 kB / 0.5374 GB, free: 13.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5588, allocations: 0 / 0.5374 GB, free: 13.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004551/0.5592, allocations: 94.3 kB / 0.5375 GB, free: 13.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001402/0.5606, allocations: 0.5844 MB / 0.5381 GB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004681/0.5611, allocations: 328.1 kB / 0.5384 GB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5611, allocations: 0 / 0.5384 GB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.5613, allocations: 67.48 kB / 0.5384 GB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.5617, allocations: 46.08 kB / 0.5385 GB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.5624, allocations: 403.1 kB / 0.5389 GB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.5629, allocations: 0.7815 MB / 0.5396 GB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.563, allocations: 36.62 kB / 0.5397 GB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.5631, allocations: 23.42 kB / 0.5397 GB, free: 11.59 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5631, allocations: 8 kB / 0.5397 GB, free: 11.58 MB / 362.7 MB Notification: Performance of Templates: time 0.00757/0.5707, allocations: 3.446 MB / 0.5431 GB, free: 8.164 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1)