Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001521/0.001521, allocations: 187.3 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.49/1.49, 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.001594/0.001594, allocations: 114.8 kB / 247.4 MB, free: 6.207 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.2068/0.2068, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.745e-05, allocations: 8 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.4617, allocations: 81.39 MB / 0.5172 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/0.4619, allocations: 69.88 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.01168/0.4736, allocations: 4.73 MB / 0.5219 GB, free: 9.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.4737, allocations: 0 / 0.5219 GB, free: 9.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.4737, allocations: 0 / 0.5219 GB, free: 9.109 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.0004287/0.4741, allocations: 466.4 kB / 0.5223 GB, free: 8.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4742, allocations: 11.31 kB / 0.5223 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.4742, allocations: 7.875 kB / 0.5223 GB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.4745, allocations: 224.9 kB / 0.5225 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.4745, allocations: 4 kB / 0.5225 GB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.4745, allocations: 7.656 kB / 0.5225 GB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.443e-05/0.4746, allocations: 18.42 kB / 0.5226 GB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/0.4747, allocations: 48.06 kB / 0.5226 GB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4748, allocations: 7.703 kB / 0.5226 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4748, allocations: 7.969 kB / 0.5226 GB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4748, allocations: 0 / 0.5226 GB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.4751, allocations: 288.9 kB / 0.5229 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.432e-05/0.4752, allocations: 57.75 kB / 0.523 GB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.4752, allocations: 19.33 kB / 0.523 GB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.4753, allocations: 0 / 0.523 GB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/0.4754, allocations: 68.19 kB / 0.523 GB, free: 7.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.4754, allocations: 0 / 0.523 GB, free: 7.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004087/0.4758, allocations: 158.1 kB / 0.5232 GB, free: 7.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.4758, allocations: 55.41 kB / 0.5232 GB, free: 7.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.476, allocations: 197.9 kB / 0.5234 GB, free: 7.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.476, allocations: 29.52 kB / 0.5235 GB, free: 7.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.4761, allocations: 100.7 kB / 0.5236 GB, free: 7.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.4761, allocations: 26.12 kB / 0.5236 GB, free: 7.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.4761, allocations: 0 / 0.5236 GB, free: 7.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.4762, allocations: 326 kB / 0.5239 GB, free: 7.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.4762, allocations: 28 kB / 0.5239 GB, free: 7.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.4763, allocations: 57.14 kB / 0.524 GB, free: 7.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.488e-05/0.4764, allocations: 39.33 kB / 0.524 GB, free: 7.258 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4764, allocations: 0 / 0.524 GB, free: 7.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001845/0.4766, allocations: 134.8 kB / 0.5241 GB, free: 7.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.4766, allocations: 37.5 kB / 0.5242 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.4766, allocations: 8.078 kB / 0.5242 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4766, allocations: 0 / 0.5242 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.4767, allocations: 23.19 kB / 0.5242 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4767, allocations: 8.016 kB / 0.5242 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.4768, allocations: 3.969 kB / 0.5242 GB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.4768, allocations: 3.875 kB / 0.5242 GB, free: 7.152 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.77e-05/0.4769, allocations: 113.8 kB / 0.5243 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.4769, allocations: 7.562 kB / 0.5243 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.4771, allocations: 124.2 kB / 0.5245 GB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4771, allocations: 3.953 kB / 0.5245 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4771, allocations: 0 / 0.5245 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4771, allocations: 4 kB / 0.5245 GB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.4774, allocations: 390 kB / 0.5248 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4775, allocations: 0 / 0.5248 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.4775, allocations: 7.781 kB / 0.5248 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4775, allocations: 7.938 kB / 0.5248 GB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4775, allocations: 3.812 kB / 0.5249 GB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4775, allocations: 0 / 0.5249 GB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4776, allocations: 0 / 0.5249 GB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.4777, allocations: 223.9 kB / 0.5251 GB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.4778, allocations: 99.67 kB / 0.5252 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.4778, allocations: 0 / 0.5252 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.4779, allocations: 3.812 kB / 0.5252 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.478, allocations: 7.922 kB / 0.5252 GB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.478, allocations: 11.25 kB / 0.5252 GB, free: 6.363 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.4781, allocations: 156.8 kB / 0.5253 GB, free: 6.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4781, allocations: 0 / 0.5253 GB, free: 6.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002937/0.4784, allocations: 46.19 kB / 0.5254 GB, free: 6.262 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.0007303/0.4791, allocations: 362.6 kB / 0.5257 GB, free: 6.023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.4793, allocations: 160.7 kB / 0.5259 GB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4794, allocations: 0 / 0.5259 GB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.4794, allocations: 31.78 kB / 0.5259 GB, free: 5.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.4797, allocations: 15.17 kB / 0.5259 GB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.48, allocations: 193.1 kB / 0.5261 GB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.4801, allocations: 0.7115 MB / 0.5268 GB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.4802, allocations: 19.66 kB / 0.5268 GB, free: 5.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.4802, allocations: 18.16 kB / 0.5268 GB, free: 5.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4802, allocations: 3.938 kB / 0.5268 GB, free: 5.086 MB / 346.7 MB Notification: Performance of Templates: time 0.003611/0.4839, allocations: 1.708 MB / 0.5285 GB, free: 4.234 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)