Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001757/0.001757, allocations: 182.3 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.548/1.548, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001814/0.001814, allocations: 107.1 kB / 252.6 MB, free: 4.797 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.2344/0.2344, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.343e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.6082, allocations: 82.07 MB / 0.5246 GB, free: 8.957 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.6086, allocations: 70.27 kB / 0.5247 GB, free: 8.922 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.0126/0.6212, allocations: 4.873 MB / 0.5295 GB, free: 5.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6212, allocations: 0 / 0.5295 GB, free: 5.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.6213, allocations: 8 kB / 0.5295 GB, free: 5.031 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.0004791/0.6218, allocations: 478.4 kB / 0.5299 GB, free: 4.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.6218, allocations: 8.031 kB / 0.5299 GB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.6219, allocations: 15.81 kB / 0.5299 GB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.6222, allocations: 221.5 kB / 0.5302 GB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.6222, allocations: 4 kB / 0.5302 GB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.6222, allocations: 4 kB / 0.5302 GB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.6224, allocations: 53.42 kB / 0.5302 GB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.6224, allocations: 0 / 0.5302 GB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.6224, allocations: 3.953 kB / 0.5302 GB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6224, allocations: 0 / 0.5302 GB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.597e-05/0.6225, allocations: 31.23 kB / 0.5302 GB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.6229, allocations: 330 kB / 0.5306 GB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.6231, allocations: 49.31 kB / 0.5306 GB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.6231, allocations: 27.8 kB / 0.5306 GB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.6231, allocations: 0 / 0.5306 GB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.6233, allocations: 74.59 kB / 0.5307 GB, free: 3.672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.6233, allocations: 4 kB / 0.5307 GB, free: 3.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004862/0.6238, allocations: 174.6 kB / 0.5309 GB, free: 3.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.6238, allocations: 51.41 kB / 0.5309 GB, free: 3.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.6241, allocations: 230 kB / 0.5311 GB, free: 3.258 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.6241, allocations: 28.89 kB / 0.5312 GB, free: 3.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.6241, allocations: 119.5 kB / 0.5313 GB, free: 3.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.6242, allocations: 27.02 kB / 0.5313 GB, free: 3.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.6242, allocations: 0 / 0.5313 GB, free: 3.102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.061e-05/0.6243, allocations: 333.1 kB / 0.5316 GB, free: 2.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.6243, allocations: 32.06 kB / 0.5317 GB, free: 2.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.6244, allocations: 53.08 kB / 0.5317 GB, free: 2.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.56e-05/0.6245, allocations: 73.19 kB / 0.5318 GB, free: 2.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.6245, allocations: 0 / 0.5318 GB, free: 2.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002239/0.6247, allocations: 182.7 kB / 0.532 GB, free: 2.488 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.6248, allocations: 37.08 kB / 0.532 GB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6248, allocations: 0 / 0.532 GB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6248, allocations: 4.031 kB / 0.532 GB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.968e-05/0.6249, allocations: 15.98 kB / 0.532 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.625, allocations: 4 kB / 0.532 GB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.625, allocations: 7.906 kB / 0.532 GB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.625, allocations: 11.19 kB / 0.532 GB, free: 2.41 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.423e-05/0.6251, allocations: 112.3 kB / 0.5321 GB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.6251, allocations: 15.86 kB / 0.5322 GB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.6254, allocations: 126.3 kB / 0.5323 GB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6254, allocations: 4 kB / 0.5323 GB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6254, allocations: 0 / 0.5323 GB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.6254, allocations: 0 / 0.5323 GB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.6258, allocations: 431 kB / 0.5327 GB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6258, allocations: 0 / 0.5327 GB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.6259, allocations: 8 kB / 0.5327 GB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6259, allocations: 4 kB / 0.5327 GB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.6259, allocations: 0 / 0.5327 GB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6259, allocations: 4.016 kB / 0.5327 GB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6259, allocations: 8 kB / 0.5327 GB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.6261, allocations: 224.7 kB / 0.5329 GB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.6262, allocations: 104.2 kB / 0.533 GB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.6262, allocations: 4 kB / 0.533 GB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.6263, allocations: 2.812 kB / 0.533 GB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.6263, allocations: 15.92 kB / 0.533 GB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.6263, allocations: 8 kB / 0.5331 GB, free: 1.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.6265, allocations: 193 kB / 0.5332 GB, free: 1.184 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.6265, allocations: 0 / 0.5332 GB, free: 1.184 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.6268, allocations: 50.8 kB / 0.5333 GB, free: 1.137 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.0009221/0.6277, allocations: 386.2 kB / 0.5337 GB, free: 0.832 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.6279, allocations: 173.7 kB / 0.5338 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6279, allocations: 0 / 0.5338 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.622e-05/0.628, allocations: 35.3 kB / 0.5339 GB, free: 0.668 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.6283, allocations: 27.28 kB / 0.5339 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.6287, allocations: 221.4 kB / 0.5341 GB, free: 436 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.629, allocations: 0.7239 MB / 0.5348 GB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.893e-05/0.6291, allocations: 16.42 kB / 0.5348 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.6291, allocations: 19.19 kB / 0.5348 GB, free: 15.65 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6291, allocations: 0 / 0.5348 GB, free: 15.65 MB / 362.7 MB Notification: Performance of Templates: time 0.004972/0.6341, allocations: 1.874 MB / 0.5367 GB, free: 13.8 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)