Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001026/0.001026, 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.369/1.369, allocations: 194.3 MB / 202.4 MB, free: 8.535 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.001562/0.001562, allocations: 113.9 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.1936/0.1936, allocations: 39.95 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.556e-05/1.559e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09479, allocations: 54.87 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.4555, allocations: 81.38 MB / 0.5172 GB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.4557, allocations: 75.27 kB / 0.5172 GB, free: 10.35 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.01134/0.467, allocations: 4.818 MB / 0.5219 GB, free: 9.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.467, allocations: 0 / 0.5219 GB, free: 9.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.4671, allocations: 3.938 kB / 0.5219 GB, free: 9.09 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.0004491/0.4675, allocations: 474.7 kB / 0.5224 GB, free: 8.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4676, allocations: 11.5 kB / 0.5224 GB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.4676, allocations: 15.72 kB / 0.5224 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.4679, allocations: 225.8 kB / 0.5226 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.468, allocations: 0 / 0.5226 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.468, allocations: 7.562 kB / 0.5226 GB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.744e-05/0.4681, allocations: 19.27 kB / 0.5227 GB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.481e-05/0.4682, allocations: 51.77 kB / 0.5227 GB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4682, allocations: 7.734 kB / 0.5227 GB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4682, allocations: 0 / 0.5227 GB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4682, allocations: 0 / 0.5227 GB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.4686, allocations: 306 kB / 0.523 GB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.781e-05/0.4687, allocations: 55.78 kB / 0.5231 GB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.4687, allocations: 15.92 kB / 0.5231 GB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.4688, allocations: 0 / 0.5231 GB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.4689, allocations: 76.05 kB / 0.5232 GB, free: 7.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4689, allocations: 0 / 0.5232 GB, free: 7.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004186/0.4693, allocations: 162.4 kB / 0.5233 GB, free: 7.887 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.4693, allocations: 51.41 kB / 0.5234 GB, free: 7.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.4695, allocations: 221.7 kB / 0.5236 GB, free: 7.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4695, allocations: 25.7 kB / 0.5236 GB, free: 7.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.4696, allocations: 113.5 kB / 0.5237 GB, free: 7.594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.4696, allocations: 29.2 kB / 0.5237 GB, free: 7.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.4696, allocations: 3.844 kB / 0.5237 GB, free: 7.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.4697, allocations: 326.7 kB / 0.524 GB, free: 7.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.217e-05/0.4698, allocations: 29 kB / 0.5241 GB, free: 7.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.141e-05/0.4698, allocations: 54.58 kB / 0.5241 GB, free: 7.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.681e-05/0.4699, allocations: 32.39 kB / 0.5242 GB, free: 7.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4699, allocations: 0 / 0.5242 GB, free: 7.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000195/0.4701, allocations: 138.1 kB / 0.5243 GB, free: 7.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.4702, allocations: 37.56 kB / 0.5243 GB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4702, allocations: 7.984 kB / 0.5243 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4702, allocations: 0 / 0.5243 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.4703, allocations: 15.34 kB / 0.5243 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4703, allocations: 0 / 0.5243 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.4704, allocations: 15.7 kB / 0.5244 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.4704, allocations: 7.281 kB / 0.5244 GB, free: 7.125 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 6.724e-05/0.4705, allocations: 112.5 kB / 0.5245 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.4705, allocations: 7.781 kB / 0.5245 GB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.4707, allocations: 133.9 kB / 0.5246 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4707, allocations: 3.953 kB / 0.5246 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4707, allocations: 192 / 0.5246 GB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.4708, allocations: 4 kB / 0.5246 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.4711, allocations: 402.1 kB / 0.525 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4711, allocations: 0 / 0.525 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.4712, allocations: 7.625 kB / 0.525 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.4712, allocations: 3.953 kB / 0.525 GB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4712, allocations: 7.906 kB / 0.525 GB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4712, allocations: 0 / 0.525 GB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4712, allocations: 0 / 0.525 GB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.4714, allocations: 219.4 kB / 0.5252 GB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.4715, allocations: 111.7 kB / 0.5253 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4715, allocations: 3.938 kB / 0.5253 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.4716, allocations: 11.12 kB / 0.5254 GB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.4716, allocations: 7.828 kB / 0.5254 GB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.4716, allocations: 0 / 0.5254 GB, free: 6.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.4718, allocations: 186.4 kB / 0.5255 GB, free: 6.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4718, allocations: 0 / 0.5255 GB, free: 6.227 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.472, allocations: 42.03 kB / 0.5256 GB, free: 6.219 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.0008099/0.4729, allocations: 360.1 kB / 0.5259 GB, free: 5.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.4731, allocations: 157.4 kB / 0.5261 GB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4731, allocations: 0 / 0.5261 GB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.656e-05/0.4731, allocations: 31.88 kB / 0.5261 GB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.4734, allocations: 15.05 kB / 0.5261 GB, free: 5.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.4738, allocations: 228 kB / 0.5263 GB, free: 5.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.474, allocations: 0.7257 MB / 0.527 GB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.999e-05/0.474, allocations: 20.09 kB / 0.5271 GB, free: 5.039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.4741, allocations: 15.06 kB / 0.5271 GB, free: 5.031 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4741, allocations: 3.844 kB / 0.5271 GB, free: 5.031 MB / 346.7 MB Notification: Performance of Templates: time 0.003939/0.478, allocations: 1.775 MB / 0.5288 GB, free: 4.145 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)