Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001351/0.001351, allocations: 180.3 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.645/1.645, allocations: 194.3 MB / 202.4 MB, free: 8.488 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.001734/0.001734, allocations: 116.6 kB / 247.4 MB, free: 6.234 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.2023/0.2023, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.885e-05, allocations: 8 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.09406, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/0.451, allocations: 81.4 MB / 0.5172 GB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4512, allocations: 68.44 kB / 0.5173 GB, free: 10.43 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.01134/0.4626, allocations: 4.836 MB / 0.522 GB, free: 9.176 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4626, allocations: 0 / 0.522 GB, free: 9.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.4626, allocations: 3.844 kB / 0.522 GB, free: 9.176 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.0003898/0.463, allocations: 478.7 kB / 0.5224 GB, free: 8.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4631, allocations: 7.531 kB / 0.5224 GB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.4631, allocations: 19.45 kB / 0.5225 GB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.4634, allocations: 221.2 kB / 0.5227 GB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4634, allocations: 0 / 0.5227 GB, free: 8.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.4634, allocations: 7.844 kB / 0.5227 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.476e-05/0.4635, allocations: 25.7 kB / 0.5227 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.87e-05/0.4636, allocations: 51.2 kB / 0.5228 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4636, allocations: 7.797 kB / 0.5228 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4636, allocations: 0 / 0.5228 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.4636, allocations: 0 / 0.5228 GB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.4639, allocations: 302.6 kB / 0.523 GB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.839e-05/0.464, allocations: 56.31 kB / 0.5231 GB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.4641, allocations: 19.86 kB / 0.5231 GB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.4641, allocations: 0 / 0.5231 GB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.4642, allocations: 68.97 kB / 0.5232 GB, free: 8.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.4642, allocations: 3.844 kB / 0.5232 GB, free: 8.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004358/0.4647, allocations: 162.4 kB / 0.5233 GB, free: 7.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.4647, allocations: 55.41 kB / 0.5234 GB, free: 7.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.4649, allocations: 217.7 kB / 0.5236 GB, free: 7.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.4649, allocations: 32.83 kB / 0.5236 GB, free: 7.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.465, allocations: 113.2 kB / 0.5237 GB, free: 7.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.465, allocations: 26.45 kB / 0.5238 GB, free: 7.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.465, allocations: 0 / 0.5238 GB, free: 7.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.4651, allocations: 326.5 kB / 0.5241 GB, free: 7.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.014e-05/0.4651, allocations: 32.19 kB / 0.5241 GB, free: 7.336 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.4652, allocations: 51.86 kB / 0.5242 GB, free: 7.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.077e-05/0.4653, allocations: 36.23 kB / 0.5242 GB, free: 7.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4653, allocations: 0 / 0.5242 GB, free: 7.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001741/0.4655, allocations: 138.9 kB / 0.5243 GB, free: 7.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.4655, allocations: 37.38 kB / 0.5244 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.4655, allocations: 3.953 kB / 0.5244 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4655, allocations: 0 / 0.5244 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.4656, allocations: 15.56 kB / 0.5244 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4656, allocations: 0 / 0.5244 GB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.4657, allocations: 23.7 kB / 0.5244 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.4657, allocations: 3.875 kB / 0.5244 GB, free: 7.199 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.183e-05/0.4658, allocations: 112.3 kB / 0.5245 GB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.4658, allocations: 11.53 kB / 0.5245 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.466, allocations: 122.2 kB / 0.5246 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.466, allocations: 3.953 kB / 0.5246 GB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.466, allocations: 0 / 0.5246 GB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.466, allocations: 0 / 0.5246 GB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.4663, allocations: 398.7 kB / 0.525 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4663, allocations: 3.938 kB / 0.525 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.4664, allocations: 11.69 kB / 0.525 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4664, allocations: 4.141 kB / 0.525 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.4664, allocations: 3.906 kB / 0.525 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4664, allocations: 8 kB / 0.5251 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4664, allocations: 3.984 kB / 0.5251 GB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.4666, allocations: 221 kB / 0.5253 GB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.4666, allocations: 108.4 kB / 0.5254 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.4667, allocations: 0 / 0.5254 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.4668, allocations: 3.844 kB / 0.5254 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.4668, allocations: 11.27 kB / 0.5254 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.4668, allocations: 3.844 kB / 0.5254 GB, free: 6.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.4669, allocations: 186.6 kB / 0.5256 GB, free: 6.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4669, allocations: 0 / 0.5256 GB, free: 6.309 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002666/0.4672, allocations: 45.45 kB / 0.5256 GB, free: 6.297 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.0007215/0.4679, allocations: 360.6 kB / 0.526 GB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.4681, allocations: 155.9 kB / 0.5261 GB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4681, allocations: 4.062 kB / 0.5261 GB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.4682, allocations: 30.41 kB / 0.5261 GB, free: 5.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4684, allocations: 21.52 kB / 0.5262 GB, free: 5.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.4687, allocations: 209 kB / 0.5264 GB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.4689, allocations: 0.7301 MB / 0.5271 GB, free: 5.137 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.826e-05/0.469, allocations: 20.17 kB / 0.5271 GB, free: 5.129 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.469, allocations: 15.12 kB / 0.5271 GB, free: 5.121 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.469, allocations: 0 / 0.5271 GB, free: 5.121 MB / 346.7 MB Notification: Performance of Templates: time 0.003516/0.4725, allocations: 1.781 MB / 0.5288 GB, free: 4.223 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1)