Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001247/0.001247, allocations: 187.4 kB / 7.654 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.465/1.465, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001608/0.001608, allocations: 120.7 kB / 247.4 MB, free: 6.223 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.2/0.2, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.585e-05, allocations: 7.984 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08362/0.08365, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4401, allocations: 81.35 MB / 0.5171 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001639/0.4403, allocations: 71.38 kB / 0.5172 GB, free: 10.33 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.01091/0.4512, allocations: 4.439 MB / 0.5215 GB, free: 9.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4512, allocations: 0 / 0.5215 GB, free: 9.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.4513, allocations: 0 / 0.5215 GB, free: 9.246 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.0004258/0.4517, allocations: 459.5 kB / 0.522 GB, free: 8.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.4517, allocations: 7.719 kB / 0.522 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.4518, allocations: 7.75 kB / 0.522 GB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.4521, allocations: 213.9 kB / 0.5222 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.4521, allocations: 0 / 0.5222 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.4522, allocations: 3.844 kB / 0.5222 GB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.662e-05/0.4523, allocations: 18.83 kB / 0.5222 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.02e-05/0.4524, allocations: 51.75 kB / 0.5223 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.4524, allocations: 7.938 kB / 0.5223 GB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4524, allocations: 7.844 kB / 0.5223 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4524, allocations: 0 / 0.5223 GB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.4528, allocations: 290.6 kB / 0.5226 GB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.4529, allocations: 48.09 kB / 0.5226 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.436e-05/0.4529, allocations: 16.36 kB / 0.5226 GB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.453, allocations: 7.875 kB / 0.5226 GB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.4531, allocations: 69.72 kB / 0.5227 GB, free: 8.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.053e-06/0.4531, allocations: 0 / 0.5227 GB, free: 8.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004615/0.4536, allocations: 149.2 kB / 0.5228 GB, free: 8.082 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.4536, allocations: 51.41 kB / 0.5229 GB, free: 8.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.4537, allocations: 167.1 kB / 0.5231 GB, free: 7.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.4538, allocations: 29.08 kB / 0.5231 GB, free: 7.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.4538, allocations: 102.7 kB / 0.5232 GB, free: 7.785 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.4538, allocations: 22.77 kB / 0.5232 GB, free: 7.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.4539, allocations: 0 / 0.5232 GB, free: 7.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.4539, allocations: 326.2 kB / 0.5235 GB, free: 7.453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.454, allocations: 31.28 kB / 0.5235 GB, free: 7.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.4541, allocations: 48.48 kB / 0.5236 GB, free: 7.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.4541, allocations: 34.61 kB / 0.5236 GB, free: 7.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4541, allocations: 0 / 0.5236 GB, free: 7.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001908/0.4543, allocations: 142.8 kB / 0.5238 GB, free: 7.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.4544, allocations: 33.39 kB / 0.5238 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4544, allocations: 12 kB / 0.5238 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4544, allocations: 0 / 0.5238 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.4545, allocations: 19.39 kB / 0.5238 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4545, allocations: 3.938 kB / 0.5238 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/0.4546, allocations: 3.906 kB / 0.5238 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4546, allocations: 7.812 kB / 0.5238 GB, free: 7.32 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.925e-05/0.4547, allocations: 120.1 kB / 0.5239 GB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.4547, allocations: 15.44 kB / 0.524 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.4549, allocations: 100.1 kB / 0.5241 GB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.4549, allocations: 7.828 kB / 0.5241 GB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4549, allocations: 3.984 kB / 0.5241 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.4549, allocations: 0 / 0.5241 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.4553, allocations: 380.1 kB / 0.5244 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.4553, allocations: 0 / 0.5244 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.4553, allocations: 15.81 kB / 0.5244 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4553, allocations: 3.953 kB / 0.5245 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4554, allocations: 3.844 kB / 0.5245 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4554, allocations: 0 / 0.5245 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4554, allocations: 3.984 kB / 0.5245 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.4556, allocations: 211.5 kB / 0.5247 GB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.4556, allocations: 108 kB / 0.5248 GB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.4557, allocations: 0 / 0.5248 GB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.4557, allocations: 3.875 kB / 0.5248 GB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.4558, allocations: 11.45 kB / 0.5248 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.4558, allocations: 3.75 kB / 0.5248 GB, free: 6.527 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.535e-05/0.4559, allocations: 135.4 kB / 0.5249 GB, free: 6.441 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4559, allocations: 0 / 0.5249 GB, free: 6.441 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003206/0.4562, allocations: 34.36 kB / 0.5249 GB, free: 6.434 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.0008387/0.4571, allocations: 368.5 kB / 0.5253 GB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.4573, allocations: 154.7 kB / 0.5254 GB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4573, allocations: 0 / 0.5254 GB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.778e-05/0.4573, allocations: 30.59 kB / 0.5255 GB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.4576, allocations: 19.36 kB / 0.5255 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.4579, allocations: 160.4 kB / 0.5256 GB, free: 6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.4581, allocations: 0.7073 MB / 0.5263 GB, free: 5.289 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.534e-05/0.4582, allocations: 12.23 kB / 0.5263 GB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.4582, allocations: 17.66 kB / 0.5264 GB, free: 5.277 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4582, allocations: 4 kB / 0.5264 GB, free: 5.273 MB / 346.7 MB Notification: Performance of Templates: time 0.004537/0.4628, allocations: 1.645 MB / 0.528 GB, free: 4.445 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)