Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009339/0.00934, allocations: 174.8 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.761/1.761, allocations: 194.5 MB / 210.3 MB, free: 7.535 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.001754/0.001754, allocations: 116.6 kB / 255.6 MB, free: 10.14 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.2091/0.2091, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 12.5 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 54.86 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.2563, allocations: 82.01 MB / 0.5303 GB, free: 1.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.2566, allocations: 79.89 kB / 0.5304 GB, free: 1.082 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.2551/0.5117, allocations: 6.006 MB / 0.5363 GB, free: 82.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5117, allocations: 0 / 0.5363 GB, free: 82.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.933e-05/0.5117, allocations: 6.125 kB / 0.5363 GB, free: 82.91 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.0009796/0.5127, allocations: 0.8392 MB / 0.5371 GB, free: 82.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.5127, allocations: 9.406 kB / 0.5371 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.5129, allocations: 46.88 kB / 0.5371 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008102/0.5137, allocations: 469.2 kB / 0.5376 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.5137, allocations: 5.438 kB / 0.5376 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.5137, allocations: 7.609 kB / 0.5376 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.5139, allocations: 94.34 kB / 0.5377 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.514, allocations: 7.891 kB / 0.5377 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.514, allocations: 0.7031 kB / 0.5377 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.514, allocations: 1.406 kB / 0.5377 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.5141, allocations: 35.27 kB / 0.5377 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.5145, allocations: 412.7 kB / 0.5381 GB, free: 81.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.5148, allocations: 120.5 kB / 0.5382 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.5148, allocations: 0.75 kB / 0.5382 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.515, allocations: 108.3 kB / 0.5383 GB, free: 81.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.515, allocations: 5.156 kB / 0.5383 GB, free: 81.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004808/0.5155, allocations: 216.9 kB / 0.5386 GB, free: 81.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.5156, allocations: 82.66 kB / 0.5386 GB, free: 81.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.517, allocations: 0.9378 MB / 0.5396 GB, free: 81.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.517, allocations: 31.11 kB / 0.5396 GB, free: 81.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.5173, allocations: 238.9 kB / 0.5398 GB, free: 81.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.5173, allocations: 26.92 kB / 0.5398 GB, free: 81.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.5173, allocations: 3.969 kB / 0.5398 GB, free: 81.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5175, allocations: 370.1 kB / 0.5402 GB, free: 80.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.5176, allocations: 63.08 kB / 0.5403 GB, free: 80.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.5178, allocations: 91.36 kB / 0.5403 GB, free: 80.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.518, allocations: 131.5 kB / 0.5405 GB, free: 80.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.518, allocations: 5.031 kB / 0.5405 GB, free: 80.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005108/0.5185, allocations: 323 kB / 0.5408 GB, free: 80.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.5186, allocations: 70.7 kB / 0.5408 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5186, allocations: 0.9375 kB / 0.5408 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5186, allocations: 2.219 kB / 0.5408 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.5187, allocations: 20.94 kB / 0.5409 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5187, allocations: 9.422 kB / 0.5409 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.5189, allocations: 28.16 kB / 0.5409 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.5189, allocations: 15.12 kB / 0.5409 GB, free: 80.49 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.0001964/0.5191, allocations: 222.9 kB / 0.5411 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.5192, allocations: 58.61 kB / 0.5412 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003878/0.5196, allocations: 203.1 kB / 0.5414 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.5196, allocations: 1.531 kB / 0.5414 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5196, allocations: 0 / 0.5414 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5197, allocations: 9 kB / 0.5414 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.52, allocations: 378.5 kB / 0.5417 GB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.52, allocations: 4 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.52, allocations: 9.438 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.52, allocations: 1.062 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5201, allocations: 2.406 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5201, allocations: 4.781 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5201, allocations: 0 / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.5204, allocations: 241.8 kB / 0.542 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.5208, allocations: 203.8 kB / 0.5422 GB, free: 79.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.5208, allocations: 4.531 kB / 0.5422 GB, free: 79.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.804e-05/0.5209, allocations: 9.688 kB / 0.5422 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.521, allocations: 12.25 kB / 0.5422 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.521, allocations: 7.812 kB / 0.5422 GB, free: 79.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007699/0.5218, allocations: 0.7352 MB / 0.5429 GB, free: 79.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5218, allocations: 0 / 0.5429 GB, free: 79.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003727/0.5222, allocations: 114 kB / 0.5431 GB, free: 79.5 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.001171/0.5234, allocations: 0.5649 MB / 0.5436 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004366/0.5238, allocations: 300.8 kB / 0.5439 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5238, allocations: 0 / 0.5439 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.5239, allocations: 47.77 kB / 0.5439 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.5243, allocations: 50.16 kB / 0.544 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.5257, allocations: 1.003 MB / 0.545 GB, free: 78.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.5261, allocations: 0.8497 MB / 0.5458 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000174/0.5262, allocations: 101.8 kB / 0.5459 GB, free: 77.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.5263, allocations: 41.48 kB / 0.5459 GB, free: 77.54 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5264, allocations: 0 / 0.5459 GB, free: 77.54 MB / 378.7 MB Notification: Performance of Templates: time 0.01063/0.537, allocations: 4.96 MB / 0.5508 GB, free: 75.11 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)