Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001307/0.001307, 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.334/1.334, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001592/0.001592, allocations: 113.8 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.1849/0.1849, allocations: 39.94 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.745e-05, allocations: 8 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09835, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3877/0.4861, allocations: 81.35 MB / 0.5171 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.4863, allocations: 70.16 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.01527/0.5016, allocations: 4.335 MB / 0.5214 GB, free: 9.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5017, allocations: 0 / 0.5214 GB, free: 9.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.5017, allocations: 3.875 kB / 0.5214 GB, free: 9.352 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.0004652/0.5022, allocations: 454 kB / 0.5219 GB, free: 8.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5022, allocations: 7.344 kB / 0.5219 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.5023, allocations: 11.44 kB / 0.5219 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.5026, allocations: 202 kB / 0.5221 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.5026, allocations: 0 / 0.5221 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.5027, allocations: 7.594 kB / 0.5221 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.76e-05/0.5028, allocations: 15.09 kB / 0.5221 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.5029, allocations: 56.34 kB / 0.5222 GB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5029, allocations: 7.906 kB / 0.5222 GB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5029, allocations: 0 / 0.5222 GB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.503, allocations: 0 / 0.5222 GB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.5034, allocations: 287.8 kB / 0.5224 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.5036, allocations: 50 kB / 0.5225 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.5036, allocations: 19.17 kB / 0.5225 GB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.5037, allocations: 7.953 kB / 0.5225 GB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.5038, allocations: 66.27 kB / 0.5226 GB, free: 8.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.5038, allocations: 0 / 0.5226 GB, free: 8.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005557/0.5044, allocations: 141.2 kB / 0.5227 GB, free: 8.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.5044, allocations: 58.53 kB / 0.5228 GB, free: 8.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.5046, allocations: 140.5 kB / 0.5229 GB, free: 8.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.5046, allocations: 33.27 kB / 0.5229 GB, free: 7.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.5047, allocations: 98.25 kB / 0.523 GB, free: 7.902 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.5047, allocations: 23.09 kB / 0.5231 GB, free: 7.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.5047, allocations: 0 / 0.5231 GB, free: 7.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.357e-05/0.5048, allocations: 324 kB / 0.5234 GB, free: 7.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.5049, allocations: 28.25 kB / 0.5234 GB, free: 7.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.99e-05/0.505, allocations: 52.83 kB / 0.5234 GB, free: 7.551 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.818e-05/0.5051, allocations: 37.17 kB / 0.5235 GB, free: 7.543 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5051, allocations: 4 kB / 0.5235 GB, free: 7.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000305/0.5054, allocations: 133.9 kB / 0.5236 GB, free: 7.488 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.5055, allocations: 40.84 kB / 0.5236 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5055, allocations: 96 / 0.5236 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.5055, allocations: 11.88 kB / 0.5237 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.5057, allocations: 19.45 kB / 0.5237 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.5057, allocations: 11.66 kB / 0.5237 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.5058, allocations: 3.875 kB / 0.5237 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.5058, allocations: 3.844 kB / 0.5237 GB, free: 7.43 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 7.606e-05/0.5059, allocations: 112.4 kB / 0.5238 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.5059, allocations: 11.73 kB / 0.5238 GB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.5062, allocations: 111.6 kB / 0.5239 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5062, allocations: 0 / 0.5239 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5063, allocations: 0 / 0.5239 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5063, allocations: 0 / 0.5239 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.5067, allocations: 371.6 kB / 0.5243 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5067, allocations: 7.984 kB / 0.5243 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.028e-05/0.5068, allocations: 7.656 kB / 0.5243 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5068, allocations: 0 / 0.5243 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.5068, allocations: 3.875 kB / 0.5243 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5068, allocations: 0 / 0.5243 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5068, allocations: 3.984 kB / 0.5243 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.5071, allocations: 220 kB / 0.5245 GB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.5071, allocations: 95.98 kB / 0.5246 GB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.5072, allocations: 3.969 kB / 0.5246 GB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5073, allocations: 0 / 0.5246 GB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.5074, allocations: 7.859 kB / 0.5246 GB, free: 6.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.5074, allocations: 3.906 kB / 0.5246 GB, free: 6.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.704e-05/0.5075, allocations: 119 kB / 0.5247 GB, free: 6.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5075, allocations: 0 / 0.5247 GB, free: 6.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.508, allocations: 30.41 kB / 0.5248 GB, free: 6.566 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.001139/0.5091, allocations: 369.6 kB / 0.5251 GB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.5094, allocations: 157.6 kB / 0.5253 GB, free: 6.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5094, allocations: 0 / 0.5253 GB, free: 6.254 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.5095, allocations: 29.98 kB / 0.5253 GB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.5098, allocations: 23.28 kB / 0.5253 GB, free: 6.238 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.5102, allocations: 137.8 kB / 0.5254 GB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.5104, allocations: 0.7072 MB / 0.5261 GB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.5105, allocations: 12.2 kB / 0.5261 GB, free: 5.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.5105, allocations: 18.92 kB / 0.5262 GB, free: 5.398 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5105, allocations: 7.812 kB / 0.5262 GB, free: 5.395 MB / 346.7 MB Notification: Performance of Templates: time 0.00512/0.5157, allocations: 1.617 MB / 0.5277 GB, free: 4.578 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1)