Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2282/0.2282, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 79.86 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4109, allocations: 62.45 MB / 0.5311 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003707/0.4147, allocations: 1.864 MB / 0.5329 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.4166, allocations: 1.004 MB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.4167, allocations: 0 / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.417, allocations: 71.56 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.4174, allocations: 124 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.4179, allocations: 162.7 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.4182, allocations: 197.9 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.4183, allocations: 32.52 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.4184, allocations: 83.31 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.4186, allocations: 98 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.4186, allocations: 13.75 kB / 0.5347 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.4188, allocations: 43.62 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.966e-05/0.4189, allocations: 41.5 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.526e-05/0.419, allocations: 73.28 kB / 0.5348 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.4193, allocations: 181.5 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4193, allocations: 0 / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4193, allocations: 5.219 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4193, allocations: 0 / 0.535 GB, free: 10.59 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.001252/0.4206, allocations: 0.578 MB / 0.5355 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4206, allocations: 8.562 kB / 0.5356 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.4207, allocations: 21.33 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.421, allocations: 244.9 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.421, allocations: 3.031 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.4211, allocations: 13.66 kB / 0.5358 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.4216, allocations: 134.7 kB / 0.536 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4216, allocations: 1 kB / 0.536 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.4216, allocations: 7.984 kB / 0.536 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4217, allocations: 1.938 kB / 0.536 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.4224, allocations: 157.7 kB / 0.5361 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.423, allocations: 377.1 kB / 0.5365 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.4238, allocations: 185.5 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.4242, allocations: 94.78 kB / 0.5367 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.4242, allocations: 1.25 kB / 0.5367 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006008/0.4248, allocations: 174.7 kB / 0.5369 GB, free: 8.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.4248, allocations: 1.188 kB / 0.5369 GB, free: 8.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003737/0.4286, allocations: 0.8121 MB / 0.5377 GB, free: 8.531 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.4287, allocations: 70.72 kB / 0.5378 GB, free: 8.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.429, allocations: 236.4 kB / 0.538 GB, free: 8.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.429, allocations: 32.77 kB / 0.538 GB, free: 8.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.566e-05/0.4291, allocations: 119.5 kB / 0.5381 GB, free: 8.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.326e-05/0.4292, allocations: 45.3 kB / 0.5382 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.134e-05/0.4293, allocations: 37.8 kB / 0.5382 GB, free: 8.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4294, allocations: 331 kB / 0.5385 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/0.4302, allocations: 173 kB / 0.5387 GB, free: 7.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007284/0.4309, allocations: 176.2 kB / 0.5389 GB, free: 7.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.4323, allocations: 360.5 kB / 0.5392 GB, free: 7.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4323, allocations: 4 kB / 0.5392 GB, free: 7.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001604/0.4339, allocations: 449.8 kB / 0.5396 GB, free: 7.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.434, allocations: 69.64 kB / 0.5397 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.434, allocations: 0 / 0.5397 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.434, allocations: 0 / 0.5397 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.4345, allocations: 72.09 kB / 0.5398 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.4345, allocations: 4.938 kB / 0.5398 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.4349, allocations: 63.12 kB / 0.5398 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.4349, allocations: 8.484 kB / 0.5399 GB, free: 6.98 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.0001687/0.4351, allocations: 139.1 kB / 0.54 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.4351, allocations: 20.23 kB / 0.54 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.4367, allocations: 410 kB / 0.5404 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4367, allocations: 1.031 kB / 0.5404 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.4368, allocations: 5.344 kB / 0.5404 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4368, allocations: 4 kB / 0.5404 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.4386, allocations: 0.6959 MB / 0.5411 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4386, allocations: 0 / 0.5411 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.439, allocations: 71.25 kB / 0.5412 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.439, allocations: 5.469 kB / 0.5412 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.4391, allocations: 8.891 kB / 0.5412 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4391, allocations: 1.125 kB / 0.5412 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4391, allocations: 0 / 0.5412 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.4406, allocations: 476.1 kB / 0.5416 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.4407, allocations: 105.4 kB / 0.5417 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.4408, allocations: 1.875 kB / 0.5417 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.4412, allocations: 62.31 kB / 0.5418 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.4414, allocations: 45.72 kB / 0.5418 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.4414, allocations: 7.094 kB / 0.5418 GB, free: 5.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.4416, allocations: 187.5 kB / 0.542 GB, free: 5.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4416, allocations: 0 / 0.542 GB, free: 5.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.4419, allocations: 49.73 kB / 0.5421 GB, free: 5.418 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.001565/0.4435, allocations: 404.4 kB / 0.5424 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.4452, allocations: 474.5 kB / 0.5429 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4452, allocations: 0 / 0.5429 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007514/0.4459, allocations: 179.3 kB / 0.5431 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.4463, allocations: 35.69 kB / 0.5431 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009758/0.4473, allocations: 358.7 kB / 0.5434 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.4477, allocations: 0.7255 MB / 0.5442 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.4478, allocations: 18.23 kB / 0.5442 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.4479, allocations: 21.28 kB / 0.5442 GB, free: 3.816 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4479, allocations: 3.938 kB / 0.5442 GB, free: 3.812 MB / 398.1 MB Notification: Performance of Templates: time 0.007619/0.4556, allocations: 3.591 MB / 0.5477 GB, free: 348 kB / 398.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480]