Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00104/0.00104, allocations: 181.9 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.55/1.55, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001529/0.001529, allocations: 114.8 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.2331/0.2331, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.318e-05, allocations: 8 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4866/0.6164, allocations: 82.06 MB / 0.5246 GB, free: 9.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.6167, allocations: 72.77 kB / 0.5247 GB, free: 9.027 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.01221/0.6289, allocations: 4.847 MB / 0.5294 GB, free: 5.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.629, allocations: 0 / 0.5294 GB, free: 5.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.629, allocations: 4 kB / 0.5294 GB, free: 5.16 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.0004577/0.6294, allocations: 478.9 kB / 0.5299 GB, free: 4.645 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.6295, allocations: 8.031 kB / 0.5299 GB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.6296, allocations: 18.88 kB / 0.5299 GB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.6299, allocations: 216.6 kB / 0.5301 GB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.6299, allocations: 4 kB / 0.5301 GB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.6299, allocations: 4 kB / 0.5301 GB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.6301, allocations: 59.11 kB / 0.5302 GB, free: 4.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.6301, allocations: 4 kB / 0.5302 GB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.6301, allocations: 3.953 kB / 0.5302 GB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6301, allocations: 0 / 0.5302 GB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.6302, allocations: 26.42 kB / 0.5302 GB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.6306, allocations: 321.5 kB / 0.5305 GB, free: 3.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.6307, allocations: 55.19 kB / 0.5306 GB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.6308, allocations: 24.42 kB / 0.5306 GB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.6308, allocations: 7.984 kB / 0.5306 GB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.631, allocations: 72.09 kB / 0.5307 GB, free: 3.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.631, allocations: 0 / 0.5307 GB, free: 3.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004995/0.6315, allocations: 180.2 kB / 0.5308 GB, free: 3.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.6315, allocations: 51.41 kB / 0.5309 GB, free: 3.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.6317, allocations: 233.8 kB / 0.5311 GB, free: 3.379 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.6318, allocations: 33.02 kB / 0.5311 GB, free: 3.344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.6318, allocations: 117 kB / 0.5313 GB, free: 3.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.6318, allocations: 23.09 kB / 0.5313 GB, free: 3.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.6318, allocations: 0 / 0.5313 GB, free: 3.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/0.6319, allocations: 332.4 kB / 0.5316 GB, free: 2.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.632, allocations: 30.19 kB / 0.5316 GB, free: 2.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/0.6321, allocations: 52.52 kB / 0.5317 GB, free: 2.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.615e-05/0.6322, allocations: 81.73 kB / 0.5318 GB, free: 2.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.6322, allocations: 0 / 0.5318 GB, free: 2.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002115/0.6324, allocations: 178.2 kB / 0.5319 GB, free: 2.613 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.6324, allocations: 37.69 kB / 0.532 GB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6324, allocations: 0 / 0.532 GB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6325, allocations: 4 kB / 0.532 GB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.6325, allocations: 12 kB / 0.532 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.6326, allocations: 0 / 0.532 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.6326, allocations: 18.89 kB / 0.532 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.6326, allocations: 12.03 kB / 0.532 GB, free: 2.527 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 5.911e-05/0.6327, allocations: 107.5 kB / 0.5321 GB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.6327, allocations: 15.86 kB / 0.5321 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.633, allocations: 123.3 kB / 0.5322 GB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.633, allocations: 4 kB / 0.5322 GB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.633, allocations: 0 / 0.5322 GB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.633, allocations: 0 / 0.5322 GB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.6334, allocations: 436.2 kB / 0.5327 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6334, allocations: 0 / 0.5327 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.6334, allocations: 11.98 kB / 0.5327 GB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6334, allocations: 0 / 0.5327 GB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.6335, allocations: 7.812 kB / 0.5327 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6335, allocations: 0 / 0.5327 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6335, allocations: 0 / 0.5327 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.6336, allocations: 228.9 kB / 0.5329 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.522e-05/0.6337, allocations: 104.7 kB / 0.533 GB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.6338, allocations: 3.984 kB / 0.533 GB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.226e-05/0.6338, allocations: 8.062 kB / 0.533 GB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.6339, allocations: 7.938 kB / 0.533 GB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.6339, allocations: 11.98 kB / 0.533 GB, free: 1.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.6341, allocations: 194.2 kB / 0.5332 GB, free: 1.305 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6341, allocations: 3.938 kB / 0.5332 GB, free: 1.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.6343, allocations: 47.75 kB / 0.5333 GB, free: 1.258 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.0009768/0.6353, allocations: 390.6 kB / 0.5336 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.6356, allocations: 161.7 kB / 0.5338 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6356, allocations: 4 kB / 0.5338 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.6356, allocations: 31.62 kB / 0.5338 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.6359, allocations: 31.27 kB / 0.5338 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.6363, allocations: 225.6 kB / 0.5341 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.6366, allocations: 0.7198 MB / 0.5348 GB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.6367, allocations: 12.44 kB / 0.5348 GB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.6367, allocations: 23.36 kB / 0.5348 GB, free: 15.76 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6368, allocations: 4 kB / 0.5348 GB, free: 15.76 MB / 362.7 MB Notification: Performance of Templates: time 0.005206/0.642, allocations: 1.879 MB / 0.5366 GB, free: 13.9 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)