Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009576/0.0009575, allocations: 177.1 kB / 7.653 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.487/1.487, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.001741/0.001741, allocations: 104.4 kB / 247.4 MB, free: 15.97 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.1904/0.1904, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.841e-05, allocations: 4 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2486, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3552, allocations: 81.36 MB / 0.5172 GB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.3556, allocations: 75.95 kB / 0.5172 GB, free: 12.13 MB / 378.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. Notification: Performance of FrontEnd - DAE generated: time 0.01267/0.3682, allocations: 4.377 MB / 0.5215 GB, free: 7.746 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3683, allocations: 0 / 0.5215 GB, free: 7.746 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3683, allocations: 0 / 0.5215 GB, free: 7.746 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004758/0.3688, allocations: 455.5 kB / 0.5219 GB, free: 7.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3688, allocations: 11.97 kB / 0.5219 GB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.3689, allocations: 15.81 kB / 0.522 GB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.3692, allocations: 211.4 kB / 0.5222 GB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3692, allocations: 0 / 0.5222 GB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3692, allocations: 4 kB / 0.5222 GB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.911e-05/0.3693, allocations: 19.98 kB / 0.5222 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.995e-05/0.3694, allocations: 49.69 kB / 0.5222 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3694, allocations: 3.953 kB / 0.5222 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3695, allocations: 4 kB / 0.5222 GB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3695, allocations: 0 / 0.5222 GB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.3698, allocations: 289.4 kB / 0.5225 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.3699, allocations: 46.7 kB / 0.5226 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.37, allocations: 20.97 kB / 0.5226 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.37, allocations: 7.984 kB / 0.5226 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.3701, allocations: 67.34 kB / 0.5227 GB, free: 6.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.816e-06/0.3702, allocations: 0 / 0.5227 GB, free: 6.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004287/0.3706, allocations: 157.1 kB / 0.5228 GB, free: 6.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3706, allocations: 51.41 kB / 0.5229 GB, free: 6.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3708, allocations: 153.5 kB / 0.523 GB, free: 6.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3708, allocations: 29.7 kB / 0.523 GB, free: 5.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.3709, allocations: 100.1 kB / 0.5231 GB, free: 5.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.3709, allocations: 23.66 kB / 0.5231 GB, free: 5.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.3709, allocations: 0 / 0.5231 GB, free: 5.852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.371, allocations: 323.5 kB / 0.5235 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.3711, allocations: 28 kB / 0.5235 GB, free: 5.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.3712, allocations: 57.64 kB / 0.5235 GB, free: 5.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.943e-05/0.3713, allocations: 31.98 kB / 0.5236 GB, free: 5.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3713, allocations: 0 / 0.5236 GB, free: 5.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002047/0.3715, allocations: 129.6 kB / 0.5237 GB, free: 5.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.3716, allocations: 41.38 kB / 0.5237 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3716, allocations: 11.89 kB / 0.5237 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3716, allocations: 3.938 kB / 0.5237 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.3717, allocations: 16 kB / 0.5238 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3717, allocations: 0 / 0.5238 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.3718, allocations: 11.92 kB / 0.5238 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.3718, allocations: 8 kB / 0.5238 GB, free: 5.18 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 7.28e-05/0.3719, allocations: 109 kB / 0.5239 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.3719, allocations: 12 kB / 0.5239 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.3721, allocations: 114.3 kB / 0.524 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3721, allocations: 3.953 kB / 0.524 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3721, allocations: 8 kB / 0.524 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3722, allocations: 0 / 0.524 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.3725, allocations: 367.9 kB / 0.5244 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3726, allocations: 0 / 0.5244 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.3726, allocations: 12.03 kB / 0.5244 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3726, allocations: 7.953 kB / 0.5244 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.3726, allocations: 0 / 0.5244 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3726, allocations: 3.984 kB / 0.5244 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3726, allocations: 4 kB / 0.5244 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.3729, allocations: 213.9 kB / 0.5246 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.3729, allocations: 105 kB / 0.5247 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.373, allocations: 0 / 0.5247 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.373, allocations: 4 kB / 0.5247 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.3731, allocations: 7.922 kB / 0.5247 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3731, allocations: 4 kB / 0.5247 GB, free: 4.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.397e-05/0.3732, allocations: 123.3 kB / 0.5248 GB, free: 3.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3732, allocations: 0 / 0.5248 GB, free: 3.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002778/0.3735, allocations: 39.92 kB / 0.5249 GB, free: 3.957 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: 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 (9): * Single equations (assignments): 7 * 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.0007828/0.3743, allocations: 364.1 kB / 0.5252 GB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.3745, allocations: 163.3 kB / 0.5254 GB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3745, allocations: 0 / 0.5254 GB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.033e-05/0.3746, allocations: 27.94 kB / 0.5254 GB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.3748, allocations: 16.11 kB / 0.5254 GB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.3752, allocations: 150.3 kB / 0.5256 GB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3755, allocations: 0.7118 MB / 0.5263 GB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.234e-05/0.3755, allocations: 12.58 kB / 0.5263 GB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.3756, allocations: 19.42 kB / 0.5263 GB, free: 2.488 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3756, allocations: 4 kB / 0.5263 GB, free: 2.484 MB / 378.7 MB Notification: Performance of Templates: time 0.00419/0.3798, allocations: 1.631 MB / 0.5279 GB, free: 0.8633 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)