Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001432/0.001432, 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.8/1.8, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001383/0.001383, allocations: 112.2 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.2395/0.2395, allocations: 39.94 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.053e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5472, allocations: 82.06 MB / 0.5246 GB, free: 9.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.5474, allocations: 71.52 kB / 0.5247 GB, free: 9.051 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.01123/0.5587, allocations: 4.55 MB / 0.5291 GB, free: 5.465 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5587, allocations: 4 kB / 0.5291 GB, free: 5.461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.5587, allocations: 4 kB / 0.5291 GB, free: 5.457 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.0003657/0.5591, allocations: 449.2 kB / 0.5296 GB, free: 4.969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5591, allocations: 8.031 kB / 0.5296 GB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.5592, allocations: 11.89 kB / 0.5296 GB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.5594, allocations: 209.6 kB / 0.5298 GB, free: 4.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5595, allocations: 4 kB / 0.5298 GB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.5595, allocations: 4 kB / 0.5298 GB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.5596, allocations: 57.48 kB / 0.5299 GB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5596, allocations: 0 / 0.5299 GB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.5597, allocations: 3.953 kB / 0.5299 GB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5597, allocations: 0 / 0.5299 GB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.718e-05/0.5597, allocations: 27.55 kB / 0.5299 GB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.5601, allocations: 315.7 kB / 0.5302 GB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.5602, allocations: 58.55 kB / 0.5302 GB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.5602, allocations: 24.3 kB / 0.5303 GB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.5603, allocations: 0 / 0.5303 GB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.5604, allocations: 74.72 kB / 0.5303 GB, free: 4.145 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.5604, allocations: 0 / 0.5303 GB, free: 4.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004222/0.5608, allocations: 160.2 kB / 0.5305 GB, free: 4.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.5609, allocations: 55.41 kB / 0.5305 GB, free: 3.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.561, allocations: 172.2 kB / 0.5307 GB, free: 3.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.561, allocations: 29.64 kB / 0.5307 GB, free: 3.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.5611, allocations: 103.6 kB / 0.5308 GB, free: 3.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.5611, allocations: 27.55 kB / 0.5309 GB, free: 3.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.5611, allocations: 7.938 kB / 0.5309 GB, free: 3.633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.5612, allocations: 318.6 kB / 0.5312 GB, free: 3.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.5612, allocations: 35.23 kB / 0.5312 GB, free: 3.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.5613, allocations: 53.28 kB / 0.5313 GB, free: 3.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.585e-05/0.5614, allocations: 72.98 kB / 0.5313 GB, free: 3.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5614, allocations: 0 / 0.5313 GB, free: 3.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001926/0.5616, allocations: 174 kB / 0.5315 GB, free: 3.035 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.5616, allocations: 41.38 kB / 0.5315 GB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5616, allocations: 4 kB / 0.5315 GB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5617, allocations: 0 / 0.5315 GB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.5617, allocations: 12 kB / 0.5315 GB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5618, allocations: 0 / 0.5315 GB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.5618, allocations: 12.22 kB / 0.5316 GB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.5618, allocations: 11.89 kB / 0.5316 GB, free: 2.957 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 5.203e-05/0.5619, allocations: 112.9 kB / 0.5317 GB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.5619, allocations: 19.77 kB / 0.5317 GB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.5621, allocations: 117.2 kB / 0.5318 GB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5621, allocations: 4 kB / 0.5318 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.5621, allocations: 0 / 0.5318 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5621, allocations: 0 / 0.5318 GB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.5625, allocations: 409 kB / 0.5322 GB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5625, allocations: 0 / 0.5322 GB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.5625, allocations: 15.98 kB / 0.5322 GB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5626, allocations: 0 / 0.5322 GB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5626, allocations: 0 / 0.5322 GB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5626, allocations: 4 kB / 0.5322 GB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5626, allocations: 0 / 0.5322 GB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.5627, allocations: 228.9 kB / 0.5324 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.5628, allocations: 100.6 kB / 0.5325 GB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.5628, allocations: 3.984 kB / 0.5325 GB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.5629, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.563, allocations: 7.938 kB / 0.5325 GB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.563, allocations: 11.92 kB / 0.5326 GB, free: 1.922 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.828e-05/0.5631, allocations: 135.4 kB / 0.5327 GB, free: 1.805 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5631, allocations: 0 / 0.5327 GB, free: 1.805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.5633, allocations: 39.86 kB / 0.5327 GB, free: 1.77 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.0008147/0.5641, allocations: 391.6 kB / 0.5331 GB, free: 1.453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.5644, allocations: 165.9 kB / 0.5333 GB, free: 1.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5644, allocations: 0 / 0.5333 GB, free: 1.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.986e-05/0.5644, allocations: 27.69 kB / 0.5333 GB, free: 1.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.5647, allocations: 30.94 kB / 0.5333 GB, free: 1.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.565, allocations: 165 kB / 0.5335 GB, free: 1.109 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.5651, allocations: 0.7004 MB / 0.5342 GB, free: 392 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.094e-05/0.5652, allocations: 16.56 kB / 0.5342 GB, free: 376 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.5652, allocations: 19.44 kB / 0.5342 GB, free: 356 kB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5652, allocations: 0 / 0.5342 GB, free: 356 kB / 346.7 MB Notification: Performance of Templates: time 0.004089/0.5693, allocations: 1.738 MB / 0.5359 GB, free: 14.63 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)