Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001008/0.001008, allocations: 182.6 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.367/1.367, allocations: 194.3 MB / 202.4 MB, free: 8.551 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.001954/0.001954, allocations: 106.7 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.1975/0.1975, allocations: 39.95 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.34e-05, allocations: 12 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.4922, allocations: 82.13 MB / 0.5179 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4925, allocations: 71.42 kB / 0.518 GB, free: 10.3 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.008987/0.5015, allocations: 3.553 MB / 0.5214 GB, free: 9.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5015, allocations: 0 / 0.5214 GB, free: 9.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.5016, allocations: 4 kB / 0.5215 GB, free: 9.309 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005288/0.5021, allocations: 0.4948 MB / 0.5219 GB, free: 8.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5021, allocations: 11.38 kB / 0.5219 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.5022, allocations: 19.23 kB / 0.522 GB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.5025, allocations: 217.7 kB / 0.5222 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.5025, allocations: 0 / 0.5222 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.5026, allocations: 12.34 kB / 0.5222 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001076/0.5027, allocations: 34.52 kB / 0.5222 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.5028, allocations: 70.7 kB / 0.5223 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5028, allocations: 0 / 0.5223 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.5029, allocations: 3.953 kB / 0.5223 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.5029, allocations: 0 / 0.5223 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.5034, allocations: 342.4 kB / 0.5226 GB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.5036, allocations: 77.61 kB / 0.5227 GB, free: 8.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.5037, allocations: 38.81 kB / 0.5227 GB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.5037, allocations: 7.828 kB / 0.5227 GB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.5039, allocations: 73.27 kB / 0.5228 GB, free: 8.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.5039, allocations: 3.938 kB / 0.5228 GB, free: 8.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002374/0.5041, allocations: 101.9 kB / 0.5229 GB, free: 8.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.5042, allocations: 51.41 kB / 0.523 GB, free: 8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.5043, allocations: 154.5 kB / 0.5231 GB, free: 7.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.5043, allocations: 25.7 kB / 0.5231 GB, free: 7.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.5044, allocations: 114 kB / 0.5232 GB, free: 7.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.5044, allocations: 26.52 kB / 0.5233 GB, free: 7.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.5044, allocations: 4 kB / 0.5233 GB, free: 7.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.5045, allocations: 322.6 kB / 0.5236 GB, free: 7.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.5046, allocations: 36.25 kB / 0.5236 GB, free: 7.426 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.5046, allocations: 60.91 kB / 0.5237 GB, free: 7.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.5047, allocations: 36.17 kB / 0.5237 GB, free: 7.395 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5047, allocations: 0 / 0.5237 GB, free: 7.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002026/0.5049, allocations: 146.5 kB / 0.5238 GB, free: 7.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.505, allocations: 41.23 kB / 0.5239 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.505, allocations: 3.984 kB / 0.5239 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.505, allocations: 3.844 kB / 0.5239 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.5051, allocations: 19.52 kB / 0.5239 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5051, allocations: 3.812 kB / 0.5239 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.5052, allocations: 11.47 kB / 0.5239 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.5052, allocations: 7.625 kB / 0.5239 GB, free: 7.285 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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 6.938e-05/0.5053, allocations: 120.8 kB / 0.524 GB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.5053, allocations: 11.53 kB / 0.5241 GB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.5055, allocations: 119.2 kB / 0.5242 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5055, allocations: 3.969 kB / 0.5242 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5056, allocations: 3.938 kB / 0.5242 GB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5056, allocations: 0 / 0.5242 GB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.5057, allocations: 179.4 kB / 0.5243 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.5057, allocations: 0 / 0.5243 GB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.822e-05/0.5058, allocations: 15.67 kB / 0.5244 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5058, allocations: 7.844 kB / 0.5244 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.5058, allocations: 3.938 kB / 0.5244 GB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5058, allocations: 0 / 0.5244 GB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5058, allocations: 3.953 kB / 0.5244 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.5061, allocations: 165.8 kB / 0.5245 GB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.5061, allocations: 96.59 kB / 0.5246 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.5062, allocations: 3.625 kB / 0.5246 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.5062, allocations: 15.73 kB / 0.5246 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.5063, allocations: 3.844 kB / 0.5246 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.5063, allocations: 7.938 kB / 0.5247 GB, free: 6.699 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.723e-05/0.5064, allocations: 122.4 kB / 0.5248 GB, free: 6.621 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5064, allocations: 0 / 0.5248 GB, free: 6.621 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.5067, allocations: 34.84 kB / 0.5248 GB, free: 6.613 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008335/0.5075, allocations: 334 kB / 0.5251 GB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.5077, allocations: 155.8 kB / 0.5253 GB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5077, allocations: 0 / 0.5253 GB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.759e-05/0.5078, allocations: 42.11 kB / 0.5253 GB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.5081, allocations: 22.64 kB / 0.5253 GB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.5084, allocations: 175.6 kB / 0.5255 GB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.5086, allocations: 0.7141 MB / 0.5262 GB, free: 5.477 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.554e-05/0.5087, allocations: 19.89 kB / 0.5262 GB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.5087, allocations: 11.31 kB / 0.5262 GB, free: 5.461 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5087, allocations: 0 / 0.5262 GB, free: 5.461 MB / 346.7 MB Notification: Performance of Templates: time 0.00393/0.5127, allocations: 1.703 MB / 0.5279 GB, free: 4.609 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)