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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001855/0.001855, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002335/0.002335, allocations: 213.9 kB / 23.54 MB, free: 5.398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 230.2 MB / 256.7 MB, free: 8.621 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2239/0.2239, allocations: 46.89 MB / 359.9 MB, free: 5.012 MB / 286.1 MB [Timeout remaining time 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] 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.002304/0.002304, allocations: 75.88 kB / 0.495 GB, free: 8.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2906, allocations: 65.97 MB / 0.5594 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003393/0.2939, allocations: 1.868 MB / 0.5612 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.2956, allocations: 1.022 MB / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.2957, allocations: 0 / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.2959, allocations: 63.73 kB / 0.5623 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.2962, allocations: 127.4 kB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.2966, allocations: 159.3 kB / 0.5626 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.2969, allocations: 203.4 kB / 0.5628 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.297, allocations: 13.55 kB / 0.5628 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.2971, allocations: 91.67 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.2973, allocations: 103.6 kB / 0.563 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.2973, allocations: 12 kB / 0.563 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.503e-05/0.2974, allocations: 43.98 kB / 0.563 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2975, allocations: 47.83 kB / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.2976, allocations: 67.58 kB / 0.5631 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.2979, allocations: 185.7 kB / 0.5633 GB, free: 1.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2979, allocations: 0 / 0.5633 GB, free: 1.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2979, allocations: 0 / 0.5633 GB, free: 1.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2979, allocations: 0 / 0.5633 GB, free: 1.223 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.001086/0.299, allocations: 0.5835 MB / 0.5639 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.299, allocations: 12.03 kB / 0.5639 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.2991, allocations: 24.8 kB / 0.5639 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.2993, allocations: 233.1 kB / 0.5641 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2993, allocations: 8.375 kB / 0.5641 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.2994, allocations: 16.11 kB / 0.5641 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.2998, allocations: 137.5 kB / 0.5643 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2999, allocations: 0 / 0.5643 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.2999, allocations: 4 kB / 0.5643 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2999, allocations: 0 / 0.5643 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007235/0.3006, allocations: 163.7 kB / 0.5644 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.3011, allocations: 364.6 kB / 0.5648 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.3019, allocations: 194.4 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003748/0.3022, allocations: 92.75 kB / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3023, allocations: 272 / 0.5651 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000533/0.3028, allocations: 175.1 kB / 0.5652 GB, free: 15.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3028, allocations: 0 / 0.5652 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003643/0.3064, allocations: 0.8167 MB / 0.566 GB, free: 14.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.3065, allocations: 63.28 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.3068, allocations: 239.2 kB / 0.5663 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3068, allocations: 33.7 kB / 0.5663 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.3069, allocations: 128.1 kB / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.3069, allocations: 39.69 kB / 0.5665 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.307, allocations: 33.7 kB / 0.5665 GB, free: 13.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3072, allocations: 334.8 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.3079, allocations: 167.8 kB / 0.567 GB, free: 13.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.3086, allocations: 167.8 kB / 0.5672 GB, free: 13.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.3099, allocations: 362.6 kB / 0.5675 GB, free: 12.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3099, allocations: 0 / 0.5675 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00151/0.3114, allocations: 460.5 kB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.783e-05/0.3114, allocations: 63.33 kB / 0.568 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3114, allocations: 0 / 0.568 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3115, allocations: 4 kB / 0.568 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.3119, allocations: 71.91 kB / 0.5681 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3119, allocations: 3.938 kB / 0.5681 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.3123, allocations: 63.91 kB / 0.5682 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.3123, allocations: 4.562 kB / 0.5682 GB, free: 11.96 MB / 414.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.0001376/0.3125, allocations: 129.8 kB / 0.5683 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.3125, allocations: 23.86 kB / 0.5683 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.314, allocations: 409.9 kB / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.314, allocations: 0 / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.314, allocations: 3.938 kB / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.314, allocations: 11.92 kB / 0.5687 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.3157, allocations: 0.7051 MB / 0.5694 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3157, allocations: 4 kB / 0.5694 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.3161, allocations: 59.91 kB / 0.5695 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.3161, allocations: 11.94 kB / 0.5695 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3161, allocations: 8 kB / 0.5695 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3162, allocations: 3.938 kB / 0.5695 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3162, allocations: 0 / 0.5695 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.3176, allocations: 475 kB / 0.5699 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.3177, allocations: 101 kB / 0.57 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.3177, allocations: 7.984 kB / 0.57 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.3181, allocations: 63.91 kB / 0.5701 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.3182, allocations: 47.88 kB / 0.5702 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3183, allocations: 4 kB / 0.5702 GB, free: 9.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.3184, allocations: 192.6 kB / 0.5703 GB, free: 9.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3184, allocations: 0 / 0.5703 GB, free: 9.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.3187, allocations: 43.98 kB / 0.5704 GB, free: 9.578 MB / 414.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.001448/0.3202, allocations: 404.1 kB / 0.5708 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.3217, allocations: 462.4 kB / 0.5712 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3217, allocations: 0 / 0.5712 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000692/0.3224, allocations: 170.7 kB / 0.5714 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3227, allocations: 40.64 kB / 0.5714 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000912/0.3236, allocations: 380.2 kB / 0.5718 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.324, allocations: 0.7318 MB / 0.5725 GB, free: 7.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.3241, allocations: 19.44 kB / 0.5725 GB, free: 7.453 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3241, allocations: 3.938 kB / 0.5725 GB, free: 7.449 MB / 414.1 MB Notification: Performance of Templates: time 0.005407/0.3295, allocations: 3.204 MB / 0.5756 GB, free: 4.254 MB / 414.1 MB [Timeout remaining time 660] 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]