Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001498/0.001498, 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.85/1.85, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001608/0.001608, allocations: 98.78 kB / 252.6 MB, free: 4.812 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.2353/0.2353, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.255e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1236, allocations: 54.87 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.564, allocations: 82.05 MB / 0.5246 GB, free: 9.008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.5643, allocations: 72.66 kB / 0.5247 GB, free: 8.973 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. Notification: Performance of FrontEnd - DAE generated: time 0.01205/0.5764, allocations: 4.757 MB / 0.5293 GB, free: 5.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5764, allocations: 0 / 0.5293 GB, free: 5.195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.5764, allocations: 7.938 kB / 0.5293 GB, free: 5.188 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004214/0.5768, allocations: 469.2 kB / 0.5298 GB, free: 4.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5769, allocations: 8.031 kB / 0.5298 GB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.5769, allocations: 11.91 kB / 0.5298 GB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.5772, allocations: 217.1 kB / 0.53 GB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.5772, allocations: 4 kB / 0.53 GB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.5773, allocations: 7.25 kB / 0.53 GB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.5774, allocations: 60.48 kB / 0.5301 GB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5774, allocations: 0 / 0.5301 GB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.5775, allocations: 7.938 kB / 0.5301 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5775, allocations: 0 / 0.5301 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.423e-05/0.5775, allocations: 23.06 kB / 0.5301 GB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.5779, allocations: 314 kB / 0.5304 GB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.5781, allocations: 57.44 kB / 0.5305 GB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.5781, allocations: 20.61 kB / 0.5305 GB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.5781, allocations: 0 / 0.5305 GB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.5783, allocations: 78.91 kB / 0.5306 GB, free: 3.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.5783, allocations: 0 / 0.5306 GB, free: 3.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004751/0.5788, allocations: 178 kB / 0.5307 GB, free: 3.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.5788, allocations: 59.34 kB / 0.5308 GB, free: 3.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.579, allocations: 192.1 kB / 0.531 GB, free: 3.457 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.579, allocations: 33.39 kB / 0.531 GB, free: 3.422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.5791, allocations: 102.5 kB / 0.5311 GB, free: 3.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.5791, allocations: 27.33 kB / 0.5311 GB, free: 3.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.5791, allocations: 4 kB / 0.5311 GB, free: 3.305 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.378e-05/0.5792, allocations: 330.1 kB / 0.5314 GB, free: 2.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.5793, allocations: 30.88 kB / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.5793, allocations: 48.28 kB / 0.5315 GB, free: 2.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.321e-05/0.5794, allocations: 79.67 kB / 0.5316 GB, free: 2.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5794, allocations: 0 / 0.5316 GB, free: 2.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00022/0.5797, allocations: 171.7 kB / 0.5318 GB, free: 2.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.5797, allocations: 41 kB / 0.5318 GB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5797, allocations: 4.031 kB / 0.5318 GB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5797, allocations: 3.938 kB / 0.5318 GB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.5799, allocations: 12 kB / 0.5318 GB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5799, allocations: 4 kB / 0.5318 GB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.5799, allocations: 7.984 kB / 0.5318 GB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.58, allocations: 7.562 kB / 0.5318 GB, free: 2.625 MB / 346.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.296e-05/0.58, allocations: 105 kB / 0.5319 GB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.5801, allocations: 19.48 kB / 0.532 GB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.5803, allocations: 124.7 kB / 0.5321 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5803, allocations: 0 / 0.5321 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5803, allocations: 4.188 kB / 0.5321 GB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5804, allocations: 0 / 0.5321 GB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.5808, allocations: 420.6 kB / 0.5325 GB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5808, allocations: 0 / 0.5325 GB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.5808, allocations: 15.92 kB / 0.5325 GB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5808, allocations: 0 / 0.5325 GB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.5809, allocations: 11.53 kB / 0.5325 GB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5809, allocations: 0 / 0.5325 GB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5809, allocations: 0 / 0.5325 GB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.5811, allocations: 225.3 kB / 0.5327 GB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.5812, allocations: 99.81 kB / 0.5328 GB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.5812, allocations: 7.047 kB / 0.5328 GB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.5813, allocations: 8 kB / 0.5328 GB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.5814, allocations: 4 kB / 0.5328 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.5814, allocations: 8.172 kB / 0.5328 GB, free: 1.578 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.5815, allocations: 163.4 kB / 0.533 GB, free: 1.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5815, allocations: 0 / 0.533 GB, free: 1.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002711/0.5818, allocations: 43.62 kB / 0.533 GB, free: 1.406 MB / 346.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.00096/0.5827, allocations: 393.6 kB / 0.5334 GB, free: 1.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.583, allocations: 168.1 kB / 0.5336 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.583, allocations: 0 / 0.5336 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.863e-05/0.5831, allocations: 37.19 kB / 0.5336 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.5833, allocations: 23 kB / 0.5336 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.5837, allocations: 196.8 kB / 0.5338 GB, free: 0.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.5839, allocations: 0.7207 MB / 0.5345 GB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.584, allocations: 8.438 kB / 0.5345 GB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.5841, allocations: 18.94 kB / 0.5345 GB, free: 15.94 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5841, allocations: 0 / 0.5345 GB, free: 15.94 MB / 362.7 MB Notification: Performance of Templates: time 0.00464/0.5887, allocations: 1.821 MB / 0.5363 GB, free: 14.14 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)