Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001055/0.001056, allocations: 182.8 kB / 7.652 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.448/1.448, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001665/0.001665, allocations: 108.9 kB / 247.4 MB, free: 6.219 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.201/0.201, allocations: 39.95 MB / 332.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.552e-05, allocations: 8 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09205, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3416/0.4337, allocations: 81.39 MB / 0.5172 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.434, allocations: 76.41 kB / 0.5173 GB, free: 10.36 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.01131/0.4453, allocations: 4.519 MB / 0.5217 GB, free: 9.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4453, allocations: 0 / 0.5217 GB, free: 9.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.4454, allocations: 7.844 kB / 0.5217 GB, free: 9.238 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.0004615/0.4458, allocations: 454.1 kB / 0.5221 GB, free: 8.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4459, allocations: 7.812 kB / 0.5221 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.4459, allocations: 11.47 kB / 0.5221 GB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.4462, allocations: 209.2 kB / 0.5223 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4462, allocations: 0 / 0.5223 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4463, allocations: 7.859 kB / 0.5223 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.592e-05/0.4464, allocations: 17.47 kB / 0.5224 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.489e-05/0.4465, allocations: 60.02 kB / 0.5224 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4465, allocations: 7.938 kB / 0.5224 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4465, allocations: 0 / 0.5224 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4465, allocations: 0 / 0.5224 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.4468, allocations: 292.1 kB / 0.5227 GB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.637e-05/0.4469, allocations: 52.31 kB / 0.5227 GB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.447, allocations: 20.45 kB / 0.5228 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.447, allocations: 0 / 0.5228 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.4471, allocations: 76.59 kB / 0.5228 GB, free: 8.125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4471, allocations: 0 / 0.5228 GB, free: 8.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004053/0.4475, allocations: 142.3 kB / 0.523 GB, free: 8.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.4476, allocations: 55.34 kB / 0.523 GB, free: 8.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.4477, allocations: 165.9 kB / 0.5232 GB, free: 7.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.4477, allocations: 33.58 kB / 0.5232 GB, free: 7.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.4478, allocations: 99.69 kB / 0.5233 GB, free: 7.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.4478, allocations: 18.66 kB / 0.5233 GB, free: 7.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.4478, allocations: 0 / 0.5233 GB, free: 7.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.4479, allocations: 326.3 kB / 0.5236 GB, free: 7.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.4479, allocations: 30.22 kB / 0.5237 GB, free: 7.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.448, allocations: 50.27 kB / 0.5237 GB, free: 7.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.4481, allocations: 41.45 kB / 0.5238 GB, free: 7.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4481, allocations: 0 / 0.5238 GB, free: 7.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000171/0.4482, allocations: 134.4 kB / 0.5239 GB, free: 7.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.4483, allocations: 37.34 kB / 0.5239 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4483, allocations: 3.953 kB / 0.5239 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4483, allocations: 0 / 0.5239 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.4484, allocations: 15.47 kB / 0.5239 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4484, allocations: 8.188 kB / 0.5239 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.4485, allocations: 11.8 kB / 0.524 GB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4485, allocations: 3.875 kB / 0.524 GB, free: 7.309 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.882e-05/0.4486, allocations: 115.7 kB / 0.5241 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.4486, allocations: 15.5 kB / 0.5241 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.4488, allocations: 106.3 kB / 0.5242 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4488, allocations: 7.891 kB / 0.5242 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4488, allocations: 0 / 0.5242 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4488, allocations: 0 / 0.5242 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.4491, allocations: 383.1 kB / 0.5246 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4491, allocations: 0 / 0.5246 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.4492, allocations: 11.66 kB / 0.5246 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4492, allocations: 4.141 kB / 0.5246 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4492, allocations: 7.828 kB / 0.5246 GB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4492, allocations: 3.938 kB / 0.5246 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4492, allocations: 0 / 0.5246 GB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.4494, allocations: 213.9 kB / 0.5248 GB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.4494, allocations: 102.8 kB / 0.5249 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.4495, allocations: 3.844 kB / 0.5249 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.4495, allocations: 0 / 0.5249 GB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.4496, allocations: 10.52 kB / 0.5249 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.4496, allocations: 3.844 kB / 0.5249 GB, free: 6.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.4497, allocations: 139.4 kB / 0.525 GB, free: 6.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4497, allocations: 0 / 0.525 GB, free: 6.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.45, allocations: 34.84 kB / 0.5251 GB, free: 6.422 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.0008198/0.4508, allocations: 359.1 kB / 0.5254 GB, free: 6.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.451, allocations: 157.9 kB / 0.5256 GB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.451, allocations: 0 / 0.5256 GB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.553e-05/0.4511, allocations: 30.55 kB / 0.5256 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.4513, allocations: 26.58 kB / 0.5256 GB, free: 6.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.4516, allocations: 154.3 kB / 0.5258 GB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.4518, allocations: 0.7147 MB / 0.5265 GB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.74e-05/0.4518, allocations: 12.17 kB / 0.5265 GB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.4518, allocations: 23.08 kB / 0.5265 GB, free: 5.262 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4519, allocations: 0 / 0.5265 GB, free: 5.262 MB / 346.7 MB Notification: Performance of Templates: time 0.003541/0.4554, allocations: 1.64 MB / 0.5281 GB, free: 4.438 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)