Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001052/0.001052, 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.72/1.72, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001633/0.001633, allocations: 108.1 kB / 252.6 MB, free: 4.793 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.257/0.257, allocations: 39.95 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.017e-05/5.02e-05, allocations: 8 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 54.87 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4831/0.6298, allocations: 81.91 MB / 0.5245 GB, free: 9.121 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.6302, allocations: 72.34 kB / 0.5246 GB, free: 9.086 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.01488/0.6451, allocations: 5.97 MB / 0.5304 GB, free: 4.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6452, allocations: 4 kB / 0.5304 GB, free: 4.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.451e-05/0.6452, allocations: 4 kB / 0.5304 GB, free: 4.254 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.0006849/0.6459, allocations: 0.7256 MB / 0.5311 GB, free: 3.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.6459, allocations: 12.03 kB / 0.5311 GB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.859e-05/0.646, allocations: 55.34 kB / 0.5312 GB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/0.6468, allocations: 479.6 kB / 0.5316 GB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.6468, allocations: 4 kB / 0.5316 GB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.6468, allocations: 11.31 kB / 0.5316 GB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.647, allocations: 78.31 kB / 0.5317 GB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.647, allocations: 3.953 kB / 0.5317 GB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.6471, allocations: 0 / 0.5317 GB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.6471, allocations: 8 kB / 0.5317 GB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.021e-05/0.6472, allocations: 34.11 kB / 0.5318 GB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.6475, allocations: 408 kB / 0.5321 GB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.6477, allocations: 105.7 kB / 0.5322 GB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.6477, allocations: 38.41 kB / 0.5323 GB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.6477, allocations: 0 / 0.5323 GB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.6479, allocations: 116.8 kB / 0.5324 GB, free: 2.203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.6479, allocations: 0 / 0.5324 GB, free: 2.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003177/0.6483, allocations: 174 kB / 0.5326 GB, free: 2.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.6483, allocations: 81.11 kB / 0.5326 GB, free: 1.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009823/0.6493, allocations: 0.9404 MB / 0.5336 GB, free: 1.211 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.6493, allocations: 25.7 kB / 0.5336 GB, free: 1.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.6494, allocations: 238.1 kB / 0.5338 GB, free: 1.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.6495, allocations: 23.2 kB / 0.5338 GB, free: 1.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.6495, allocations: 7.625 kB / 0.5338 GB, free: 1.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.6496, allocations: 368.6 kB / 0.5342 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.64e-05/0.6497, allocations: 57.62 kB / 0.5342 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.6498, allocations: 92.55 kB / 0.5343 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.6499, allocations: 123.8 kB / 0.5345 GB, free: 464 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6499, allocations: 0 / 0.5345 GB, free: 464 kB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000377/0.6503, allocations: 313.8 kB / 0.5347 GB, free: 184 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.6504, allocations: 67.39 kB / 0.5348 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6504, allocations: 0 / 0.5348 GB, free: 104 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.6504, allocations: 8.062 kB / 0.5348 GB, free: 96 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.6506, allocations: 31.44 kB / 0.5349 GB, free: 68 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6506, allocations: 0 / 0.5349 GB, free: 68 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.6507, allocations: 27.78 kB / 0.5349 GB, free: 40 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.6508, allocations: 15 kB / 0.5349 GB, free: 28 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 0.000128/0.6509, allocations: 120.5 kB / 0.535 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.651, allocations: 51.34 kB / 0.5351 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.6514, allocations: 196.8 kB / 0.5352 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6514, allocations: 3.984 kB / 0.5352 GB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.6514, allocations: 7.891 kB / 0.5353 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6514, allocations: 3.984 kB / 0.5353 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.6518, allocations: 379.7 kB / 0.5356 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6518, allocations: 0 / 0.5356 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.6519, allocations: 10.94 kB / 0.5356 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6519, allocations: 4 kB / 0.5356 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.6519, allocations: 3.984 kB / 0.5356 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.6519, allocations: 4 kB / 0.5356 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6519, allocations: 0 / 0.5356 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.6522, allocations: 227.8 kB / 0.5359 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.6525, allocations: 197.5 kB / 0.536 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.6526, allocations: 11.36 kB / 0.5361 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.6527, allocations: 11.94 kB / 0.5361 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.6528, allocations: 19.19 kB / 0.5361 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.6528, allocations: 4 kB / 0.5361 GB, free: 14.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008245/0.6536, allocations: 0.7328 MB / 0.5368 GB, free: 14.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6536, allocations: 0 / 0.5368 GB, free: 14.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003447/0.654, allocations: 109.8 kB / 0.5369 GB, free: 14.2 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.001267/0.6552, allocations: 0.507 MB / 0.5374 GB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.6556, allocations: 291.7 kB / 0.5377 GB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6556, allocations: 0 / 0.5377 GB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.935e-05/0.6557, allocations: 45.36 kB / 0.5377 GB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.6561, allocations: 46.56 kB / 0.5378 GB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.6572, allocations: 0.7712 MB / 0.5385 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.6577, allocations: 0.8533 MB / 0.5394 GB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.6579, allocations: 92.05 kB / 0.5394 GB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.658, allocations: 36.81 kB / 0.5395 GB, free: 11.77 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.658, allocations: 4 kB / 0.5395 GB, free: 11.77 MB / 362.7 MB Notification: Performance of Templates: time 0.009586/0.6676, allocations: 4.979 MB / 0.5443 GB, free: 6.824 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)