Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001138/0.001139, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.823/1.823, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001917/0.001918, allocations: 113.1 kB / 252.6 MB, free: 4.828 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.2189/0.2189, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.666e-05/4.669e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5585, allocations: 81.89 MB / 0.5244 GB, free: 9.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.5587, allocations: 74.72 kB / 0.5245 GB, free: 9.152 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01032/0.5691, allocations: 4.401 MB / 0.5288 GB, free: 5.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5691, allocations: 0 / 0.5288 GB, free: 5.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.5691, allocations: 4 kB / 0.5288 GB, free: 5.664 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003453/0.5695, allocations: 447.6 kB / 0.5292 GB, free: 5.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5695, allocations: 12.03 kB / 0.5293 GB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.5696, allocations: 10.97 kB / 0.5293 GB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.5698, allocations: 208.2 kB / 0.5295 GB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5699, allocations: 4 kB / 0.5295 GB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.5699, allocations: 4 kB / 0.5295 GB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.566e-05/0.57, allocations: 44.19 kB / 0.5295 GB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.57, allocations: 0 / 0.5295 GB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.57, allocations: 11.95 kB / 0.5295 GB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.57, allocations: 0 / 0.5295 GB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.5701, allocations: 15.17 kB / 0.5295 GB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.5702, allocations: 202.2 kB / 0.5297 GB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/0.5703, allocations: 51.12 kB / 0.5298 GB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.5704, allocations: 19.42 kB / 0.5298 GB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.5704, allocations: 0 / 0.5298 GB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.5705, allocations: 66.17 kB / 0.5299 GB, free: 4.484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.355e-06/0.5705, allocations: 7.984 kB / 0.5299 GB, free: 4.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000197/0.5707, allocations: 89.03 kB / 0.53 GB, free: 4.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.5708, allocations: 51.41 kB / 0.53 GB, free: 4.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.5709, allocations: 164.2 kB / 0.5302 GB, free: 4.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5709, allocations: 32.77 kB / 0.5302 GB, free: 4.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.571, allocations: 97.62 kB / 0.5303 GB, free: 4.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.571, allocations: 15.81 kB / 0.5303 GB, free: 4.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.571, allocations: 3.125 kB / 0.5303 GB, free: 4.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.5711, allocations: 322 kB / 0.5306 GB, free: 3.723 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.123e-05/0.5712, allocations: 29.84 kB / 0.5306 GB, free: 3.703 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.5712, allocations: 47.08 kB / 0.5307 GB, free: 3.664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.804e-05/0.5713, allocations: 67 kB / 0.5308 GB, free: 3.605 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5713, allocations: 0 / 0.5308 GB, free: 3.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001717/0.5715, allocations: 150.6 kB / 0.5309 GB, free: 3.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.5715, allocations: 41.44 kB / 0.5309 GB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5715, allocations: 0 / 0.5309 GB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5715, allocations: 0 / 0.5309 GB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.5716, allocations: 15.94 kB / 0.5309 GB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.5716, allocations: 3.953 kB / 0.531 GB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.5717, allocations: 15.84 kB / 0.531 GB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.5717, allocations: 4 kB / 0.531 GB, free: 3.387 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 (8): * Single equations (assignments): 7 * 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.161e-05/0.5718, allocations: 113.7 kB / 0.5311 GB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.5718, allocations: 12.06 kB / 0.5311 GB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.572, allocations: 95.02 kB / 0.5312 GB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.572, allocations: 3.938 kB / 0.5312 GB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.572, allocations: 0 / 0.5312 GB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.572, allocations: 3.953 kB / 0.5312 GB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.813e-05/0.5721, allocations: 187.5 kB / 0.5314 GB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5721, allocations: 4 kB / 0.5314 GB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.5721, allocations: 6.875 kB / 0.5314 GB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5721, allocations: 0 / 0.5314 GB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.5722, allocations: 0 / 0.5314 GB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5722, allocations: 4 kB / 0.5314 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5722, allocations: 0 / 0.5314 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.5723, allocations: 112.6 kB / 0.5315 GB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.5723, allocations: 100.8 kB / 0.5316 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.5724, allocations: 0 / 0.5316 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.5724, allocations: 4 kB / 0.5316 GB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.5725, allocations: 7.984 kB / 0.5316 GB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.5725, allocations: 4 kB / 0.5316 GB, free: 2.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.479e-05/0.5726, allocations: 145.2 kB / 0.5317 GB, free: 2.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5726, allocations: 3.938 kB / 0.5317 GB, free: 2.562 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.5728, allocations: 34.44 kB / 0.5318 GB, free: 2.531 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006911/0.5735, allocations: 345.9 kB / 0.5321 GB, free: 2.254 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.5736, allocations: 150.6 kB / 0.5322 GB, free: 2.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5737, allocations: 0 / 0.5322 GB, free: 2.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.5737, allocations: 15.88 kB / 0.5323 GB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.5739, allocations: 23.75 kB / 0.5323 GB, free: 2.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.5742, allocations: 140 kB / 0.5324 GB, free: 1.957 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.5743, allocations: 0.7043 MB / 0.5331 GB, free: 1.227 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.803e-05/0.5744, allocations: 15.94 kB / 0.5331 GB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.5744, allocations: 15.42 kB / 0.5331 GB, free: 1.199 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5744, allocations: 0 / 0.5331 GB, free: 1.199 MB / 346.7 MB Notification: Performance of Templates: time 0.003543/0.5779, allocations: 1.504 MB / 0.5346 GB, free: 15.72 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)