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.00126/0.00126, allocations: 181.9 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.615/1.615, 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.001658/0.001658, allocations: 114 kB / 252.6 MB, free: 4.836 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.242/0.242, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.996e-05/4.998e-05, allocations: 8 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1418, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5476/0.6894, allocations: 82.03 MB / 0.5246 GB, free: 9.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.6897, allocations: 67.78 kB / 0.5247 GB, free: 9.004 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.01079/0.7005, allocations: 4.403 MB / 0.529 GB, free: 5.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.7005, allocations: 0 / 0.529 GB, free: 5.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.7005, allocations: 3.938 kB / 0.529 GB, free: 5.543 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.0004364/0.701, allocations: 457.1 kB / 0.5294 GB, free: 5.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.701, allocations: 16.03 kB / 0.5294 GB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.7011, allocations: 7.906 kB / 0.5294 GB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.7014, allocations: 214.1 kB / 0.5296 GB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.7015, allocations: 4 kB / 0.5296 GB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.7015, allocations: 4 kB / 0.5296 GB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.7016, allocations: 53.36 kB / 0.5297 GB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.7017, allocations: 3.984 kB / 0.5297 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.7017, allocations: 3.953 kB / 0.5297 GB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.7017, allocations: 4 kB / 0.5297 GB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.311e-05/0.7018, allocations: 23.62 kB / 0.5297 GB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.7021, allocations: 307.1 kB / 0.53 GB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.7023, allocations: 54 kB / 0.5301 GB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.7023, allocations: 20.42 kB / 0.5301 GB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.7023, allocations: 0 / 0.5301 GB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.7025, allocations: 71.16 kB / 0.5301 GB, free: 4.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.7025, allocations: 3.938 kB / 0.5301 GB, free: 4.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000438/0.7029, allocations: 168.1 kB / 0.5303 GB, free: 4.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.703, allocations: 55.41 kB / 0.5304 GB, free: 4.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.7031, allocations: 164.1 kB / 0.5305 GB, free: 3.871 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.7031, allocations: 25.7 kB / 0.5305 GB, free: 3.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.7032, allocations: 91.95 kB / 0.5306 GB, free: 3.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.7032, allocations: 35.52 kB / 0.5307 GB, free: 3.723 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.7032, allocations: 4 kB / 0.5307 GB, free: 3.719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.7033, allocations: 326.6 kB / 0.531 GB, free: 3.398 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.7033, allocations: 31.44 kB / 0.531 GB, free: 3.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.7034, allocations: 48.53 kB / 0.5311 GB, free: 3.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.7035, allocations: 69.05 kB / 0.5311 GB, free: 3.281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.7035, allocations: 4 kB / 0.5311 GB, free: 3.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002042/0.7037, allocations: 177.9 kB / 0.5313 GB, free: 3.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.7038, allocations: 41.56 kB / 0.5313 GB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7038, allocations: 0 / 0.5313 GB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.7038, allocations: 4 kB / 0.5313 GB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.7039, allocations: 12 kB / 0.5314 GB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.7039, allocations: 0 / 0.5314 GB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.704, allocations: 7.984 kB / 0.5314 GB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.704, allocations: 8 kB / 0.5314 GB, free: 3.047 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.579e-05/0.7041, allocations: 112 kB / 0.5315 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.7041, allocations: 15.86 kB / 0.5315 GB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.7043, allocations: 121.4 kB / 0.5316 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.7043, allocations: 0 / 0.5316 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7043, allocations: 4 kB / 0.5316 GB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7043, allocations: 0 / 0.5316 GB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.7047, allocations: 404.5 kB / 0.532 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7047, allocations: 0 / 0.532 GB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.7047, allocations: 20.02 kB / 0.532 GB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7047, allocations: 0 / 0.532 GB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.7048, allocations: 0 / 0.532 GB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7048, allocations: 4 kB / 0.532 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7048, allocations: 0 / 0.532 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.7049, allocations: 224.8 kB / 0.5322 GB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.705, allocations: 93 kB / 0.5323 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.705, allocations: 11.88 kB / 0.5323 GB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.7051, allocations: 7.984 kB / 0.5323 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.7052, allocations: 0 / 0.5323 GB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.7052, allocations: 7.984 kB / 0.5323 GB, free: 2.023 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.875e-05/0.7053, allocations: 131.1 kB / 0.5325 GB, free: 1.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7053, allocations: 0 / 0.5325 GB, free: 1.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000293/0.7056, allocations: 39.88 kB / 0.5325 GB, free: 1.875 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.0008526/0.7064, allocations: 395.5 kB / 0.5329 GB, free: 1.559 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.7066, allocations: 157.8 kB / 0.533 GB, free: 1.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7066, allocations: 0 / 0.533 GB, free: 1.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.7067, allocations: 31.3 kB / 0.5331 GB, free: 1.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.7069, allocations: 34.44 kB / 0.5331 GB, free: 1.383 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.7072, allocations: 161.6 kB / 0.5333 GB, free: 1.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.7074, allocations: 0.7082 MB / 0.5339 GB, free: 496 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.907e-05/0.7075, allocations: 16.56 kB / 0.534 GB, free: 480 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.7075, allocations: 15.44 kB / 0.534 GB, free: 464 kB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7075, allocations: 0 / 0.534 GB, free: 464 kB / 346.7 MB Notification: Performance of Templates: time 0.005757/0.7133, allocations: 1.705 MB / 0.5356 GB, free: 14.77 MB / 362.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)