Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001555/0.001555, 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.389/1.389, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001653/0.001654, allocations: 114.4 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.2059/0.2059, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.701e-05, allocations: 8 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4744, allocations: 81.4 MB / 0.5172 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4747, allocations: 70.33 kB / 0.5173 GB, free: 10.39 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.01148/0.4862, allocations: 4.845 MB / 0.522 GB, free: 9.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4862, allocations: 0 / 0.522 GB, free: 9.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.4862, allocations: 0 / 0.522 GB, free: 9.137 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.0003454/0.4866, allocations: 479.5 kB / 0.5224 GB, free: 8.656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4866, allocations: 11.62 kB / 0.5225 GB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.4867, allocations: 15.28 kB / 0.5225 GB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.4869, allocations: 220.1 kB / 0.5227 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4869, allocations: 0 / 0.5227 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.487, allocations: 7.531 kB / 0.5227 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.131e-05/0.487, allocations: 14.89 kB / 0.5227 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.031e-05/0.4871, allocations: 56.44 kB / 0.5228 GB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4871, allocations: 3.953 kB / 0.5228 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4871, allocations: 4 kB / 0.5228 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.4872, allocations: 0 / 0.5228 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.4874, allocations: 300.8 kB / 0.523 GB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.298e-05/0.4875, allocations: 53.25 kB / 0.5231 GB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.4876, allocations: 15.36 kB / 0.5231 GB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.4876, allocations: 3.938 kB / 0.5231 GB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/0.4877, allocations: 76.72 kB / 0.5232 GB, free: 8.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.4877, allocations: 0 / 0.5232 GB, free: 8.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000364/0.4881, allocations: 165 kB / 0.5233 GB, free: 7.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.4881, allocations: 51.41 kB / 0.5234 GB, free: 7.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.4883, allocations: 219.2 kB / 0.5236 GB, free: 7.762 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.4883, allocations: 33.36 kB / 0.5236 GB, free: 7.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.4883, allocations: 114.2 kB / 0.5237 GB, free: 7.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.4884, allocations: 26.62 kB / 0.5238 GB, free: 7.621 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.4884, allocations: 0 / 0.5238 GB, free: 7.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.4884, allocations: 326.9 kB / 0.5241 GB, free: 7.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.018e-05/0.4885, allocations: 33.34 kB / 0.5241 GB, free: 7.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/0.4886, allocations: 44.09 kB / 0.5242 GB, free: 7.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.907e-05/0.4886, allocations: 41.25 kB / 0.5242 GB, free: 7.277 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4886, allocations: 0 / 0.5242 GB, free: 7.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001729/0.4888, allocations: 139 kB / 0.5243 GB, free: 7.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4888, allocations: 33.39 kB / 0.5244 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4888, allocations: 4.234 kB / 0.5244 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4889, allocations: 7.781 kB / 0.5244 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.489, allocations: 19.52 kB / 0.5244 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.489, allocations: 3.938 kB / 0.5244 GB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.596e-05/0.489, allocations: 11.56 kB / 0.5244 GB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.489, allocations: 7.531 kB / 0.5244 GB, free: 7.168 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.271e-05/0.4891, allocations: 112.4 kB / 0.5245 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.4891, allocations: 15.47 kB / 0.5245 GB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.4893, allocations: 118.3 kB / 0.5246 GB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4893, allocations: 7.938 kB / 0.5247 GB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4893, allocations: 0 / 0.5247 GB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4893, allocations: 0 / 0.5247 GB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.4896, allocations: 388.5 kB / 0.525 GB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4896, allocations: 0 / 0.525 GB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.4897, allocations: 23.48 kB / 0.525 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4897, allocations: 3.953 kB / 0.5251 GB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.4897, allocations: 3.344 kB / 0.5251 GB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4897, allocations: 160 / 0.5251 GB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.341e-05/0.4898, allocations: 0 / 0.5251 GB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.4899, allocations: 217.9 kB / 0.5253 GB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.49, allocations: 115.5 kB / 0.5254 GB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.49, allocations: 7.828 kB / 0.5254 GB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.4901, allocations: 3.844 kB / 0.5254 GB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.4901, allocations: 7.828 kB / 0.5254 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4901, allocations: 3.984 kB / 0.5254 GB, free: 6.367 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.4902, allocations: 185 kB / 0.5256 GB, free: 6.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4903, allocations: 0 / 0.5256 GB, free: 6.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.4905, allocations: 41.56 kB / 0.5256 GB, free: 6.266 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.0006771/0.4912, allocations: 356.2 kB / 0.526 GB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.4914, allocations: 160.2 kB / 0.5261 GB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4914, allocations: 0 / 0.5261 GB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.4914, allocations: 29.59 kB / 0.5261 GB, free: 5.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.4916, allocations: 19.45 kB / 0.5261 GB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.492, allocations: 218.9 kB / 0.5264 GB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.4921, allocations: 0.7258 MB / 0.5271 GB, free: 5.098 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.781e-05/0.4922, allocations: 15.97 kB / 0.5271 GB, free: 5.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.4922, allocations: 22.36 kB / 0.5271 GB, free: 5.086 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4922, allocations: 0 / 0.5271 GB, free: 5.086 MB / 346.7 MB Notification: Performance of Templates: time 0.003564/0.4958, allocations: 1.772 MB / 0.5288 GB, free: 4.195 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)