Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 118.5 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2543/0.2543, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 75.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3939, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004724/0.3987, allocations: 1.861 MB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.4009, allocations: 1.011 MB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.4011, allocations: 1.375 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.4014, allocations: 67.09 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.402, allocations: 119.1 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.4025, allocations: 162.7 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.4029, allocations: 203.2 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.403, allocations: 23.16 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.4031, allocations: 79.31 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.4033, allocations: 98.81 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.4034, allocations: 13.22 kB / 0.5346 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.4035, allocations: 50.97 kB / 0.5346 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.599e-05/0.4036, allocations: 42.38 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.382e-05/0.4037, allocations: 74 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.4041, allocations: 180.5 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4041, allocations: 0 / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4041, allocations: 1.281 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.4041, allocations: 0 / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00132/0.4054, allocations: 0.5857 MB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4055, allocations: 8.938 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.4056, allocations: 21.8 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.4059, allocations: 240.8 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.4059, allocations: 2.656 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.406, allocations: 12.62 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.4067, allocations: 143.7 kB / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4067, allocations: 0 / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.4067, allocations: 1.094 kB / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4067, allocations: 1.156 kB / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.4078, allocations: 166.1 kB / 0.536 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007699/0.4086, allocations: 369.6 kB / 0.5364 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.4097, allocations: 193.3 kB / 0.5366 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.4102, allocations: 94.72 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.4103, allocations: 5.344 kB / 0.5367 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/0.411, allocations: 175.2 kB / 0.5368 GB, free: 8.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.244e-06/0.4111, allocations: 0 / 0.5368 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.005082/0.4162, allocations: 0.8131 MB / 0.5376 GB, free: 8.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.4162, allocations: 57.69 kB / 0.5377 GB, free: 8.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.4166, allocations: 240.8 kB / 0.5379 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.4167, allocations: 37.11 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4168, allocations: 119.4 kB / 0.5381 GB, free: 8.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.4169, allocations: 41.09 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.417, allocations: 41.02 kB / 0.5381 GB, free: 8.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4172, allocations: 332 kB / 0.5385 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009386/0.4181, allocations: 169.8 kB / 0.5386 GB, free: 7.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000945/0.4191, allocations: 168.9 kB / 0.5388 GB, free: 7.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.421, allocations: 365.8 kB / 0.5391 GB, free: 7.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.421, allocations: 0 / 0.5391 GB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002269/0.4233, allocations: 450.6 kB / 0.5396 GB, free: 7.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/0.4234, allocations: 69.77 kB / 0.5396 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4234, allocations: 5.062 kB / 0.5396 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.4234, allocations: 0 / 0.5396 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.424, allocations: 68.47 kB / 0.5397 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.424, allocations: 5.25 kB / 0.5397 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.4246, allocations: 67.41 kB / 0.5398 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.4246, allocations: 4.156 kB / 0.5398 GB, free: 7.035 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.4249, allocations: 139.9 kB / 0.5399 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.425, allocations: 18.89 kB / 0.5399 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.427, allocations: 409.8 kB / 0.5403 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.427, allocations: 5.047 kB / 0.5403 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.427, allocations: 5.188 kB / 0.5403 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.427, allocations: 0 / 0.5403 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.4288, allocations: 0.7029 MB / 0.541 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4288, allocations: 0 / 0.541 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.4292, allocations: 68.09 kB / 0.5411 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4292, allocations: 5.031 kB / 0.5411 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.4292, allocations: 5.125 kB / 0.5411 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4292, allocations: 1.156 kB / 0.5411 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4293, allocations: 3.984 kB / 0.5411 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.4307, allocations: 476 kB / 0.5415 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.4308, allocations: 97.17 kB / 0.5416 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.4309, allocations: 5.047 kB / 0.5416 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.4313, allocations: 70.06 kB / 0.5417 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.4315, allocations: 45.47 kB / 0.5417 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4315, allocations: 3.469 kB / 0.5417 GB, free: 5.605 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002087/0.4317, allocations: 188.6 kB / 0.5419 GB, free: 5.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4317, allocations: 0 / 0.5419 GB, free: 5.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.4321, allocations: 45.45 kB / 0.542 GB, free: 5.473 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009957/0.4331, allocations: 409.1 kB / 0.5424 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.4346, allocations: 463.4 kB / 0.5428 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4347, allocations: 4 kB / 0.5428 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000698/0.4354, allocations: 179.9 kB / 0.543 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.4357, allocations: 43.55 kB / 0.543 GB, free: 4.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009206/0.4367, allocations: 362 kB / 0.5434 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.437, allocations: 0.7224 MB / 0.5441 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.4371, allocations: 26.91 kB / 0.5441 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.376e-05/0.4372, allocations: 20.81 kB / 0.5441 GB, free: 3.859 MB / 398.1 MB Notification: Performance of SimCode: time 2.605e-06/0.4373, allocations: 4 kB / 0.5441 GB, free: 3.855 MB / 398.1 MB Notification: Performance of Templates: time 0.006891/0.4441, allocations: 3.576 MB / 0.5476 GB, free: 468 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)