Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008946/0.008946, allocations: 174.5 kB / 15.12 MB, free: 5.969 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.782/1.782, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.00172/0.00172, 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.2059/0.2059, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000539/0.0005384, allocations: 12.28 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1334, allocations: 54.88 MB / 461 MB, free: 3.293 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.2602, allocations: 82.01 MB / 0.5303 GB, free: 1.168 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.2605, allocations: 79.89 kB / 0.5304 GB, free: 1.09 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.2796/0.5401, allocations: 5.962 MB / 0.5362 GB, free: 82.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5401, allocations: 0 / 0.5362 GB, free: 82.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.555e-05/0.5402, allocations: 6.344 kB / 0.5362 GB, free: 82.89 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.0009898/0.5411, allocations: 0.8195 MB / 0.537 GB, free: 82.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5412, allocations: 10.33 kB / 0.537 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.5413, allocations: 50.81 kB / 0.5371 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008935/0.5422, allocations: 471.6 kB / 0.5375 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.5423, allocations: 6.469 kB / 0.5375 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.5423, allocations: 7.031 kB / 0.5375 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.5425, allocations: 89.06 kB / 0.5376 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5425, allocations: 3.953 kB / 0.5376 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.5426, allocations: 2.266 kB / 0.5376 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.5426, allocations: 1.25 kB / 0.5376 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.5427, allocations: 36.92 kB / 0.5377 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.5432, allocations: 408.5 kB / 0.5381 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.5435, allocations: 111.2 kB / 0.5382 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.5435, allocations: 7.25 kB / 0.5382 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.5438, allocations: 113.5 kB / 0.5383 GB, free: 81.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.5438, allocations: 2.031 kB / 0.5383 GB, free: 81.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005733/0.5444, allocations: 207.2 kB / 0.5385 GB, free: 81.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.5444, allocations: 82.84 kB / 0.5386 GB, free: 81.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.546, allocations: 0.9139 MB / 0.5395 GB, free: 81.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.546, allocations: 30.64 kB / 0.5395 GB, free: 81.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.5463, allocations: 235.5 kB / 0.5397 GB, free: 81.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.5463, allocations: 25.56 kB / 0.5397 GB, free: 81.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.5463, allocations: 3.719 kB / 0.5397 GB, free: 81.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5465, allocations: 366.6 kB / 0.5401 GB, free: 80.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.5467, allocations: 62.73 kB / 0.5401 GB, free: 80.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.5468, allocations: 95.94 kB / 0.5402 GB, free: 80.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.5471, allocations: 130.3 kB / 0.5404 GB, free: 80.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.5471, allocations: 1.25 kB / 0.5404 GB, free: 80.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006295/0.5477, allocations: 320.3 kB / 0.5407 GB, free: 80.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/0.5478, allocations: 67.17 kB / 0.5407 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5478, allocations: 5.812 kB / 0.5407 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.5478, allocations: 8.781 kB / 0.5407 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.548, allocations: 18 kB / 0.5408 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.548, allocations: 10 kB / 0.5408 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.5481, allocations: 30.33 kB / 0.5408 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.5482, allocations: 14.14 kB / 0.5408 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.0002434/0.5484, allocations: 222.3 kB / 0.541 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.183e-05/0.5485, allocations: 47.41 kB / 0.5411 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.549, allocations: 214.2 kB / 0.5413 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.549, allocations: 1.656 kB / 0.5413 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.549, allocations: 1.812 kB / 0.5413 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.549, allocations: 3.953 kB / 0.5413 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.5494, allocations: 372.4 kB / 0.5416 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5494, allocations: 1.875 kB / 0.5416 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.5494, allocations: 12.75 kB / 0.5416 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.5494, allocations: 3.938 kB / 0.5417 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.5495, allocations: 5.531 kB / 0.5417 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.5495, allocations: 5.375 kB / 0.5417 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5495, allocations: 0 / 0.5417 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.5498, allocations: 235 kB / 0.5419 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.5502, allocations: 196.2 kB / 0.5421 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.5503, allocations: 8.75 kB / 0.5421 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.5504, allocations: 13.2 kB / 0.5421 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.5504, allocations: 11.5 kB / 0.5421 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.5504, allocations: 8.125 kB / 0.5421 GB, free: 79.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008191/0.5513, allocations: 0.717 MB / 0.5428 GB, free: 79.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5513, allocations: 0 / 0.5428 GB, free: 79.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004521/0.5517, allocations: 101.3 kB / 0.5429 GB, free: 79.54 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.001357/0.5531, allocations: 0.5681 MB / 0.5435 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004605/0.5536, allocations: 295.9 kB / 0.5437 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5536, allocations: 4.938 kB / 0.5438 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.5537, allocations: 47.73 kB / 0.5438 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.5541, allocations: 56.62 kB / 0.5439 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.5558, allocations: 0.9694 MB / 0.5448 GB, free: 78.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.5562, allocations: 0.8512 MB / 0.5456 GB, free: 77.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.5564, allocations: 82.61 kB / 0.5457 GB, free: 77.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5565, allocations: 40.33 kB / 0.5457 GB, free: 77.61 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5565, allocations: 0 / 0.5457 GB, free: 77.61 MB / 378.7 MB Notification: Performance of Templates: time 0.0114/0.5679, allocations: 4.882 MB / 0.5505 GB, free: 75.23 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)