Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001282/0.001282, 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.476/1.476, allocations: 194.3 MB / 202.4 MB, free: 8.48 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.001702/0.001702, allocations: 115.2 kB / 247.4 MB, free: 6.207 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.1935/0.1935, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.54e-05/1.543e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09152, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.444, allocations: 81.36 MB / 0.5171 GB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.4442, allocations: 70.5 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.0113/0.4555, allocations: 4.382 MB / 0.5215 GB, free: 9.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4555, allocations: 0 / 0.5215 GB, free: 9.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.4556, allocations: 0 / 0.5215 GB, free: 9.332 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.0004436/0.456, allocations: 457.5 kB / 0.5219 GB, free: 8.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4561, allocations: 11.67 kB / 0.5219 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.4561, allocations: 15.62 kB / 0.522 GB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.4564, allocations: 200.6 kB / 0.5221 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.4564, allocations: 0 / 0.5221 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.4564, allocations: 10.41 kB / 0.5222 GB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.72e-05/0.4565, allocations: 18.67 kB / 0.5222 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.4566, allocations: 52.86 kB / 0.5222 GB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.4566, allocations: 3.953 kB / 0.5222 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.4566, allocations: 0 / 0.5222 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4566, allocations: 0 / 0.5222 GB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.457, allocations: 289.7 kB / 0.5225 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.495e-05/0.4571, allocations: 51.5 kB / 0.5226 GB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.4571, allocations: 19.77 kB / 0.5226 GB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.4571, allocations: 0 / 0.5226 GB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.4572, allocations: 68.5 kB / 0.5226 GB, free: 8.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.4573, allocations: 0 / 0.5226 GB, free: 8.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003959/0.4577, allocations: 155.4 kB / 0.5228 GB, free: 8.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.4577, allocations: 55.41 kB / 0.5228 GB, free: 8.094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.4578, allocations: 146.9 kB / 0.523 GB, free: 7.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.4578, allocations: 29.61 kB / 0.523 GB, free: 7.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.4579, allocations: 96.34 kB / 0.5231 GB, free: 7.871 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.4579, allocations: 25.5 kB / 0.5231 GB, free: 7.855 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.4579, allocations: 0 / 0.5231 GB, free: 7.855 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.458, allocations: 322.5 kB / 0.5234 GB, free: 7.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.458, allocations: 36.45 kB / 0.5235 GB, free: 7.535 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.4581, allocations: 54.16 kB / 0.5235 GB, free: 7.512 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/0.4582, allocations: 33.86 kB / 0.5235 GB, free: 7.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4582, allocations: 3.938 kB / 0.5236 GB, free: 7.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001774/0.4583, allocations: 133.9 kB / 0.5237 GB, free: 7.457 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.4584, allocations: 37.03 kB / 0.5237 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4584, allocations: 3.953 kB / 0.5237 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4584, allocations: 0 / 0.5237 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.4585, allocations: 27.33 kB / 0.5237 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.4585, allocations: 32 / 0.5237 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.4586, allocations: 7.969 kB / 0.5238 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.4586, allocations: 7.969 kB / 0.5238 GB, free: 7.398 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.285e-05/0.4587, allocations: 108.2 kB / 0.5239 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.4587, allocations: 11.56 kB / 0.5239 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.4589, allocations: 106.7 kB / 0.524 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4589, allocations: 11.75 kB / 0.524 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4589, allocations: 0 / 0.524 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4589, allocations: 0 / 0.524 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.4592, allocations: 373.7 kB / 0.5243 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4592, allocations: 0 / 0.5243 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.4593, allocations: 7.656 kB / 0.5244 GB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4593, allocations: 11.81 kB / 0.5244 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.4593, allocations: 0 / 0.5244 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4593, allocations: 80 / 0.5244 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.4593, allocations: 3.984 kB / 0.5244 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.4595, allocations: 219.5 kB / 0.5246 GB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.4595, allocations: 99.08 kB / 0.5247 GB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.4596, allocations: 0 / 0.5247 GB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.4596, allocations: 7 kB / 0.5247 GB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.4597, allocations: 11.8 kB / 0.5247 GB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.4597, allocations: 3.812 kB / 0.5247 GB, free: 6.621 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.142e-05/0.4598, allocations: 125.8 kB / 0.5248 GB, free: 6.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4598, allocations: 288 / 0.5248 GB, free: 6.535 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.4601, allocations: 42.53 kB / 0.5249 GB, free: 6.523 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.0006992/0.4608, allocations: 360.4 kB / 0.5252 GB, free: 6.289 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.4609, allocations: 158.9 kB / 0.5253 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.461, allocations: 4.062 kB / 0.5254 GB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.37e-05/0.461, allocations: 30.22 kB / 0.5254 GB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.4612, allocations: 14.92 kB / 0.5254 GB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.4615, allocations: 148.1 kB / 0.5255 GB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.4617, allocations: 0.7111 MB / 0.5262 GB, free: 5.387 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.62e-05/0.4617, allocations: 16.33 kB / 0.5262 GB, free: 5.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.4618, allocations: 15.03 kB / 0.5263 GB, free: 5.371 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4618, allocations: 0 / 0.5263 GB, free: 5.371 MB / 346.7 MB Notification: Performance of Templates: time 0.003471/0.4653, allocations: 1.642 MB / 0.5279 GB, free: 4.543 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)