Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006909/0.006909, allocations: 177.6 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.895/1.895, allocations: 194.5 MB / 210.3 MB, free: 7.555 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.001888/0.001888, allocations: 116.7 kB / 255.6 MB, free: 10.16 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.2015/0.2015, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.0003912, allocations: 17.72 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1141, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.2382, allocations: 82 MB / 0.5303 GB, free: 1.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.2385, allocations: 71.97 kB / 0.5304 GB, free: 1.125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.2446/0.4831, allocations: 4.416 MB / 0.5347 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4831, allocations: 0 / 0.5347 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.4831, allocations: 7.344 kB / 0.5347 GB, free: 82.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004766/0.4836, allocations: 451.9 kB / 0.5351 GB, free: 82.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4837, allocations: 17.53 kB / 0.5351 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.4837, allocations: 16.86 kB / 0.5352 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.484, allocations: 204.9 kB / 0.5354 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.484, allocations: 2.656 kB / 0.5354 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.484, allocations: 8.75 kB / 0.5354 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.4842, allocations: 55 kB / 0.5354 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.4842, allocations: 0 / 0.5354 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4842, allocations: 5.609 kB / 0.5354 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4842, allocations: 5.797 kB / 0.5354 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.731e-05/0.4843, allocations: 20.16 kB / 0.5355 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.4845, allocations: 192.5 kB / 0.5356 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.4847, allocations: 54.92 kB / 0.5357 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.4847, allocations: 0 / 0.5357 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.4849, allocations: 70.47 kB / 0.5358 GB, free: 81.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.4849, allocations: 4 kB / 0.5358 GB, free: 81.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003824/0.4853, allocations: 99.09 kB / 0.5359 GB, free: 81.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.4853, allocations: 57.2 kB / 0.5359 GB, free: 81.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4855, allocations: 169.1 kB / 0.5361 GB, free: 81.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4855, allocations: 31.7 kB / 0.5361 GB, free: 81.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.4856, allocations: 96.33 kB / 0.5362 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.4856, allocations: 14.34 kB / 0.5362 GB, free: 81.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.4856, allocations: 2.344 kB / 0.5362 GB, free: 81.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.4857, allocations: 324.7 kB / 0.5365 GB, free: 81.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.4858, allocations: 30.27 kB / 0.5365 GB, free: 81.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.533e-05/0.4859, allocations: 51.58 kB / 0.5366 GB, free: 81.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.486, allocations: 66.12 kB / 0.5367 GB, free: 81.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.486, allocations: 0 / 0.5367 GB, free: 81.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002725/0.4863, allocations: 157.6 kB / 0.5368 GB, free: 81.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.4864, allocations: 37.02 kB / 0.5368 GB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4864, allocations: 4.031 kB / 0.5368 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4864, allocations: 5.094 kB / 0.5369 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.4865, allocations: 12.22 kB / 0.5369 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.4865, allocations: 0.8438 kB / 0.5369 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.4866, allocations: 10.11 kB / 0.5369 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.4866, allocations: 8.828 kB / 0.5369 GB, free: 81.16 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 (8): * Single equations (assignments): 7 * 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 8.956e-05/0.4867, allocations: 128.8 kB / 0.537 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.4867, allocations: 16.23 kB / 0.537 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.4869, allocations: 94.2 kB / 0.5371 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.487, allocations: 1.797 kB / 0.5371 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.487, allocations: 1.031 kB / 0.5371 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.487, allocations: 0 / 0.5371 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.4871, allocations: 194.6 kB / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4871, allocations: 0 / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.4872, allocations: 10.91 kB / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4872, allocations: 0 / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4872, allocations: 4.406 kB / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4872, allocations: 0.7344 kB / 0.5373 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4872, allocations: 7.984 kB / 0.5373 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.4874, allocations: 119.5 kB / 0.5374 GB, free: 80.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.706e-05/0.4875, allocations: 95.34 kB / 0.5375 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.4875, allocations: 1.578 kB / 0.5375 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.244e-05/0.4876, allocations: 3.016 kB / 0.5375 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.4876, allocations: 3.562 kB / 0.5375 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.4876, allocations: 3.562 kB / 0.5375 GB, free: 80.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.4878, allocations: 142.4 kB / 0.5377 GB, free: 80.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4878, allocations: 0 / 0.5377 GB, free: 80.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002544/0.488, allocations: 30.94 kB / 0.5377 GB, free: 80.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.000967/0.489, allocations: 381.7 kB / 0.5381 GB, free: 80.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.4893, allocations: 149.1 kB / 0.5382 GB, free: 80.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4893, allocations: 0 / 0.5382 GB, free: 80.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.768e-05/0.4894, allocations: 25.61 kB / 0.5382 GB, free: 80.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.4896, allocations: 22.33 kB / 0.5383 GB, free: 80.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.4901, allocations: 220.9 kB / 0.5385 GB, free: 80.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.4903, allocations: 0.7041 MB / 0.5392 GB, free: 79.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.694e-05/0.4903, allocations: 14.23 kB / 0.5392 GB, free: 79.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.4904, allocations: 17.66 kB / 0.5392 GB, free: 79.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4904, allocations: 0 / 0.5392 GB, free: 79.34 MB / 378.7 MB Notification: Performance of Templates: time 0.004699/0.4951, allocations: 1.509 MB / 0.5407 GB, free: 79.17 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)