Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002019/0.002019, 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.923/1.923, 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.001622/0.001622, allocations: 112.2 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.2402/0.2402, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.704e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4935/0.6316, allocations: 82.8 MB / 0.5254 GB, free: 8.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.632, allocations: 73.02 kB / 0.5254 GB, free: 8.43 MB / 346.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.009273/0.6413, allocations: 3.595 MB / 0.5289 GB, free: 5.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6413, allocations: 0 / 0.5289 GB, free: 5.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.6414, allocations: 8 kB / 0.5289 GB, free: 5.594 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004741/0.6418, allocations: 0.4977 MB / 0.5294 GB, free: 5.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.6419, allocations: 12.03 kB / 0.5294 GB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.642, allocations: 15.77 kB / 0.5295 GB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.6423, allocations: 219.8 kB / 0.5297 GB, free: 4.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.6423, allocations: 7.812 kB / 0.5297 GB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.6423, allocations: 8 kB / 0.5297 GB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.6425, allocations: 76.84 kB / 0.5298 GB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6425, allocations: 0 / 0.5298 GB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.6425, allocations: 0 / 0.5298 GB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.6425, allocations: 11.95 kB / 0.5298 GB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.442e-05/0.6426, allocations: 31.25 kB / 0.5298 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.6431, allocations: 369.6 kB / 0.5301 GB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.6434, allocations: 91.67 kB / 0.5302 GB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.6434, allocations: 31.55 kB / 0.5303 GB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.6435, allocations: 4 kB / 0.5303 GB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.6436, allocations: 82.62 kB / 0.5303 GB, free: 4.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.6436, allocations: 0 / 0.5303 GB, free: 4.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000223/0.6439, allocations: 114 kB / 0.5305 GB, free: 4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.6439, allocations: 55.41 kB / 0.5305 GB, free: 3.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.644, allocations: 159.5 kB / 0.5307 GB, free: 3.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.6441, allocations: 32.77 kB / 0.5307 GB, free: 3.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.6441, allocations: 102.2 kB / 0.5308 GB, free: 3.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.6441, allocations: 29.2 kB / 0.5308 GB, free: 3.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.6442, allocations: 4 kB / 0.5308 GB, free: 3.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.6442, allocations: 321.4 kB / 0.5311 GB, free: 3.312 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.6443, allocations: 37.94 kB / 0.5312 GB, free: 3.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.6444, allocations: 60.94 kB / 0.5312 GB, free: 3.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.243e-05/0.6445, allocations: 80.62 kB / 0.5313 GB, free: 3.168 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6445, allocations: 0 / 0.5313 GB, free: 3.168 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002128/0.6447, allocations: 191.6 kB / 0.5315 GB, free: 3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.6448, allocations: 33.7 kB / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6448, allocations: 3.938 kB / 0.5315 GB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6448, allocations: 4.062 kB / 0.5315 GB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.6449, allocations: 23.98 kB / 0.5315 GB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6449, allocations: 0 / 0.5315 GB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.645, allocations: 19.14 kB / 0.5316 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.645, allocations: 8 kB / 0.5316 GB, free: 2.906 MB / 346.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 () * 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 6.706e-05/0.6451, allocations: 116.5 kB / 0.5317 GB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.6451, allocations: 11.86 kB / 0.5317 GB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.6453, allocations: 124.7 kB / 0.5318 GB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.6453, allocations: 8 kB / 0.5318 GB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6453, allocations: 0 / 0.5318 GB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6453, allocations: 0 / 0.5318 GB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.6455, allocations: 210.2 kB / 0.532 GB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6455, allocations: 0 / 0.532 GB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.6456, allocations: 19.23 kB / 0.532 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6456, allocations: 0 / 0.532 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.6456, allocations: 3.953 kB / 0.532 GB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6456, allocations: 4 kB / 0.532 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.6456, allocations: 0 / 0.532 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.6459, allocations: 176.5 kB / 0.5322 GB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.646, allocations: 100.1 kB / 0.5323 GB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.646, allocations: 0 / 0.5323 GB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.6461, allocations: 19.69 kB / 0.5323 GB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.6462, allocations: 4 kB / 0.5323 GB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.6462, allocations: 3.984 kB / 0.5323 GB, free: 2.109 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.004e-05/0.6463, allocations: 134.1 kB / 0.5325 GB, free: 1.992 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6463, allocations: 0 / 0.5325 GB, free: 1.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.6465, allocations: 43.12 kB / 0.5325 GB, free: 1.957 MB / 346.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) * 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.0007957/0.6473, allocations: 359.1 kB / 0.5328 GB, free: 1.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.6476, allocations: 168.6 kB / 0.533 GB, free: 1.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6476, allocations: 0 / 0.533 GB, free: 1.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.6476, allocations: 38.05 kB / 0.533 GB, free: 1.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.6479, allocations: 23.8 kB / 0.5331 GB, free: 1.496 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.6482, allocations: 183.7 kB / 0.5332 GB, free: 1.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.6484, allocations: 0.7123 MB / 0.5339 GB, free: 0.582 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.6485, allocations: 16.53 kB / 0.534 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.6485, allocations: 15.44 kB / 0.534 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6485, allocations: 0 / 0.534 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of Templates: time 0.004893/0.6534, allocations: 1.798 MB / 0.5357 GB, free: 14.77 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1)