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.001042/0.001042, allocations: 181.8 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.856/1.856, allocations: 194.3 MB / 207.5 MB, free: 3.379 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.001688/0.001688, allocations: 116.6 kB / 252.6 MB, free: 4.812 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.2289/0.2289, allocations: 39.94 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.918e-05/4.92e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 54.87 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5354, allocations: 81.92 MB / 0.5245 GB, free: 9.176 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/0.5358, allocations: 70.84 kB / 0.5246 GB, free: 9.141 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$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.01406/0.5499, allocations: 5.937 MB / 0.5304 GB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5499, allocations: 0 / 0.5304 GB, free: 4.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.55, allocations: 4 kB / 0.5304 GB, free: 4.344 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007617/0.5507, allocations: 0.7217 MB / 0.5311 GB, free: 3.582 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.5508, allocations: 8.031 kB / 0.5311 GB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.5509, allocations: 47.44 kB / 0.5311 GB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.5516, allocations: 465.2 kB / 0.5316 GB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.5517, allocations: 11.5 kB / 0.5316 GB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.5517, allocations: 8 kB / 0.5316 GB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.5519, allocations: 84.44 kB / 0.5317 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5519, allocations: 7.953 kB / 0.5317 GB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.5519, allocations: 0 / 0.5317 GB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.552, allocations: 0 / 0.5317 GB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.552, allocations: 30.92 kB / 0.5317 GB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.5525, allocations: 411.1 kB / 0.5321 GB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.5527, allocations: 104.3 kB / 0.5322 GB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.497e-05/0.5527, allocations: 36.34 kB / 0.5322 GB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.5527, allocations: 0 / 0.5322 GB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.5529, allocations: 117.5 kB / 0.5323 GB, free: 2.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.553, allocations: 0 / 0.5323 GB, free: 2.316 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003511/0.5533, allocations: 177.1 kB / 0.5325 GB, free: 2.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.5534, allocations: 77.11 kB / 0.5326 GB, free: 2.066 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009859/0.5544, allocations: 0.9 MB / 0.5335 GB, free: 1.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.5544, allocations: 41.52 kB / 0.5335 GB, free: 1.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.5545, allocations: 231 kB / 0.5337 GB, free: 1.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.5546, allocations: 35.23 kB / 0.5337 GB, free: 1.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.5546, allocations: 3.25 kB / 0.5337 GB, free: 1.156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5547, allocations: 365 kB / 0.5341 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.895e-05/0.5548, allocations: 53.38 kB / 0.5341 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.818e-05/0.5549, allocations: 90.98 kB / 0.5342 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.555, allocations: 134.2 kB / 0.5344 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5551, allocations: 0 / 0.5344 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003467/0.5554, allocations: 307.3 kB / 0.5347 GB, free: 324 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.5555, allocations: 70.95 kB / 0.5347 GB, free: 244 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5555, allocations: 256 / 0.5347 GB, free: 244 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.5555, allocations: 4 kB / 0.5347 GB, free: 240 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.5556, allocations: 27.94 kB / 0.5348 GB, free: 212 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.5557, allocations: 4 kB / 0.5348 GB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.5558, allocations: 23.91 kB / 0.5348 GB, free: 184 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.5558, allocations: 19.69 kB / 0.5348 GB, free: 168 kB / 346.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 9.317e-05/0.5559, allocations: 123.9 kB / 0.5349 GB, free: 40 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.556, allocations: 51.39 kB / 0.535 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003977/0.5564, allocations: 190.2 kB / 0.5351 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.5564, allocations: 4 kB / 0.5352 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.5565, allocations: 3.953 kB / 0.5352 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.5565, allocations: 4 kB / 0.5352 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.5569, allocations: 379.2 kB / 0.5355 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5569, allocations: 0 / 0.5355 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.557, allocations: 11.98 kB / 0.5355 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.557, allocations: 4 kB / 0.5355 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.557, allocations: 0 / 0.5355 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.557, allocations: 4 kB / 0.5355 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.557, allocations: 0 / 0.5355 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.5574, allocations: 227.1 kB / 0.5358 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.5577, allocations: 198.7 kB / 0.5359 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.5578, allocations: 7.125 kB / 0.536 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.5579, allocations: 7.938 kB / 0.536 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.558, allocations: 15.25 kB / 0.536 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.558, allocations: 7.984 kB / 0.536 GB, free: 14.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008432/0.5588, allocations: 0.7107 MB / 0.5367 GB, free: 14.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5588, allocations: 4 kB / 0.5367 GB, free: 14.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.5592, allocations: 103.6 kB / 0.5368 GB, free: 14.37 MB / 362.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.001422/0.5606, allocations: 0.5055 MB / 0.5373 GB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.561, allocations: 295.9 kB / 0.5376 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5611, allocations: 0 / 0.5376 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.5611, allocations: 46.86 kB / 0.5376 GB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5615, allocations: 44.62 kB / 0.5376 GB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.5627, allocations: 0.7473 MB / 0.5384 GB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.5632, allocations: 0.8449 MB / 0.5392 GB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.5633, allocations: 84.92 kB / 0.5393 GB, free: 12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.5635, allocations: 35.06 kB / 0.5393 GB, free: 11.97 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5635, allocations: 0 / 0.5393 GB, free: 11.97 MB / 362.7 MB Notification: Performance of Templates: time 0.00986/0.5733, allocations: 4.898 MB / 0.5441 GB, free: 7.105 MB / 362.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)