Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001366/0.001366, allocations: 176.6 kB / 7.652 MB, free: 1.426 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.458/1.458, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.00165/0.00165, allocations: 107.1 kB / 247.4 MB, free: 15.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1715/0.1715, allocations: 39.95 MB / 332.2 MB, free: 0.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.962e-05, allocations: 4 kB / 393.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3236, allocations: 54.88 MB / 448.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.4674, allocations: 81.39 MB / 0.5172 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.4678, allocations: 75.95 kB / 0.5173 GB, free: 12.09 MB / 378.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.01891/0.4867, allocations: 4.777 MB / 0.5219 GB, free: 7.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4867, allocations: 0 / 0.5219 GB, free: 7.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.4868, allocations: 0 / 0.5219 GB, free: 7.305 MB / 378.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.0006695/0.4874, allocations: 473.3 kB / 0.5224 GB, free: 6.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.4875, allocations: 12.03 kB / 0.5224 GB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.4876, allocations: 15.81 kB / 0.5224 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.488, allocations: 207.7 kB / 0.5226 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.488, allocations: 7.984 kB / 0.5226 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.4881, allocations: 8 kB / 0.5226 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001246/0.4882, allocations: 16 kB / 0.5226 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.4884, allocations: 49.67 kB / 0.5227 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.4884, allocations: 7.891 kB / 0.5227 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.4884, allocations: 0 / 0.5227 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4885, allocations: 4 kB / 0.5227 GB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.4891, allocations: 293.5 kB / 0.523 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.4893, allocations: 58.67 kB / 0.523 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.679e-05/0.4893, allocations: 16.98 kB / 0.523 GB, free: 6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.4894, allocations: 3.938 kB / 0.523 GB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.4896, allocations: 79.19 kB / 0.5231 GB, free: 5.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.4896, allocations: 0 / 0.5231 GB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006572/0.4903, allocations: 153.2 kB / 0.5233 GB, free: 5.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.4903, allocations: 55.41 kB / 0.5233 GB, free: 5.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.4907, allocations: 214.2 kB / 0.5235 GB, free: 5.465 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.4907, allocations: 29.7 kB / 0.5236 GB, free: 5.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.4908, allocations: 108.1 kB / 0.5237 GB, free: 5.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.4909, allocations: 19.66 kB / 0.5237 GB, free: 5.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.4909, allocations: 7.938 kB / 0.5237 GB, free: 5.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4911, allocations: 327.5 kB / 0.524 GB, free: 4.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.4912, allocations: 31.98 kB / 0.524 GB, free: 4.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4913, allocations: 52.11 kB / 0.5241 GB, free: 4.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.4914, allocations: 39.98 kB / 0.5241 GB, free: 4.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4915, allocations: 0 / 0.5241 GB, free: 4.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003457/0.4918, allocations: 133.5 kB / 0.5242 GB, free: 4.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.4919, allocations: 44.34 kB / 0.5243 GB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.4919, allocations: 7.953 kB / 0.5243 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4919, allocations: 0 / 0.5243 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4921, allocations: 15.98 kB / 0.5243 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4921, allocations: 4.031 kB / 0.5243 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.978e-05/0.4922, allocations: 7.906 kB / 0.5243 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.4922, allocations: 8 kB / 0.5243 GB, free: 4.613 MB / 378.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 0.0001026/0.4923, allocations: 105 kB / 0.5244 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.4924, allocations: 7.906 kB / 0.5244 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003008/0.4927, allocations: 119.5 kB / 0.5245 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.4927, allocations: 3.953 kB / 0.5245 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4927, allocations: 4.188 kB / 0.5246 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4927, allocations: 7.984 kB / 0.5246 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.4933, allocations: 395.8 kB / 0.5249 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4934, allocations: 0 / 0.5249 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.4934, allocations: 12 kB / 0.5249 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.4935, allocations: 3.953 kB / 0.525 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.4935, allocations: 0 / 0.525 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4935, allocations: 7.938 kB / 0.525 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4935, allocations: 192 / 0.525 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.4938, allocations: 218 kB / 0.5252 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.494, allocations: 112.8 kB / 0.5253 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.494, allocations: 0 / 0.5253 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.4942, allocations: 4 kB / 0.5253 GB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.4942, allocations: 11.98 kB / 0.5253 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.4942, allocations: 8 kB / 0.5253 GB, free: 3.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002214/0.4945, allocations: 169.2 kB / 0.5255 GB, free: 3.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4945, allocations: 0 / 0.5255 GB, free: 3.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004696/0.495, allocations: 35.94 kB / 0.5255 GB, free: 3.312 MB / 378.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.001186/0.4962, allocations: 359.5 kB / 0.5258 GB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.4965, allocations: 171.3 kB / 0.526 GB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4965, allocations: 0 / 0.526 GB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/0.4966, allocations: 27.94 kB / 0.526 GB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.4969, allocations: 20.17 kB / 0.526 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.4975, allocations: 194.6 kB / 0.5262 GB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.4979, allocations: 0.7237 MB / 0.5269 GB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.209e-05/0.498, allocations: 20.56 kB / 0.527 GB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.498, allocations: 15.44 kB / 0.527 GB, free: 1.766 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.498, allocations: 0 / 0.527 GB, free: 1.766 MB / 378.7 MB Notification: Performance of Templates: time 0.005962/0.504, allocations: 1.733 MB / 0.5287 GB, free: 44 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)