Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001281/0.001281, 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.708/1.708, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001656/0.001656, allocations: 112.1 kB / 252.6 MB, free: 4.777 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.3042/0.3042, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.332e-05/4.363e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1471, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6244, allocations: 81.92 MB / 0.5245 GB, free: 9.152 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.6247, allocations: 68.45 kB / 0.5245 GB, free: 9.117 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.01348/0.6382, allocations: 5.984 MB / 0.5304 GB, free: 4.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6382, allocations: 4 kB / 0.5304 GB, free: 4.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.6382, allocations: 4 kB / 0.5304 GB, free: 4.277 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.0006365/0.6389, allocations: 0.7187 MB / 0.5311 GB, free: 3.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6389, allocations: 12.03 kB / 0.5311 GB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.902e-05/0.639, allocations: 55.34 kB / 0.5312 GB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007505/0.6398, allocations: 482.8 kB / 0.5316 GB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.6398, allocations: 4 kB / 0.5316 GB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.6398, allocations: 11.06 kB / 0.5316 GB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.64, allocations: 82.11 kB / 0.5317 GB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.64, allocations: 3.953 kB / 0.5317 GB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.6401, allocations: 0 / 0.5317 GB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6401, allocations: 8 kB / 0.5317 GB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.6402, allocations: 34.8 kB / 0.5318 GB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.6405, allocations: 403.1 kB / 0.5321 GB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.6407, allocations: 107 kB / 0.5322 GB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.6407, allocations: 39.72 kB / 0.5323 GB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.6408, allocations: 0 / 0.5323 GB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.641, allocations: 119 kB / 0.5324 GB, free: 2.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.641, allocations: 0 / 0.5324 GB, free: 2.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003141/0.6413, allocations: 172.7 kB / 0.5326 GB, free: 2.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.6414, allocations: 81.11 kB / 0.5326 GB, free: 1.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.6424, allocations: 0.9375 MB / 0.5336 GB, free: 1.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.6425, allocations: 25.7 kB / 0.5336 GB, free: 1.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.6426, allocations: 241.7 kB / 0.5338 GB, free: 1.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.6427, allocations: 19.41 kB / 0.5338 GB, free: 1.055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.6427, allocations: 7.625 kB / 0.5338 GB, free: 1.051 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6428, allocations: 368.5 kB / 0.5342 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.635e-05/0.6429, allocations: 61.67 kB / 0.5342 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.6431, allocations: 92.42 kB / 0.5343 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.6432, allocations: 120.2 kB / 0.5345 GB, free: 492 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6432, allocations: 0 / 0.5345 GB, free: 492 kB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000386/0.6436, allocations: 317.6 kB / 0.5348 GB, free: 208 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-05/0.6437, allocations: 67.39 kB / 0.5348 GB, free: 128 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6437, allocations: 0 / 0.5348 GB, free: 128 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.6438, allocations: 12.05 kB / 0.5348 GB, free: 116 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.6439, allocations: 27.45 kB / 0.5349 GB, free: 92 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6439, allocations: 0 / 0.5349 GB, free: 92 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.644, allocations: 24.08 kB / 0.5349 GB, free: 68 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.6441, allocations: 19.5 kB / 0.5349 GB, free: 52 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.000143/0.6442, allocations: 120.5 kB / 0.535 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.6443, allocations: 55.28 kB / 0.5351 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.6447, allocations: 192.9 kB / 0.5352 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.6447, allocations: 4 kB / 0.5353 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.6447, allocations: 3.953 kB / 0.5353 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6448, allocations: 3.938 kB / 0.5353 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.6452, allocations: 384 kB / 0.5356 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6453, allocations: 0 / 0.5356 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.6453, allocations: 8 kB / 0.5356 GB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6453, allocations: 4 kB / 0.5356 GB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.6453, allocations: 3.125 kB / 0.5356 GB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.6454, allocations: 4 kB / 0.5356 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6454, allocations: 0 / 0.5356 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.6458, allocations: 227 kB / 0.5359 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.6462, allocations: 201.5 kB / 0.5361 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/0.6463, allocations: 7.312 kB / 0.5361 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.6464, allocations: 15.92 kB / 0.5361 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.6465, allocations: 19.31 kB / 0.5361 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.6465, allocations: 4 kB / 0.5361 GB, free: 14.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009365/0.6474, allocations: 0.7294 MB / 0.5368 GB, free: 14.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6474, allocations: 0 / 0.5368 GB, free: 14.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.6478, allocations: 111.1 kB / 0.5369 GB, free: 14.22 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.00125/0.6491, allocations: 0.5018 MB / 0.5374 GB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004145/0.6495, allocations: 293.8 kB / 0.5377 GB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6495, allocations: 0 / 0.5377 GB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/0.6496, allocations: 45.11 kB / 0.5377 GB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.65, allocations: 46.81 kB / 0.5378 GB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.6512, allocations: 0.7707 MB / 0.5385 GB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.6518, allocations: 0.8521 MB / 0.5394 GB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.6519, allocations: 84.92 kB / 0.5394 GB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.652, allocations: 44.67 kB / 0.5395 GB, free: 11.8 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.652, allocations: 4 kB / 0.5395 GB, free: 11.79 MB / 362.7 MB Notification: Performance of Templates: time 0.009517/0.6616, allocations: 4.982 MB / 0.5444 GB, free: 6.848 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)