Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001396/0.001396, allocations: 180.5 kB / 7.651 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.676/1.676, 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.00159/0.00159, allocations: 116.5 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.193/0.193, allocations: 39.96 MB / 332.2 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.755e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3238/0.4386, allocations: 81.35 MB / 0.5171 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.4389, allocations: 76.78 kB / 0.5172 GB, free: 10.35 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.01044/0.4493, allocations: 4.423 MB / 0.5215 GB, free: 9.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4493, allocations: 0 / 0.5215 GB, free: 9.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.4494, allocations: 4.406 kB / 0.5215 GB, free: 9.266 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.0003486/0.4497, allocations: 455.1 kB / 0.522 GB, free: 8.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4498, allocations: 11.53 kB / 0.522 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.4498, allocations: 11.5 kB / 0.522 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.4501, allocations: 206.3 kB / 0.5222 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4501, allocations: 0 / 0.5222 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.4501, allocations: 7.156 kB / 0.5222 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.66e-05/0.4502, allocations: 18.95 kB / 0.5222 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.311e-05/0.4503, allocations: 59.95 kB / 0.5223 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4503, allocations: 3.953 kB / 0.5223 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4503, allocations: 4 kB / 0.5223 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.4503, allocations: 3.844 kB / 0.5223 GB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.4506, allocations: 288.5 kB / 0.5226 GB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.4507, allocations: 48.47 kB / 0.5226 GB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.4507, allocations: 16.42 kB / 0.5226 GB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.4507, allocations: 15.66 kB / 0.5226 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.4508, allocations: 72.31 kB / 0.5227 GB, free: 8.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4509, allocations: 0 / 0.5227 GB, free: 8.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000345/0.4512, allocations: 142.5 kB / 0.5228 GB, free: 8.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.4512, allocations: 51.41 kB / 0.5229 GB, free: 8.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.4513, allocations: 169.5 kB / 0.5231 GB, free: 7.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.4514, allocations: 29.39 kB / 0.5231 GB, free: 7.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.4514, allocations: 102.2 kB / 0.5232 GB, free: 7.797 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.4514, allocations: 22.86 kB / 0.5232 GB, free: 7.781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.4514, allocations: 0 / 0.5232 GB, free: 7.781 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.4515, allocations: 322.6 kB / 0.5235 GB, free: 7.465 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.4515, allocations: 33.38 kB / 0.5235 GB, free: 7.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.118e-05/0.4516, allocations: 46.39 kB / 0.5236 GB, free: 7.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.7e-05/0.4516, allocations: 36.89 kB / 0.5236 GB, free: 7.441 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4517, allocations: 0 / 0.5236 GB, free: 7.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001758/0.4519, allocations: 138.5 kB / 0.5238 GB, free: 7.387 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4519, allocations: 36.83 kB / 0.5238 GB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4519, allocations: 4.141 kB / 0.5238 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4519, allocations: 0 / 0.5238 GB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.452, allocations: 23.52 kB / 0.5238 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.452, allocations: 4.062 kB / 0.5238 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.4521, allocations: 7.781 kB / 0.5238 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4521, allocations: 7.688 kB / 0.5238 GB, free: 7.336 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 4.942e-05/0.4522, allocations: 116.8 kB / 0.5239 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.4522, allocations: 11.59 kB / 0.524 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.4524, allocations: 104.4 kB / 0.5241 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4524, allocations: 7.938 kB / 0.5241 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4524, allocations: 0 / 0.5241 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4524, allocations: 192 / 0.5241 GB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.4527, allocations: 376 kB / 0.5244 GB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4527, allocations: 3.938 kB / 0.5244 GB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.4527, allocations: 22.28 kB / 0.5244 GB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4527, allocations: 3.953 kB / 0.5245 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4527, allocations: 3.75 kB / 0.5245 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4527, allocations: 0 / 0.5245 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4528, allocations: 3.984 kB / 0.5245 GB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.4529, allocations: 209 kB / 0.5247 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.4529, allocations: 108.5 kB / 0.5248 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.453, allocations: 0 / 0.5248 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.4531, allocations: 3.844 kB / 0.5248 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.4531, allocations: 7.828 kB / 0.5248 GB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.4531, allocations: 6.781 kB / 0.5248 GB, free: 6.543 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.353e-05/0.4532, allocations: 137.1 kB / 0.5249 GB, free: 6.453 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4532, allocations: 0 / 0.5249 GB, free: 6.453 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.4534, allocations: 30.25 kB / 0.5249 GB, free: 6.449 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.0007446/0.4542, allocations: 361.2 kB / 0.5253 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.4544, allocations: 160.7 kB / 0.5254 GB, free: 6.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4544, allocations: 0 / 0.5254 GB, free: 6.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.4544, allocations: 33.34 kB / 0.5255 GB, free: 6.133 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.4547, allocations: 19.08 kB / 0.5255 GB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.455, allocations: 158.9 kB / 0.5256 GB, free: 6.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.4552, allocations: 0.7033 MB / 0.5263 GB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.006e-05/0.4552, allocations: 20.16 kB / 0.5263 GB, free: 5.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.4552, allocations: 17.88 kB / 0.5264 GB, free: 5.293 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4553, allocations: 4 kB / 0.5264 GB, free: 5.289 MB / 346.7 MB Notification: Performance of Templates: time 0.003622/0.4589, allocations: 1.647 MB / 0.528 GB, free: 4.457 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)