Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001995/0.001995, allocations: 181.3 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.814/1.814, 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.001779/0.001779, allocations: 106.2 kB / 252.6 MB, free: 4.801 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.2507/0.2507, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.322e-05, allocations: 8 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.549/0.6793, allocations: 82.03 MB / 0.5246 GB, free: 9.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.6796, allocations: 70.41 kB / 0.5247 GB, free: 9.035 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.0113/0.6909, allocations: 4.406 MB / 0.529 GB, free: 5.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.691, allocations: 0 / 0.529 GB, free: 5.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.691, allocations: 7.938 kB / 0.529 GB, free: 5.562 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.0004761/0.6915, allocations: 467.3 kB / 0.5294 GB, free: 5.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.6915, allocations: 8.031 kB / 0.5294 GB, free: 5.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.6916, allocations: 7.906 kB / 0.5294 GB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.6919, allocations: 206.1 kB / 0.5296 GB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.6919, allocations: 4 kB / 0.5296 GB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.6919, allocations: 7.938 kB / 0.5296 GB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.6921, allocations: 55.86 kB / 0.5297 GB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.6921, allocations: 0 / 0.5297 GB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6921, allocations: 7.953 kB / 0.5297 GB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.6921, allocations: 4 kB / 0.5297 GB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.617e-05/0.6922, allocations: 15.12 kB / 0.5297 GB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.6926, allocations: 308.8 kB / 0.53 GB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.6927, allocations: 56.5 kB / 0.5301 GB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.6928, allocations: 22.86 kB / 0.5301 GB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.6928, allocations: 4 kB / 0.5301 GB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.6929, allocations: 69.66 kB / 0.5302 GB, free: 4.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.693, allocations: 0 / 0.5302 GB, free: 4.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004993/0.6935, allocations: 163.9 kB / 0.5303 GB, free: 4.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.6935, allocations: 58.97 kB / 0.5304 GB, free: 4.047 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.6936, allocations: 155.8 kB / 0.5305 GB, free: 3.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.6937, allocations: 29.52 kB / 0.5305 GB, free: 3.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.6938, allocations: 103.8 kB / 0.5306 GB, free: 3.773 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.6938, allocations: 27.52 kB / 0.5307 GB, free: 3.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.6938, allocations: 3.938 kB / 0.5307 GB, free: 3.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.694, allocations: 318.7 kB / 0.531 GB, free: 3.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.694, allocations: 38.98 kB / 0.531 GB, free: 3.406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-05/0.6941, allocations: 51.78 kB / 0.5311 GB, free: 3.363 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.126e-05/0.6942, allocations: 72.17 kB / 0.5311 GB, free: 3.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.6942, allocations: 0 / 0.5311 GB, free: 3.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002119/0.6944, allocations: 180.6 kB / 0.5313 GB, free: 3.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.6945, allocations: 37.69 kB / 0.5313 GB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6945, allocations: 0 / 0.5313 GB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6945, allocations: 4 kB / 0.5313 GB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.6946, allocations: 12 kB / 0.5314 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.6946, allocations: 0 / 0.5314 GB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.6947, allocations: 7.188 kB / 0.5314 GB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.6947, allocations: 11.98 kB / 0.5314 GB, free: 3.07 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 7.836e-05/0.6948, allocations: 116.9 kB / 0.5315 GB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.6948, allocations: 11.86 kB / 0.5315 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.695, allocations: 119.3 kB / 0.5316 GB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.695, allocations: 0 / 0.5316 GB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.695, allocations: 4 kB / 0.5316 GB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.695, allocations: 0 / 0.5316 GB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.6954, allocations: 400.9 kB / 0.532 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6955, allocations: 0 / 0.532 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.6955, allocations: 23.95 kB / 0.532 GB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6955, allocations: 0 / 0.532 GB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.6955, allocations: 0 / 0.532 GB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6955, allocations: 4 kB / 0.532 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.6955, allocations: 0 / 0.532 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.6957, allocations: 227.3 kB / 0.5322 GB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.6958, allocations: 100.6 kB / 0.5323 GB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.6958, allocations: 4.219 kB / 0.5323 GB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.696, allocations: 4 kB / 0.5323 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.696, allocations: 7.984 kB / 0.5324 GB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.696, allocations: 7.375 kB / 0.5324 GB, free: 2.047 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.6962, allocations: 134.6 kB / 0.5325 GB, free: 1.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6962, allocations: 0 / 0.5325 GB, free: 1.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.6964, allocations: 35.94 kB / 0.5325 GB, free: 1.895 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.0009599/0.6974, allocations: 395.3 kB / 0.5329 GB, free: 1.586 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.6976, allocations: 161.5 kB / 0.5331 GB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6977, allocations: 0 / 0.5331 GB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.6978, allocations: 35.36 kB / 0.5331 GB, free: 1.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.698, allocations: 23.12 kB / 0.5331 GB, free: 1.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.6984, allocations: 159.8 kB / 0.5333 GB, free: 1.246 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.6987, allocations: 0.7004 MB / 0.5339 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.993e-05/0.6988, allocations: 16.56 kB / 0.534 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.6989, allocations: 19.38 kB / 0.534 GB, free: 496 kB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6989, allocations: 0 / 0.534 GB, free: 496 kB / 346.7 MB Notification: Performance of Templates: time 0.005014/0.7039, allocations: 1.719 MB / 0.5357 GB, free: 14.79 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)