Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001157/0.001157, allocations: 181.2 kB / 12.74 MB, free: 2.578 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.734/1.734, allocations: 194.3 MB / 207.5 MB, free: 3.441 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.001524/0.001524, allocations: 110.5 kB / 252.6 MB, free: 4.812 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.2774/0.2774, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.887e-05, allocations: 8 kB / 400.3 MB, free: 69.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 54.85 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4791/0.5956, allocations: 82.06 MB / 0.5246 GB, free: 9.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/0.596, allocations: 74.27 kB / 0.5247 GB, free: 8.965 MB / 346.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.01501/0.611, allocations: 4.679 MB / 0.5293 GB, free: 5.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6111, allocations: 0 / 0.5293 GB, free: 5.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.6111, allocations: 7.938 kB / 0.5293 GB, free: 5.254 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004875/0.6116, allocations: 460.1 kB / 0.5297 GB, free: 4.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.6116, allocations: 16.02 kB / 0.5297 GB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.6117, allocations: 7.906 kB / 0.5297 GB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.612, allocations: 203.3 kB / 0.5299 GB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.612, allocations: 7.188 kB / 0.5299 GB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.6121, allocations: 8 kB / 0.5299 GB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.6122, allocations: 51.86 kB / 0.53 GB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.6123, allocations: 3.938 kB / 0.53 GB, free: 4.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.6123, allocations: 11.39 kB / 0.53 GB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6123, allocations: 0 / 0.53 GB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.931e-05/0.6124, allocations: 18.92 kB / 0.53 GB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.6129, allocations: 321.4 kB / 0.5303 GB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.613, allocations: 59.25 kB / 0.5304 GB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.6131, allocations: 24.23 kB / 0.5304 GB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.6131, allocations: 0 / 0.5304 GB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.6132, allocations: 77.53 kB / 0.5305 GB, free: 3.922 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.6132, allocations: 0 / 0.5305 GB, free: 3.922 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005409/0.6138, allocations: 157.3 kB / 0.5306 GB, free: 3.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.6138, allocations: 59.34 kB / 0.5307 GB, free: 3.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.614, allocations: 193.6 kB / 0.5309 GB, free: 3.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.6141, allocations: 29.7 kB / 0.5309 GB, free: 3.508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.6141, allocations: 107 kB / 0.531 GB, free: 3.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.6141, allocations: 23.02 kB / 0.531 GB, free: 3.395 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.6142, allocations: 7.938 kB / 0.531 GB, free: 3.387 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.6143, allocations: 326.1 kB / 0.5313 GB, free: 3.066 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.6144, allocations: 33.69 kB / 0.5314 GB, free: 3.047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.6144, allocations: 52.41 kB / 0.5314 GB, free: 3.004 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.52e-05/0.6145, allocations: 71.86 kB / 0.5315 GB, free: 2.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6145, allocations: 0 / 0.5315 GB, free: 2.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002129/0.6148, allocations: 180.4 kB / 0.5317 GB, free: 2.785 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.6148, allocations: 37.69 kB / 0.5317 GB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6148, allocations: 0 / 0.5317 GB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.6148, allocations: 0 / 0.5317 GB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.6149, allocations: 15.94 kB / 0.5317 GB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.615, allocations: 8.031 kB / 0.5317 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.615, allocations: 11.42 kB / 0.5317 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.615, allocations: 4 kB / 0.5317 GB, free: 2.707 MB / 346.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 () * 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 6.612e-05/0.6151, allocations: 112.8 kB / 0.5318 GB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.6151, allocations: 15.77 kB / 0.5319 GB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.6154, allocations: 124 kB / 0.532 GB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.6154, allocations: 0 / 0.532 GB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6154, allocations: 0 / 0.532 GB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6154, allocations: 4 kB / 0.532 GB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.6158, allocations: 418.1 kB / 0.5324 GB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6158, allocations: 0 / 0.5324 GB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.6158, allocations: 11.98 kB / 0.5324 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.6159, allocations: 0 / 0.5324 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6159, allocations: 4 kB / 0.5324 GB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6159, allocations: 0 / 0.5324 GB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6159, allocations: 3.938 kB / 0.5324 GB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.6161, allocations: 227.7 kB / 0.5326 GB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.6162, allocations: 108.2 kB / 0.5327 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.6162, allocations: 4.156 kB / 0.5327 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.6163, allocations: 8.172 kB / 0.5327 GB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.6163, allocations: 4 kB / 0.5327 GB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.6163, allocations: 11.94 kB / 0.5327 GB, free: 1.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.6165, allocations: 153.5 kB / 0.5329 GB, free: 1.523 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6165, allocations: 0 / 0.5329 GB, free: 1.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000265/0.6167, allocations: 46.42 kB / 0.5329 GB, free: 1.484 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: 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 (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.0009421/0.6177, allocations: 386.5 kB / 0.5333 GB, free: 1.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.618, allocations: 169.1 kB / 0.5335 GB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.618, allocations: 0 / 0.5335 GB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.618, allocations: 35 kB / 0.5335 GB, free: 1.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.6184, allocations: 26.19 kB / 0.5335 GB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.6188, allocations: 184.2 kB / 0.5337 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.619, allocations: 0.7155 MB / 0.5344 GB, free: 72 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.619, allocations: 16.64 kB / 0.5344 GB, free: 56 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.6191, allocations: 15.44 kB / 0.5344 GB, free: 40 kB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6191, allocations: 0 / 0.5344 GB, free: 40 kB / 346.7 MB Notification: Performance of Templates: time 0.004524/0.6236, allocations: 1.786 MB / 0.5362 GB, free: 14.28 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)