Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001305/0.001305, allocations: 176 kB / 7.652 MB, free: 1.426 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.51/1.51, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.001633/0.001633, allocations: 107.4 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.168/0.168, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.603e-05, allocations: 4 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2719, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.3799, allocations: 81.36 MB / 0.5172 GB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.3802, allocations: 67.97 kB / 0.5172 GB, free: 12.13 MB / 378.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.0128/0.393, allocations: 4.428 MB / 0.5215 GB, free: 7.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.393, allocations: 4 kB / 0.5215 GB, free: 7.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3931, allocations: 0 / 0.5215 GB, free: 7.699 MB / 378.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.0005264/0.3936, allocations: 459.2 kB / 0.522 GB, free: 7.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3936, allocations: 8.031 kB / 0.522 GB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.3937, allocations: 15.89 kB / 0.522 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.394, allocations: 202.8 kB / 0.5222 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3941, allocations: 0 / 0.5222 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.3941, allocations: 4 kB / 0.5222 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.517e-05/0.3942, allocations: 27.98 kB / 0.5222 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.3943, allocations: 53.61 kB / 0.5223 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3943, allocations: 3.953 kB / 0.5223 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3944, allocations: 0 / 0.5223 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3944, allocations: 0 / 0.5223 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.3948, allocations: 285.4 kB / 0.5226 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3949, allocations: 54.69 kB / 0.5226 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.3949, allocations: 20.92 kB / 0.5226 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.395, allocations: 3.984 kB / 0.5226 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.3951, allocations: 79.19 kB / 0.5227 GB, free: 6.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3951, allocations: 0 / 0.5227 GB, free: 6.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004458/0.3956, allocations: 141.4 kB / 0.5228 GB, free: 6.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.3956, allocations: 51.41 kB / 0.5229 GB, free: 6.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3958, allocations: 167.3 kB / 0.5231 GB, free: 5.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3958, allocations: 33.7 kB / 0.5231 GB, free: 5.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.3959, allocations: 99.98 kB / 0.5232 GB, free: 5.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3959, allocations: 23.7 kB / 0.5232 GB, free: 5.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.3959, allocations: 0 / 0.5232 GB, free: 5.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3961, allocations: 323.5 kB / 0.5235 GB, free: 5.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.3961, allocations: 32 kB / 0.5235 GB, free: 5.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.3962, allocations: 49.7 kB / 0.5236 GB, free: 5.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/0.3963, allocations: 39.98 kB / 0.5236 GB, free: 5.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3963, allocations: 0 / 0.5236 GB, free: 5.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002173/0.3965, allocations: 133.5 kB / 0.5238 GB, free: 5.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.3966, allocations: 37.7 kB / 0.5238 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3966, allocations: 3.953 kB / 0.5238 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3966, allocations: 0 / 0.5238 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.3967, allocations: 15.98 kB / 0.5238 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3967, allocations: 4 kB / 0.5238 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.657e-05/0.3968, allocations: 8.031 kB / 0.5238 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3968, allocations: 4 kB / 0.5238 GB, free: 5.137 MB / 378.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 9.123e-05/0.3969, allocations: 119.4 kB / 0.5239 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3969, allocations: 7.906 kB / 0.5239 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.3971, allocations: 118.2 kB / 0.5241 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3972, allocations: 3.953 kB / 0.5241 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3972, allocations: 192 / 0.5241 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3972, allocations: 7.984 kB / 0.5241 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.3976, allocations: 379.8 kB / 0.5244 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3976, allocations: 0 / 0.5244 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.3977, allocations: 11.94 kB / 0.5244 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.3977, allocations: 7.953 kB / 0.5245 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3977, allocations: 4 kB / 0.5245 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3977, allocations: 4.172 kB / 0.5245 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3977, allocations: 4 kB / 0.5245 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.3979, allocations: 213.9 kB / 0.5247 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/0.398, allocations: 104.9 kB / 0.5248 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.398, allocations: 0 / 0.5248 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.3981, allocations: 4 kB / 0.5248 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.3982, allocations: 11.98 kB / 0.5248 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3982, allocations: 0 / 0.5248 GB, free: 4.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3983, allocations: 140 kB / 0.5249 GB, free: 3.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3983, allocations: 4 kB / 0.5249 GB, free: 3.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.3986, allocations: 32 kB / 0.525 GB, free: 3.875 MB / 378.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.0008206/0.3994, allocations: 357.9 kB / 0.5253 GB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.3997, allocations: 159.3 kB / 0.5254 GB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3997, allocations: 0 / 0.5254 GB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.3997, allocations: 36 kB / 0.5255 GB, free: 3.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.4, allocations: 15.98 kB / 0.5255 GB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.4004, allocations: 150.3 kB / 0.5256 GB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4007, allocations: 0.7158 MB / 0.5263 GB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.4007, allocations: 16.64 kB / 0.5264 GB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.4008, allocations: 15.44 kB / 0.5264 GB, free: 2.402 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4008, allocations: 0 / 0.5264 GB, free: 2.402 MB / 378.7 MB Notification: Performance of Templates: time 0.004077/0.4049, allocations: 1.65 MB / 0.528 GB, free: 0.7578 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)