Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008936/0.008936, allocations: 173.5 kB / 15.12 MB, free: 5.973 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.5 MB / 210.3 MB, free: 7.539 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.001673/0.001673, allocations: 116.6 kB / 255.6 MB, free: 10.15 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.2009/0.2009, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005685/0.0005686, allocations: 16.66 kB / 406.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1595, allocations: 54.87 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.3262, allocations: 82.15 MB / 0.5305 GB, free: 1.027 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.3266, allocations: 67.97 kB / 0.5305 GB, free: 0.9609 MB / 378.7 MB [/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$t_new.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$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.3644/0.691, allocations: 4.902 MB / 0.5353 GB, free: 83.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.691, allocations: 0 / 0.5353 GB, free: 83.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.6911, allocations: 3.25 kB / 0.5353 GB, free: 83.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006253/0.6917, allocations: 0.4933 MB / 0.5358 GB, free: 82.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6917, allocations: 15.12 kB / 0.5358 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.6918, allocations: 18.56 kB / 0.5358 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.6922, allocations: 216.6 kB / 0.536 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.6922, allocations: 5.812 kB / 0.536 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.6922, allocations: 4.969 kB / 0.536 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.6924, allocations: 54.05 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6924, allocations: 1.281 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.6924, allocations: 4.469 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.6924, allocations: 1 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-05/0.6925, allocations: 34.25 kB / 0.5361 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.693, allocations: 326 kB / 0.5364 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.6932, allocations: 58.48 kB / 0.5365 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.6932, allocations: 2.453 kB / 0.5365 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.6933, allocations: 83.61 kB / 0.5366 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.6934, allocations: 1.188 kB / 0.5366 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006142/0.694, allocations: 189 kB / 0.5368 GB, free: 81.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.694, allocations: 53.27 kB / 0.5368 GB, free: 81.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.6943, allocations: 232.4 kB / 0.537 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.6943, allocations: 31.52 kB / 0.5371 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.6944, allocations: 109.2 kB / 0.5372 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.6944, allocations: 30.25 kB / 0.5372 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.6945, allocations: 2.094 kB / 0.5372 GB, free: 81.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.6945, allocations: 327.3 kB / 0.5375 GB, free: 81.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.6946, allocations: 38.59 kB / 0.5376 GB, free: 81.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.6947, allocations: 54.91 kB / 0.5376 GB, free: 81.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.6948, allocations: 70.94 kB / 0.5377 GB, free: 81.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6949, allocations: 1.375 kB / 0.5377 GB, free: 81.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00029/0.6952, allocations: 187.9 kB / 0.5379 GB, free: 81.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.6952, allocations: 42.22 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6952, allocations: 1.031 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6952, allocations: 1 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.6953, allocations: 20.53 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6953, allocations: 0 / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.6954, allocations: 6.328 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.6954, allocations: 8.25 kB / 0.5379 GB, free: 81.09 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 (11): * Single equations (assignments): 10 * 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.0001018/0.6955, allocations: 138.7 kB / 0.5381 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.6956, allocations: 15.02 kB / 0.5381 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.6959, allocations: 129.7 kB / 0.5382 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6959, allocations: 0.625 kB / 0.5382 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.6959, allocations: 2 kB / 0.5382 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.6959, allocations: 0.7031 kB / 0.5382 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.6965, allocations: 441.3 kB / 0.5386 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.6965, allocations: 4.031 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.6965, allocations: 14.73 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6965, allocations: 0.9062 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.6966, allocations: 1.891 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.6966, allocations: 6.031 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6966, allocations: 1.406 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.6968, allocations: 229.4 kB / 0.5389 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.6969, allocations: 104.7 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.697, allocations: 2.031 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.6971, allocations: 7.844 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.6971, allocations: 11.02 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.6971, allocations: 3.531 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.6973, allocations: 189.4 kB / 0.5392 GB, free: 80.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6973, allocations: 0 / 0.5392 GB, free: 80.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000314/0.6977, allocations: 56.2 kB / 0.5392 GB, free: 80.23 MB / 378.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: 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 (9): * Single equations (assignments): 7 * 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.001099/0.6988, allocations: 438.8 kB / 0.5396 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003861/0.6992, allocations: 170.6 kB / 0.5398 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6992, allocations: 1.188 kB / 0.5398 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.6993, allocations: 41.92 kB / 0.5398 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.6995, allocations: 19.86 kB / 0.5399 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.7002, allocations: 323 kB / 0.5402 GB, free: 79.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.7004, allocations: 0.7249 MB / 0.5409 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.592e-05/0.7005, allocations: 15.08 kB / 0.5409 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.7005, allocations: 18.73 kB / 0.5409 GB, free: 78.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.7005, allocations: 0 / 0.5409 GB, free: 78.96 MB / 378.7 MB Notification: Performance of Templates: time 0.005529/0.7061, allocations: 1.869 MB / 0.5427 GB, free: 78.71 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)