Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001554/0.001554, allocations: 181.9 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.871/1.871, 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.00185/0.00185, allocations: 105.4 kB / 252.6 MB, free: 4.844 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.2985/0.2985, allocations: 39.93 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.342e-05/4.351e-05, allocations: 8 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/0.5528, allocations: 82.81 MB / 0.5254 GB, free: 8.449 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.5531, allocations: 78.45 kB / 0.5254 GB, free: 8.406 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.008803/0.5619, allocations: 3.593 MB / 0.5289 GB, free: 5.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5619, allocations: 0 / 0.5289 GB, free: 5.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.562, allocations: 4 kB / 0.5289 GB, free: 5.574 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.0004073/0.5624, allocations: 0.5058 MB / 0.5294 GB, free: 5.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.5624, allocations: 8.031 kB / 0.5294 GB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.5625, allocations: 19.77 kB / 0.5295 GB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.5627, allocations: 211.9 kB / 0.5297 GB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.5628, allocations: 7.938 kB / 0.5297 GB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.5628, allocations: 4 kB / 0.5297 GB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.5629, allocations: 72.86 kB / 0.5297 GB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.563, allocations: 3.938 kB / 0.5297 GB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.563, allocations: 0 / 0.5297 GB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.563, allocations: 7.953 kB / 0.5298 GB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.785e-05/0.5631, allocations: 39.42 kB / 0.5298 GB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.5635, allocations: 367 kB / 0.5301 GB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.5638, allocations: 90.19 kB / 0.5302 GB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.5638, allocations: 40.22 kB / 0.5303 GB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.5638, allocations: 0 / 0.5303 GB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.564, allocations: 74.39 kB / 0.5303 GB, free: 4.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.564, allocations: 0 / 0.5303 GB, free: 4.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002142/0.5642, allocations: 108.7 kB / 0.5304 GB, free: 3.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.5642, allocations: 59.39 kB / 0.5305 GB, free: 3.922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5643, allocations: 161.2 kB / 0.5307 GB, free: 3.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.5644, allocations: 29.7 kB / 0.5307 GB, free: 3.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.5644, allocations: 106.8 kB / 0.5308 GB, free: 3.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.5644, allocations: 31.03 kB / 0.5308 GB, free: 3.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.5645, allocations: 0 / 0.5308 GB, free: 3.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.5645, allocations: 326.6 kB / 0.5311 GB, free: 3.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.5646, allocations: 35.33 kB / 0.5312 GB, free: 3.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.5647, allocations: 69.45 kB / 0.5312 GB, free: 3.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.481e-05/0.5648, allocations: 77.67 kB / 0.5313 GB, free: 3.148 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5648, allocations: 0 / 0.5313 GB, free: 3.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002175/0.565, allocations: 182.2 kB / 0.5315 GB, free: 2.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.5651, allocations: 41.44 kB / 0.5315 GB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5651, allocations: 3.938 kB / 0.5315 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.5651, allocations: 8 kB / 0.5315 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.5652, allocations: 27.98 kB / 0.5315 GB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.5652, allocations: 0 / 0.5315 GB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/0.5653, allocations: 15.91 kB / 0.5316 GB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.5653, allocations: 7.875 kB / 0.5316 GB, free: 2.887 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.567e-05/0.5654, allocations: 113.6 kB / 0.5317 GB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.5654, allocations: 15.86 kB / 0.5317 GB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.5656, allocations: 121.9 kB / 0.5318 GB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.5656, allocations: 4 kB / 0.5318 GB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5656, allocations: 0 / 0.5318 GB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5656, allocations: 0 / 0.5318 GB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.5658, allocations: 212.7 kB / 0.532 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5658, allocations: 0 / 0.532 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/0.5658, allocations: 19.92 kB / 0.532 GB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5659, allocations: 0 / 0.532 GB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.5659, allocations: 7.953 kB / 0.532 GB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5659, allocations: 0 / 0.532 GB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5659, allocations: 0 / 0.532 GB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.5661, allocations: 175.1 kB / 0.5322 GB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.5662, allocations: 96.81 kB / 0.5323 GB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.5662, allocations: 4 kB / 0.5323 GB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.5663, allocations: 12.11 kB / 0.5323 GB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.5663, allocations: 7.984 kB / 0.5323 GB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.5664, allocations: 4 kB / 0.5323 GB, free: 2.094 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.5664, allocations: 136.1 kB / 0.5325 GB, free: 1.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5665, allocations: 4.062 kB / 0.5325 GB, free: 1.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002185/0.5667, allocations: 39.88 kB / 0.5325 GB, free: 1.938 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.0007695/0.5675, allocations: 355.2 kB / 0.5328 GB, free: 1.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.5677, allocations: 169.7 kB / 0.533 GB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5677, allocations: 0 / 0.533 GB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.511e-05/0.5677, allocations: 43.25 kB / 0.533 GB, free: 1.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.568, allocations: 19.92 kB / 0.5331 GB, free: 1.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.5683, allocations: 187 kB / 0.5332 GB, free: 1.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.5685, allocations: 0.7123 MB / 0.5339 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.052e-05/0.5685, allocations: 16.55 kB / 0.534 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.5686, allocations: 15.38 kB / 0.534 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5686, allocations: 0 / 0.534 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of Templates: time 0.004486/0.5731, allocations: 1.795 MB / 0.5357 GB, free: 14.75 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)