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.001438/0.001438, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.447/1.447, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.00164/0.001639, allocations: 114.1 kB / 247.4 MB, free: 6.195 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.2199/0.2199, allocations: 39.94 MB / 332.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.409e-05, allocations: 8 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 54.88 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.4645, allocations: 81.25 MB / 0.517 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.4647, allocations: 72.2 kB / 0.5171 GB, free: 10.34 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.01314/0.4778, allocations: 5.874 MB / 0.5228 GB, free: 8.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4779, allocations: 0 / 0.5228 GB, free: 8.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.089e-05/0.4779, allocations: 7.625 kB / 0.5229 GB, free: 8.688 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.0007472/0.4787, allocations: 0.7276 MB / 0.5236 GB, free: 8.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.4787, allocations: 7.656 kB / 0.5236 GB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.4788, allocations: 46.5 kB / 0.5236 GB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.4796, allocations: 471.3 kB / 0.5241 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.4796, allocations: 0 / 0.5241 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.4796, allocations: 7.75 kB / 0.5241 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/0.4797, allocations: 29.92 kB / 0.5241 GB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.4799, allocations: 84.17 kB / 0.5242 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4799, allocations: 3.938 kB / 0.5242 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4799, allocations: 0 / 0.5242 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4799, allocations: 0 / 0.5242 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.4804, allocations: 378.2 kB / 0.5245 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.4805, allocations: 99.47 kB / 0.5246 GB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.4806, allocations: 39.34 kB / 0.5247 GB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.4806, allocations: 0 / 0.5247 GB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.4808, allocations: 117.9 kB / 0.5248 GB, free: 7.215 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4808, allocations: 0 / 0.5248 GB, free: 7.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003497/0.4811, allocations: 168.1 kB / 0.525 GB, free: 7.145 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.4812, allocations: 81.05 kB / 0.525 GB, free: 7.047 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.4822, allocations: 0.8738 MB / 0.5259 GB, free: 6.836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4823, allocations: 29.39 kB / 0.5259 GB, free: 6.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.4824, allocations: 235.1 kB / 0.5261 GB, free: 6.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.4825, allocations: 26.06 kB / 0.5262 GB, free: 6.684 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.4825, allocations: 3.875 kB / 0.5262 GB, free: 6.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.4826, allocations: 372.1 kB / 0.5265 GB, free: 6.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.4827, allocations: 49.86 kB / 0.5266 GB, free: 6.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.517e-05/0.4828, allocations: 82.67 kB / 0.5266 GB, free: 6.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.4829, allocations: 54.69 kB / 0.5267 GB, free: 6.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4829, allocations: 0 / 0.5267 GB, free: 6.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003211/0.4832, allocations: 233.9 kB / 0.5269 GB, free: 6.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.4832, allocations: 70.98 kB / 0.527 GB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4833, allocations: 3.984 kB / 0.527 GB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4833, allocations: 3.875 kB / 0.527 GB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4834, allocations: 22.81 kB / 0.527 GB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4834, allocations: 7.828 kB / 0.527 GB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.4835, allocations: 22.58 kB / 0.527 GB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.4836, allocations: 7.688 kB / 0.5271 GB, free: 6.133 MB / 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 6.488e-05/0.4836, allocations: 112.9 kB / 0.5272 GB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.4837, allocations: 57.52 kB / 0.5272 GB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.484, allocations: 191.8 kB / 0.5274 GB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.484, allocations: 0 / 0.5274 GB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.484, allocations: 0 / 0.5274 GB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.484, allocations: 0 / 0.5274 GB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.4843, allocations: 356.3 kB / 0.5277 GB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4843, allocations: 0 / 0.5277 GB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.4844, allocations: 11.67 kB / 0.5278 GB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4844, allocations: 3.812 kB / 0.5278 GB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4844, allocations: 4 kB / 0.5278 GB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4844, allocations: 3.938 kB / 0.5278 GB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4844, allocations: 3.875 kB / 0.5278 GB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.4846, allocations: 216.8 kB / 0.528 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.4848, allocations: 201.8 kB / 0.5282 GB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.4849, allocations: 3.812 kB / 0.5282 GB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.301e-05/0.485, allocations: 11.86 kB / 0.5282 GB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.4851, allocations: 11.31 kB / 0.5282 GB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.4851, allocations: 7.922 kB / 0.5282 GB, free: 5.383 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006135/0.4857, allocations: 0.6807 MB / 0.5289 GB, free: 5.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4857, allocations: 0 / 0.5289 GB, free: 5.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.4861, allocations: 104.9 kB / 0.529 GB, free: 5.215 MB / 346.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.0009545/0.487, allocations: 474.5 kB / 0.5294 GB, free: 4.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.4873, allocations: 278.5 kB / 0.5297 GB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4873, allocations: 4.125 kB / 0.5297 GB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/0.4874, allocations: 45.45 kB / 0.5297 GB, free: 4.758 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.4877, allocations: 49.03 kB / 0.5298 GB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.4886, allocations: 0.7445 MB / 0.5305 GB, free: 4.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.4889, allocations: 0.8448 MB / 0.5313 GB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.489, allocations: 87.39 kB / 0.5314 GB, free: 3.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.4891, allocations: 38.16 kB / 0.5314 GB, free: 3.68 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4891, allocations: 0 / 0.5314 GB, free: 3.68 MB / 346.7 MB Notification: Performance of Templates: time 0.007255/0.4964, allocations: 4.252 MB / 0.5356 GB, free: 15.52 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)