Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005769/0.005769, allocations: 175.2 kB / 15.12 MB, free: 6.039 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.732/1.732, allocations: 194.5 MB / 210.3 MB, free: 7.633 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.001758/0.001758, allocations: 124.5 kB / 255.6 MB, free: 10.25 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.2027/0.2027, allocations: 40.02 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 16.66 kB / 406.2 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 54.88 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.3104, allocations: 81.98 MB / 0.5303 GB, free: 1.227 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3107, allocations: 71.97 kB / 0.5304 GB, free: 1.156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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$t_new.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$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3303/0.641, allocations: 4.425 MB / 0.5347 GB, free: 82.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6411, allocations: 0 / 0.5347 GB, free: 82.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.6411, allocations: 1.75 kB / 0.5347 GB, free: 82.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005824/0.6417, allocations: 460.2 kB / 0.5351 GB, free: 82.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.6418, allocations: 12.5 kB / 0.5351 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.6418, allocations: 17.95 kB / 0.5352 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.6422, allocations: 200.6 kB / 0.5353 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.6422, allocations: 2.5 kB / 0.5353 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.6423, allocations: 8.188 kB / 0.5354 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.6424, allocations: 47.55 kB / 0.5354 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6425, allocations: 1.984 kB / 0.5354 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.6425, allocations: 3.953 kB / 0.5354 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.6425, allocations: 1.281 kB / 0.5354 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.6426, allocations: 22.52 kB / 0.5354 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.6429, allocations: 195.9 kB / 0.5356 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.6432, allocations: 55.61 kB / 0.5357 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.6432, allocations: 1.156 kB / 0.5357 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.6434, allocations: 73.7 kB / 0.5357 GB, free: 81.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.934e-06/0.6434, allocations: 0 / 0.5357 GB, free: 81.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004178/0.6438, allocations: 98.39 kB / 0.5358 GB, free: 81.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.6439, allocations: 56.02 kB / 0.5359 GB, free: 81.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.6441, allocations: 173.4 kB / 0.536 GB, free: 81.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.6442, allocations: 28.05 kB / 0.5361 GB, free: 81.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.6442, allocations: 99.77 kB / 0.5362 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.6443, allocations: 12.08 kB / 0.5362 GB, free: 81.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.6443, allocations: 4.938 kB / 0.5362 GB, free: 81.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.6444, allocations: 324.1 kB / 0.5365 GB, free: 81.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.6445, allocations: 29.64 kB / 0.5365 GB, free: 81.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.6446, allocations: 51.88 kB / 0.5366 GB, free: 81.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.6448, allocations: 63.92 kB / 0.5366 GB, free: 81.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6448, allocations: 0 / 0.5366 GB, free: 81.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004031/0.6452, allocations: 164.7 kB / 0.5368 GB, free: 81.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.6453, allocations: 39.61 kB / 0.5368 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6453, allocations: 80 / 0.5368 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.6453, allocations: 2.062 kB / 0.5368 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.6454, allocations: 14.64 kB / 0.5368 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.6455, allocations: 5.484 kB / 0.5369 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.615e-05/0.6456, allocations: 9.734 kB / 0.5369 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.6456, allocations: 5.094 kB / 0.5369 GB, free: 81.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001141/0.6457, allocations: 127.7 kB / 0.537 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.6458, allocations: 16.34 kB / 0.537 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.6461, allocations: 94.98 kB / 0.5371 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.6461, allocations: 0.7969 kB / 0.5371 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.6461, allocations: 0.9375 kB / 0.5371 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6461, allocations: 0 / 0.5371 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.6463, allocations: 192.9 kB / 0.5373 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6463, allocations: 1.891 kB / 0.5373 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.6464, allocations: 9.281 kB / 0.5373 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6464, allocations: 4 kB / 0.5373 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.6464, allocations: 2.75 kB / 0.5373 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6464, allocations: 4 kB / 0.5373 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6464, allocations: 1.797 kB / 0.5373 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.6467, allocations: 116.4 kB / 0.5374 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.6468, allocations: 97.56 kB / 0.5375 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.6468, allocations: 4.234 kB / 0.5375 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/0.6469, allocations: 3.25 kB / 0.5375 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.6469, allocations: 4.172 kB / 0.5375 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.647, allocations: 7.094 kB / 0.5375 GB, free: 80.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000151/0.6471, allocations: 138.5 kB / 0.5377 GB, free: 80.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6471, allocations: 0 / 0.5377 GB, free: 80.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004328/0.6476, allocations: 31.61 kB / 0.5377 GB, free: 80.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001314/0.6489, allocations: 377.7 kB / 0.538 GB, free: 80.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.6493, allocations: 149.2 kB / 0.5382 GB, free: 80.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6493, allocations: 0 / 0.5382 GB, free: 80.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.6494, allocations: 25.61 kB / 0.5382 GB, free: 80.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.6497, allocations: 25.05 kB / 0.5382 GB, free: 80.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.6502, allocations: 220 kB / 0.5384 GB, free: 80.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.6504, allocations: 0.7018 MB / 0.5391 GB, free: 79.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.856e-05/0.6505, allocations: 13.48 kB / 0.5391 GB, free: 79.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.6506, allocations: 18.36 kB / 0.5392 GB, free: 79.33 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6506, allocations: 0 / 0.5392 GB, free: 79.33 MB / 378.7 MB Notification: Performance of Templates: time 0.006388/0.657, allocations: 1.517 MB / 0.5406 GB, free: 79.14 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)