Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01318/0.01318, allocations: 174.8 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.659/1.659, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001666/0.001666, allocations: 120.6 kB / 255.6 MB, free: 10.15 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.1999/0.1999, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 13.06 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 54.87 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.2634, allocations: 82.9 MB / 0.5312 GB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.2638, allocations: 83.84 kB / 0.5313 GB, free: 212 kB / 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. Notification: Performance of FrontEnd - DAE generated: time 0.27/0.5338, allocations: 3.586 MB / 0.5348 GB, free: 83.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.5338, allocations: 1.188 kB / 0.5348 GB, free: 83.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.5338, allocations: 6.406 kB / 0.5348 GB, free: 83.5 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007903/0.5346, allocations: 0.5135 MB / 0.5353 GB, free: 83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.5347, allocations: 12.69 kB / 0.5353 GB, free: 82.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.149e-05/0.5348, allocations: 19.48 kB / 0.5353 GB, free: 82.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.5351, allocations: 210.1 kB / 0.5355 GB, free: 82.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.5352, allocations: 7.5 kB / 0.5355 GB, free: 82.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.5352, allocations: 9.688 kB / 0.5355 GB, free: 82.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.5355, allocations: 82.92 kB / 0.5356 GB, free: 82.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.5355, allocations: 0.9688 kB / 0.5356 GB, free: 82.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.5355, allocations: 1.484 kB / 0.5356 GB, free: 82.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5356, allocations: 8.922 kB / 0.5356 GB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.5357, allocations: 52.64 kB / 0.5357 GB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.5363, allocations: 371.8 kB / 0.536 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.5367, allocations: 96.23 kB / 0.5361 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.5367, allocations: 3.031 kB / 0.5361 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.5369, allocations: 86.53 kB / 0.5362 GB, free: 82.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.5369, allocations: 0 / 0.5362 GB, free: 82.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004798/0.5374, allocations: 158.7 kB / 0.5364 GB, free: 82.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.5374, allocations: 56.52 kB / 0.5364 GB, free: 82.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.5376, allocations: 157.9 kB / 0.5366 GB, free: 82.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.5377, allocations: 28.17 kB / 0.5366 GB, free: 82.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.5377, allocations: 113 kB / 0.5367 GB, free: 82.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.5378, allocations: 26.42 kB / 0.5367 GB, free: 82.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.5378, allocations: 1.031 kB / 0.5367 GB, free: 82.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.5379, allocations: 325.5 kB / 0.537 GB, free: 81.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.538, allocations: 44.16 kB / 0.5371 GB, free: 81.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.5382, allocations: 76.89 kB / 0.5371 GB, free: 81.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.5384, allocations: 80.2 kB / 0.5372 GB, free: 81.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5384, allocations: 1 kB / 0.5372 GB, free: 81.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004071/0.5388, allocations: 202.8 kB / 0.5374 GB, free: 81.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.5388, allocations: 46.55 kB / 0.5375 GB, free: 81.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.5389, allocations: 1 kB / 0.5375 GB, free: 81.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.5389, allocations: 2.609 kB / 0.5375 GB, free: 81.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.539, allocations: 24.78 kB / 0.5375 GB, free: 81.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.539, allocations: 0.7812 kB / 0.5375 GB, free: 81.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.744e-05/0.5391, allocations: 21.23 kB / 0.5375 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.5391, allocations: 8.734 kB / 0.5375 GB, free: 81.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.000171/0.5393, allocations: 124.7 kB / 0.5376 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.5393, allocations: 18.28 kB / 0.5376 GB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.5397, allocations: 133 kB / 0.5378 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5397, allocations: 2.141 kB / 0.5378 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5397, allocations: 1.156 kB / 0.5378 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5397, allocations: 0.7031 kB / 0.5378 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.5399, allocations: 212.2 kB / 0.538 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5399, allocations: 0.6094 kB / 0.538 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.54, allocations: 21.66 kB / 0.538 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.54, allocations: 5.641 kB / 0.538 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.54, allocations: 9.625 kB / 0.538 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.54, allocations: 1.672 kB / 0.538 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.54, allocations: 0 / 0.538 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.5405, allocations: 198 kB / 0.5382 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.5406, allocations: 103.2 kB / 0.5383 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.5406, allocations: 6.484 kB / 0.5383 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.5407, allocations: 10.78 kB / 0.5383 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.5407, allocations: 7.906 kB / 0.5383 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5407, allocations: 4.047 kB / 0.5383 GB, free: 80.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.5408, allocations: 130.8 kB / 0.5385 GB, free: 80.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5409, allocations: 0 / 0.5385 GB, free: 80.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.5411, allocations: 48.83 kB / 0.5385 GB, free: 80.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008151/0.5419, allocations: 385.3 kB / 0.5389 GB, free: 80.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.5423, allocations: 192.4 kB / 0.5391 GB, free: 80.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5423, allocations: 1.312 kB / 0.5391 GB, free: 80.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.5424, allocations: 45.55 kB / 0.5391 GB, free: 80.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.5427, allocations: 27.03 kB / 0.5391 GB, free: 80.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.5433, allocations: 285.2 kB / 0.5394 GB, free: 80.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.5435, allocations: 0.7162 MB / 0.5401 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.177e-05/0.5436, allocations: 12.02 kB / 0.5401 GB, free: 79.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.5436, allocations: 19.89 kB / 0.5401 GB, free: 79.65 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5436, allocations: 0 / 0.5401 GB, free: 79.65 MB / 378.7 MB Notification: Performance of Templates: time 0.005387/0.549, allocations: 1.79 MB / 0.5419 GB, free: 79.46 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)