Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001644/0.001644, 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.517/1.517, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001426/0.001426, allocations: 115.7 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.2817/0.2817, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.055e-05/4.058e-05, allocations: 8 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 54.86 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.526/0.6707, allocations: 82.81 MB / 0.5254 GB, free: 8.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.6711, allocations: 70.03 kB / 0.5254 GB, free: 8.453 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$t_new.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$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.01671/0.6879, allocations: 3.574 MB / 0.5289 GB, free: 5.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6879, allocations: 0 / 0.5289 GB, free: 5.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.6879, allocations: 8 kB / 0.5289 GB, free: 5.625 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000631/0.6886, allocations: 0.4969 MB / 0.5294 GB, free: 5.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.6886, allocations: 8.031 kB / 0.5294 GB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.136e-05/0.6887, allocations: 19.77 kB / 0.5294 GB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.6892, allocations: 212.8 kB / 0.5296 GB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.6892, allocations: 14.73 kB / 0.5296 GB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/0.6893, allocations: 8 kB / 0.5297 GB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.6895, allocations: 78.67 kB / 0.5297 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.6895, allocations: 0 / 0.5297 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.6896, allocations: 0 / 0.5297 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.6896, allocations: 3.953 kB / 0.5297 GB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.6897, allocations: 33.75 kB / 0.5298 GB, free: 4.695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007853/0.6905, allocations: 377.6 kB / 0.5301 GB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.691, allocations: 83.88 kB / 0.5302 GB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.6911, allocations: 35.53 kB / 0.5302 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.6911, allocations: 0 / 0.5302 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.6914, allocations: 84.89 kB / 0.5303 GB, free: 4.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.405e-06/0.6914, allocations: 0 / 0.5303 GB, free: 4.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004333/0.6918, allocations: 109.6 kB / 0.5304 GB, free: 4.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.6919, allocations: 59.34 kB / 0.5305 GB, free: 3.969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.6921, allocations: 156.3 kB / 0.5306 GB, free: 3.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.6922, allocations: 25.7 kB / 0.5307 GB, free: 3.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.6922, allocations: 112.5 kB / 0.5308 GB, free: 3.691 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.6923, allocations: 30.42 kB / 0.5308 GB, free: 3.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.6923, allocations: 3.562 kB / 0.5308 GB, free: 3.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6924, allocations: 326.1 kB / 0.5311 GB, free: 3.344 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.6926, allocations: 38.25 kB / 0.5311 GB, free: 3.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.6927, allocations: 59.69 kB / 0.5312 GB, free: 3.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.6929, allocations: 73.38 kB / 0.5313 GB, free: 3.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.6929, allocations: 4 kB / 0.5313 GB, free: 3.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004434/0.6934, allocations: 197.4 kB / 0.5315 GB, free: 3.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.6935, allocations: 37.69 kB / 0.5315 GB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.6935, allocations: 3.938 kB / 0.5315 GB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.378e-05/0.6935, allocations: 0 / 0.5315 GB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.6937, allocations: 23.98 kB / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.6937, allocations: 0 / 0.5315 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.6939, allocations: 15.09 kB / 0.5315 GB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.6939, allocations: 4 kB / 0.5315 GB, free: 2.945 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001901/0.6941, allocations: 124.1 kB / 0.5317 GB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.6941, allocations: 11.86 kB / 0.5317 GB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.6945, allocations: 114.9 kB / 0.5318 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.6945, allocations: 7.922 kB / 0.5318 GB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.6945, allocations: 0 / 0.5318 GB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6946, allocations: 4 kB / 0.5318 GB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.6948, allocations: 212.1 kB / 0.532 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6948, allocations: 0 / 0.532 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.6949, allocations: 15.31 kB / 0.532 GB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.695, allocations: 0 / 0.532 GB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.695, allocations: 7.953 kB / 0.532 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.695, allocations: 3.984 kB / 0.532 GB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.695, allocations: 0 / 0.532 GB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.6954, allocations: 171.7 kB / 0.5322 GB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.752e-05/0.6956, allocations: 100.3 kB / 0.5323 GB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.6956, allocations: 0 / 0.5323 GB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.6957, allocations: 19.69 kB / 0.5323 GB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.6958, allocations: 8.047 kB / 0.5323 GB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.6959, allocations: 4 kB / 0.5323 GB, free: 2.145 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.696, allocations: 130.9 kB / 0.5324 GB, free: 2.031 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.696, allocations: 0 / 0.5324 GB, free: 2.031 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000382/0.6964, allocations: 43.86 kB / 0.5325 GB, free: 1.992 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001524/0.698, allocations: 357.9 kB / 0.5328 GB, free: 1.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.6984, allocations: 168.8 kB / 0.533 GB, free: 1.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6984, allocations: 0 / 0.533 GB, free: 1.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.6986, allocations: 38.62 kB / 0.533 GB, free: 1.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.699, allocations: 31.66 kB / 0.533 GB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.6996, allocations: 174.5 kB / 0.5332 GB, free: 1.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.6999, allocations: 0.7199 MB / 0.5339 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.7, allocations: 8.562 kB / 0.5339 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.7001, allocations: 23.42 kB / 0.5339 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/0.7001, allocations: 0 / 0.5339 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of Templates: time 0.008018/0.7081, allocations: 1.788 MB / 0.5357 GB, free: 14.8 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)