Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001219/0.001219, 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.472/1.472, 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.001806/0.001806, allocations: 116.5 kB / 247.4 MB, free: 15.96 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.2071/0.2071, allocations: 39.96 MB / 332.2 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.332e-05, allocations: 8 kB / 393.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2695, allocations: 54.86 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.3816, allocations: 81.26 MB / 0.5171 GB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.3819, allocations: 71.97 kB / 0.5171 GB, free: 12.24 MB / 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$startTime.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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01405/0.396, allocations: 5.861 MB / 0.5228 GB, free: 6.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.396, allocations: 0 / 0.5228 GB, free: 6.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.396, allocations: 4 kB / 0.5228 GB, free: 6.367 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000708/0.3967, allocations: 0.7224 MB / 0.5236 GB, free: 5.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3968, allocations: 8.031 kB / 0.5236 GB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.478e-05/0.3969, allocations: 51.42 kB / 0.5236 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006803/0.3976, allocations: 467.2 kB / 0.5241 GB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3976, allocations: 4 kB / 0.5241 GB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3976, allocations: 7.984 kB / 0.5241 GB, free: 5 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.067e-05/0.3977, allocations: 31.98 kB / 0.5241 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.3979, allocations: 83.33 kB / 0.5242 GB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.3979, allocations: 0 / 0.5242 GB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3979, allocations: 3.984 kB / 0.5242 GB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3979, allocations: 0 / 0.5242 GB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.3983, allocations: 386.8 kB / 0.5246 GB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.3984, allocations: 93.2 kB / 0.5246 GB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.3985, allocations: 37.89 kB / 0.5247 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3985, allocations: 0 / 0.5247 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.3987, allocations: 113.7 kB / 0.5248 GB, free: 4.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.3987, allocations: 0 / 0.5248 GB, free: 4.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003225/0.3991, allocations: 161.1 kB / 0.5249 GB, free: 4.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.3991, allocations: 88.97 kB / 0.525 GB, free: 3.902 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.4002, allocations: 0.8769 MB / 0.5259 GB, free: 3.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.4002, allocations: 25.7 kB / 0.5259 GB, free: 2.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.4004, allocations: 236.4 kB / 0.5261 GB, free: 2.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.4004, allocations: 27.64 kB / 0.5262 GB, free: 2.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.4005, allocations: 4 kB / 0.5262 GB, free: 2.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4006, allocations: 362.8 kB / 0.5265 GB, free: 2.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.91e-05/0.4007, allocations: 51.94 kB / 0.5266 GB, free: 2.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.4008, allocations: 83.41 kB / 0.5266 GB, free: 2.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.4009, allocations: 63.97 kB / 0.5267 GB, free: 2.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4009, allocations: 0 / 0.5267 GB, free: 2.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003419/0.4013, allocations: 232.9 kB / 0.5269 GB, free: 1.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.4014, allocations: 70.05 kB / 0.527 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4014, allocations: 0 / 0.527 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4014, allocations: 4 kB / 0.527 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.4015, allocations: 27.92 kB / 0.527 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4015, allocations: 0 / 0.527 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.4017, allocations: 32.09 kB / 0.527 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.4017, allocations: 8 kB / 0.5271 GB, free: 1.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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 8.196e-05/0.4018, allocations: 113 kB / 0.5272 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.4018, allocations: 51.34 kB / 0.5272 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.4021, allocations: 189.7 kB / 0.5274 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4022, allocations: 0 / 0.5274 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4022, allocations: 3.938 kB / 0.5274 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.4022, allocations: 4 kB / 0.5274 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.4025, allocations: 353.9 kB / 0.5277 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4025, allocations: 0 / 0.5277 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.4025, allocations: 11.98 kB / 0.5277 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4025, allocations: 7.938 kB / 0.5278 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4025, allocations: 0 / 0.5278 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4026, allocations: 4 kB / 0.5278 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4026, allocations: 0 / 0.5278 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.4028, allocations: 222.9 kB / 0.528 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.4031, allocations: 200.4 kB / 0.5282 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.4031, allocations: 4 kB / 0.5282 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.4032, allocations: 4 kB / 0.5282 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.4033, allocations: 7.984 kB / 0.5282 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.4033, allocations: 11.98 kB / 0.5282 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.23/0.6333, allocations: 0.6782 MB / 0.5289 GB, free: 86.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6333, allocations: 0 / 0.5289 GB, free: 86.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007027/0.6341, allocations: 107.8 kB / 0.529 GB, free: 86.13 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001066/0.6351, allocations: 464.1 kB / 0.5294 GB, free: 85.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.6356, allocations: 277 kB / 0.5297 GB, free: 85.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6356, allocations: 4.688 kB / 0.5297 GB, free: 85.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.6357, allocations: 42.36 kB / 0.5297 GB, free: 85.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.6361, allocations: 56.77 kB / 0.5298 GB, free: 85.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.6373, allocations: 0.7455 MB / 0.5305 GB, free: 85.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.6377, allocations: 0.8507 MB / 0.5313 GB, free: 84.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000162/0.6378, allocations: 81.06 kB / 0.5314 GB, free: 84.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.6379, allocations: 38.12 kB / 0.5314 GB, free: 84.89 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6379, allocations: 0 / 0.5314 GB, free: 84.89 MB / 378.7 MB Notification: Performance of Templates: time 0.009085/0.647, allocations: 4.247 MB / 0.5356 GB, free: 84.51 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)