Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001005/0.001005, allocations: 180.5 kB / 7.651 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.373/1.373, 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.001569/0.001569, allocations: 116.4 kB / 247.4 MB, free: 6.215 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.2131/0.2131, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.095e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.4839, allocations: 81.6 MB / 0.5174 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4842, allocations: 70.94 kB / 0.5175 GB, free: 10.34 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.01143/0.4956, allocations: 4.821 MB / 0.5222 GB, free: 9.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4956, allocations: 0 / 0.5222 GB, free: 9.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.4956, allocations: 0.75 kB / 0.5222 GB, free: 9.148 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.0003479/0.496, allocations: 455.1 kB / 0.5226 GB, free: 8.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.496, allocations: 15.44 kB / 0.5226 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.4961, allocations: 11.38 kB / 0.5226 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.4963, allocations: 199.6 kB / 0.5228 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.4963, allocations: 3.781 kB / 0.5228 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.4964, allocations: 3.625 kB / 0.5228 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.354e-05/0.4965, allocations: 17.03 kB / 0.5228 GB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.164e-05/0.4965, allocations: 64.52 kB / 0.5229 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4966, allocations: 7.953 kB / 0.5229 GB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.4966, allocations: 3.938 kB / 0.5229 GB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4966, allocations: 3.875 kB / 0.5229 GB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.4969, allocations: 274.3 kB / 0.5232 GB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.552e-05/0.497, allocations: 47.72 kB / 0.5232 GB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.497, allocations: 23.36 kB / 0.5232 GB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.497, allocations: 4 kB / 0.5232 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.4972, allocations: 69.59 kB / 0.5233 GB, free: 8.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4972, allocations: 0 / 0.5233 GB, free: 8.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003672/0.4975, allocations: 156.5 kB / 0.5235 GB, free: 7.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.4976, allocations: 80.8 kB / 0.5235 GB, free: 7.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.4977, allocations: 125.8 kB / 0.5237 GB, free: 7.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.4977, allocations: 25.7 kB / 0.5237 GB, free: 7.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.4977, allocations: 102.9 kB / 0.5238 GB, free: 7.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.4977, allocations: 19.06 kB / 0.5238 GB, free: 7.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.4978, allocations: 3.875 kB / 0.5238 GB, free: 7.633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.4978, allocations: 322 kB / 0.5241 GB, free: 7.312 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/0.4978, allocations: 28.56 kB / 0.5241 GB, free: 7.312 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.646e-05/0.4979, allocations: 48.38 kB / 0.5242 GB, free: 7.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.498, allocations: 37.2 kB / 0.5242 GB, free: 7.277 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.498, allocations: 0 / 0.5242 GB, free: 7.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001542/0.4981, allocations: 124.7 kB / 0.5243 GB, free: 7.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4982, allocations: 33.45 kB / 0.5244 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4982, allocations: 0 / 0.5244 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4982, allocations: 7.781 kB / 0.5244 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.4983, allocations: 15.36 kB / 0.5244 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.4983, allocations: 7.906 kB / 0.5244 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.4983, allocations: 0 / 0.5244 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4984, allocations: 10.5 kB / 0.5244 GB, free: 7.18 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.765e-05/0.4984, allocations: 112.8 kB / 0.5245 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.4984, allocations: 11.7 kB / 0.5245 GB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.4987, allocations: 104.7 kB / 0.5246 GB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4987, allocations: 3.844 kB / 0.5246 GB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4987, allocations: 0 / 0.5246 GB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4987, allocations: 4.172 kB / 0.5246 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.499, allocations: 363.7 kB / 0.525 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.499, allocations: 7.891 kB / 0.525 GB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.499, allocations: 11.64 kB / 0.525 GB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.499, allocations: 7.719 kB / 0.525 GB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.4991, allocations: 0 / 0.525 GB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4991, allocations: 0 / 0.525 GB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4991, allocations: 3.812 kB / 0.525 GB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.4992, allocations: 217.2 kB / 0.5252 GB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.4993, allocations: 92.69 kB / 0.5253 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.4993, allocations: 3.25 kB / 0.5253 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.4994, allocations: 8.016 kB / 0.5253 GB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.4994, allocations: 7.844 kB / 0.5253 GB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.4994, allocations: 7.797 kB / 0.5253 GB, free: 6.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.4995, allocations: 104.2 kB / 0.5254 GB, free: 6.324 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4995, allocations: 0 / 0.5254 GB, free: 6.324 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.4998, allocations: 57.83 kB / 0.5255 GB, free: 6.301 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.0008203/0.5006, allocations: 448.2 kB / 0.5259 GB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.5008, allocations: 139.8 kB / 0.5261 GB, free: 5.934 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.5008, allocations: 0 / 0.5261 GB, free: 5.934 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.5008, allocations: 34.42 kB / 0.5261 GB, free: 5.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.5011, allocations: 26.81 kB / 0.5261 GB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.5013, allocations: 122.4 kB / 0.5262 GB, free: 5.816 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.5014, allocations: 0.6996 MB / 0.5269 GB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.5015, allocations: 16.08 kB / 0.5269 GB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.5015, allocations: 19.12 kB / 0.5269 GB, free: 5.09 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5015, allocations: 0 / 0.5269 GB, free: 5.09 MB / 346.7 MB Notification: Performance of Templates: time 0.003605/0.5052, allocations: 1.89 MB / 0.5288 GB, free: 4.129 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)