Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007711/0.007711, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.748/1.748, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001833/0.001833, allocations: 124.6 kB / 255.6 MB, free: 10.15 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.1975/0.1975, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 17.41 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 54.87 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.2573, allocations: 82.01 MB / 0.5303 GB, free: 1.191 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.2576, allocations: 75.95 kB / 0.5304 GB, free: 1.117 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.252/0.5096, allocations: 6.011 MB / 0.5363 GB, free: 82.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5096, allocations: 0.9844 kB / 0.5363 GB, free: 82.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.967e-05/0.5097, allocations: 5.719 kB / 0.5363 GB, free: 82.93 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.001041/0.5107, allocations: 0.8361 MB / 0.5371 GB, free: 82.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5108, allocations: 9.188 kB / 0.5371 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.5109, allocations: 47.66 kB / 0.5371 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009347/0.5119, allocations: 471.5 kB / 0.5376 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5119, allocations: 10.5 kB / 0.5376 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.5119, allocations: 10.84 kB / 0.5376 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.5122, allocations: 83.2 kB / 0.5377 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.5122, allocations: 6.266 kB / 0.5377 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.5122, allocations: 3.562 kB / 0.5377 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5122, allocations: 4.938 kB / 0.5377 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.5124, allocations: 33.72 kB / 0.5377 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.5129, allocations: 419.7 kB / 0.5381 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.5132, allocations: 112.4 kB / 0.5382 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.5133, allocations: 0.7031 kB / 0.5382 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.5135, allocations: 112.9 kB / 0.5384 GB, free: 81.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.667e-06/0.5136, allocations: 0 / 0.5384 GB, free: 81.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005814/0.5141, allocations: 224.6 kB / 0.5386 GB, free: 81.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.5142, allocations: 79.59 kB / 0.5386 GB, free: 81.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.516, allocations: 0.9346 MB / 0.5396 GB, free: 81.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.516, allocations: 31.83 kB / 0.5396 GB, free: 81.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.5163, allocations: 241 kB / 0.5398 GB, free: 81.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.5163, allocations: 25.77 kB / 0.5398 GB, free: 81.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.5163, allocations: 5.125 kB / 0.5398 GB, free: 81.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5164, allocations: 366.1 kB / 0.5402 GB, free: 80.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.5166, allocations: 63.02 kB / 0.5403 GB, free: 80.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.5168, allocations: 95.08 kB / 0.5403 GB, free: 80.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.517, allocations: 130.7 kB / 0.5405 GB, free: 80.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.517, allocations: 3.938 kB / 0.5405 GB, free: 80.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005055/0.5175, allocations: 326.1 kB / 0.5408 GB, free: 80.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.5176, allocations: 64.05 kB / 0.5408 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5176, allocations: 1.125 kB / 0.5408 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.5176, allocations: 1.156 kB / 0.5408 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.5177, allocations: 29.23 kB / 0.5409 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5177, allocations: 6.422 kB / 0.5409 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.5179, allocations: 26.81 kB / 0.5409 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.5179, allocations: 13.11 kB / 0.5409 GB, free: 80.52 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 () * Number of clocked 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 0.0002155/0.5181, allocations: 222.2 kB / 0.5411 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.5182, allocations: 52.5 kB / 0.5412 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003996/0.5186, allocations: 205 kB / 0.5414 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5187, allocations: 2.219 kB / 0.5414 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5187, allocations: 1 kB / 0.5414 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5187, allocations: 7.938 kB / 0.5414 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.5191, allocations: 384.5 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5191, allocations: 0 / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.5191, allocations: 9.844 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.5191, allocations: 1.875 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.5192, allocations: 5.031 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5192, allocations: 0 / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5192, allocations: 1.875 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.5195, allocations: 237.8 kB / 0.542 GB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.5199, allocations: 202.7 kB / 0.5422 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.5199, allocations: 4.75 kB / 0.5422 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.52, allocations: 9.375 kB / 0.5422 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.5201, allocations: 16.23 kB / 0.5422 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.5201, allocations: 11.92 kB / 0.5422 GB, free: 79.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007698/0.5209, allocations: 0.7387 MB / 0.543 GB, free: 79.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5209, allocations: 0 / 0.543 GB, free: 79.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003879/0.5213, allocations: 113.8 kB / 0.5431 GB, free: 79.48 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) * Number of clocked states: 0 () * 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.001273/0.5226, allocations: 0.5528 MB / 0.5436 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.523, allocations: 305.2 kB / 0.5439 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.523, allocations: 3.938 kB / 0.5439 GB, free: 78.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.5231, allocations: 43.27 kB / 0.5439 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.5235, allocations: 54.81 kB / 0.544 GB, free: 78.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.5249, allocations: 0.9983 MB / 0.545 GB, free: 78.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.5251, allocations: 0.8618 MB / 0.5458 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001622/0.5253, allocations: 86.08 kB / 0.5459 GB, free: 77.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.5254, allocations: 37.38 kB / 0.5459 GB, free: 77.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5254, allocations: 0 / 0.5459 GB, free: 77.55 MB / 378.7 MB Notification: Performance of Templates: time 0.009571/0.535, allocations: 4.97 MB / 0.5508 GB, free: 75.12 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)