Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001031/0.001031, 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.467/1.467, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001677/0.001678, allocations: 120 kB / 247.4 MB, free: 6.219 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.1973/0.1973, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.186e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 54.87 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3703/0.4787, allocations: 81.35 MB / 0.5171 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.479, allocations: 71.95 kB / 0.5172 GB, free: 10.38 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.01089/0.4899, allocations: 4.467 MB / 0.5216 GB, free: 9.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4899, allocations: 0 / 0.5216 GB, free: 9.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.4899, allocations: 4.656 kB / 0.5216 GB, free: 9.273 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.0003784/0.4903, allocations: 458.7 kB / 0.522 GB, free: 8.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4903, allocations: 15.45 kB / 0.522 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.4904, allocations: 11.75 kB / 0.522 GB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.4907, allocations: 210.9 kB / 0.5222 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.4907, allocations: 0 / 0.5222 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.4907, allocations: 7.812 kB / 0.5222 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.138e-05/0.4908, allocations: 19.3 kB / 0.5223 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.277e-05/0.4909, allocations: 59.73 kB / 0.5223 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4909, allocations: 3.953 kB / 0.5223 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4909, allocations: 0 / 0.5223 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.4909, allocations: 0 / 0.5223 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.4913, allocations: 291.4 kB / 0.5226 GB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.4914, allocations: 51.44 kB / 0.5227 GB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.4914, allocations: 19.73 kB / 0.5227 GB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.4915, allocations: 3.688 kB / 0.5227 GB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.4916, allocations: 73.69 kB / 0.5227 GB, free: 8.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.4916, allocations: 0 / 0.5227 GB, free: 8.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000407/0.492, allocations: 152.7 kB / 0.5229 GB, free: 8.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.492, allocations: 55.19 kB / 0.5229 GB, free: 8.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.4922, allocations: 174.3 kB / 0.5231 GB, free: 7.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4922, allocations: 29.52 kB / 0.5231 GB, free: 7.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.4922, allocations: 99 kB / 0.5232 GB, free: 7.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.4922, allocations: 22.22 kB / 0.5233 GB, free: 7.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.4923, allocations: 3.875 kB / 0.5233 GB, free: 7.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.4923, allocations: 330.4 kB / 0.5236 GB, free: 7.457 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.4924, allocations: 32.27 kB / 0.5236 GB, free: 7.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.4924, allocations: 42.47 kB / 0.5236 GB, free: 7.438 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.4925, allocations: 37.11 kB / 0.5237 GB, free: 7.434 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4925, allocations: 0 / 0.5237 GB, free: 7.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001839/0.4927, allocations: 139.7 kB / 0.5238 GB, free: 7.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.4927, allocations: 37.38 kB / 0.5239 GB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4928, allocations: 7.984 kB / 0.5239 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4928, allocations: 3.844 kB / 0.5239 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.4929, allocations: 19.39 kB / 0.5239 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4929, allocations: 4 kB / 0.5239 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.4929, allocations: 3.875 kB / 0.5239 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.493, allocations: 11.62 kB / 0.5239 GB, free: 7.324 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.432e-05/0.493, allocations: 108.9 kB / 0.524 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.493, allocations: 7.719 kB / 0.524 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.4932, allocations: 122.3 kB / 0.5241 GB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4933, allocations: 3.953 kB / 0.5241 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4933, allocations: 0 / 0.5241 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4933, allocations: 3.969 kB / 0.5241 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.4936, allocations: 377.1 kB / 0.5245 GB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4936, allocations: 7.875 kB / 0.5245 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.4937, allocations: 7.719 kB / 0.5245 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4937, allocations: 7.922 kB / 0.5245 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.4937, allocations: 4.031 kB / 0.5245 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4937, allocations: 0 / 0.5245 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4937, allocations: 0 / 0.5245 GB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.4938, allocations: 215.3 kB / 0.5247 GB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.4939, allocations: 106.1 kB / 0.5248 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.4939, allocations: 3.906 kB / 0.5248 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.494, allocations: 4 kB / 0.5248 GB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.4941, allocations: 7.797 kB / 0.5248 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.4941, allocations: 3.594 kB / 0.5248 GB, free: 6.527 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.458e-05/0.4942, allocations: 138.2 kB / 0.525 GB, free: 6.445 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4942, allocations: 0 / 0.525 GB, free: 6.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.4945, allocations: 42.34 kB / 0.525 GB, free: 6.434 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.0007943/0.4953, allocations: 367.7 kB / 0.5254 GB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.4954, allocations: 152.5 kB / 0.5255 GB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4955, allocations: 0 / 0.5255 GB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.4955, allocations: 36.17 kB / 0.5255 GB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4957, allocations: 14.7 kB / 0.5256 GB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.4961, allocations: 172.4 kB / 0.5257 GB, free: 6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.4962, allocations: 0.7151 MB / 0.5264 GB, free: 5.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.241e-05/0.4963, allocations: 19.47 kB / 0.5264 GB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.4963, allocations: 14.53 kB / 0.5265 GB, free: 5.27 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4963, allocations: 0 / 0.5265 GB, free: 5.27 MB / 346.7 MB Notification: Performance of Templates: time 0.003896/0.5002, allocations: 1.68 MB / 0.5281 GB, free: 4.426 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)