Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001553/0.001552, allocations: 182.8 kB / 7.652 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.384/1.384, 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.001695/0.001695, allocations: 111.8 kB / 247.4 MB, free: 6.25 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.2537/0.2537, allocations: 39.94 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.97e-05, allocations: 8 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3752/0.4769, allocations: 81.38 MB / 0.5172 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.4771, allocations: 71.91 kB / 0.5172 GB, free: 10.4 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.01131/0.4884, allocations: 4.841 MB / 0.522 GB, free: 9.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4885, allocations: 0 / 0.522 GB, free: 9.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.4885, allocations: 0 / 0.522 GB, free: 9.133 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.0004458/0.4889, allocations: 474 kB / 0.5224 GB, free: 8.656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.489, allocations: 11.53 kB / 0.5224 GB, free: 8.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.489, allocations: 15.5 kB / 0.5224 GB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.4893, allocations: 216.1 kB / 0.5227 GB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.4894, allocations: 7.828 kB / 0.5227 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.4894, allocations: 7.844 kB / 0.5227 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.524e-05/0.4895, allocations: 18.56 kB / 0.5227 GB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.4896, allocations: 55.89 kB / 0.5227 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4896, allocations: 3.953 kB / 0.5227 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4896, allocations: 0 / 0.5227 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4896, allocations: 0 / 0.5227 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.49, allocations: 304.4 kB / 0.523 GB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.714e-05/0.4901, allocations: 56.28 kB / 0.5231 GB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.4901, allocations: 15.92 kB / 0.5231 GB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.4901, allocations: 3.938 kB / 0.5231 GB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.4902, allocations: 69.53 kB / 0.5232 GB, free: 8.004 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.4902, allocations: 0 / 0.5232 GB, free: 8.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004037/0.4906, allocations: 162.1 kB / 0.5233 GB, free: 7.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.4907, allocations: 55.41 kB / 0.5234 GB, free: 7.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.4909, allocations: 221.7 kB / 0.5236 GB, free: 7.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4909, allocations: 33.56 kB / 0.5236 GB, free: 7.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.491, allocations: 108.9 kB / 0.5237 GB, free: 7.637 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.491, allocations: 26.86 kB / 0.5238 GB, free: 7.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.491, allocations: 0 / 0.5238 GB, free: 7.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.155e-05/0.4911, allocations: 326.5 kB / 0.5241 GB, free: 7.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.4911, allocations: 33.56 kB / 0.5241 GB, free: 7.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.4912, allocations: 51.55 kB / 0.5241 GB, free: 7.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.4913, allocations: 37.14 kB / 0.5242 GB, free: 7.273 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4913, allocations: 0 / 0.5242 GB, free: 7.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001779/0.4914, allocations: 136.1 kB / 0.5243 GB, free: 7.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.4915, allocations: 40.62 kB / 0.5243 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4915, allocations: 8.016 kB / 0.5244 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4915, allocations: 0 / 0.5244 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.4916, allocations: 11.53 kB / 0.5244 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4916, allocations: 7.828 kB / 0.5244 GB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/0.4917, allocations: 15.72 kB / 0.5244 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.4917, allocations: 3.844 kB / 0.5244 GB, free: 7.164 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.254e-05/0.4918, allocations: 112.7 kB / 0.5245 GB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.4918, allocations: 11.59 kB / 0.5245 GB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.492, allocations: 117.8 kB / 0.5246 GB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.492, allocations: 3.953 kB / 0.5246 GB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.492, allocations: 0 / 0.5246 GB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.492, allocations: 0 / 0.5246 GB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.4923, allocations: 403 kB / 0.525 GB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4923, allocations: 0 / 0.525 GB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.4923, allocations: 11.75 kB / 0.525 GB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.4924, allocations: 4.141 kB / 0.525 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4924, allocations: 7.859 kB / 0.525 GB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4924, allocations: 4.094 kB / 0.525 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4924, allocations: 3.984 kB / 0.525 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.4925, allocations: 221.8 kB / 0.5253 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.4926, allocations: 111.5 kB / 0.5254 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.4926, allocations: 3.812 kB / 0.5254 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.4927, allocations: 3.875 kB / 0.5254 GB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.4928, allocations: 7.859 kB / 0.5254 GB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.4928, allocations: 0 / 0.5254 GB, free: 6.367 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.4929, allocations: 194.5 kB / 0.5256 GB, free: 6.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4929, allocations: 0 / 0.5256 GB, free: 6.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.4932, allocations: 38.83 kB / 0.5256 GB, free: 6.258 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.0007652/0.4939, allocations: 363.9 kB / 0.5259 GB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.4941, allocations: 148.8 kB / 0.5261 GB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4941, allocations: 4.062 kB / 0.5261 GB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.4942, 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.0002237/0.4944, allocations: 21.27 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.0003647/0.4948, allocations: 206.2 kB / 0.5263 GB, free: 5.828 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/0.495, allocations: 0.7289 MB / 0.527 GB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.495, allocations: 23.27 kB / 0.5271 GB, free: 5.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.4951, allocations: 15.12 kB / 0.5271 GB, free: 5.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4951, allocations: 0 / 0.5271 GB, free: 5.09 MB / 346.7 MB Notification: Performance of Templates: time 0.004024/0.4991, allocations: 1.777 MB / 0.5288 GB, free: 4.195 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)