Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 207 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2553/0.2553, allocations: 44.94 MB / 358.9 MB, free: 6.02 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 63.91 kB / 0.493 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3139, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003263/0.3172, allocations: 1.83 MB / 0.5588 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3188, allocations: 0.9909 MB / 0.5597 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.3189, allocations: 3.938 kB / 0.5597 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.3191, allocations: 63.72 kB / 0.5598 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.3194, allocations: 127.4 kB / 0.5599 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.3198, allocations: 215.3 kB / 0.5601 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.3201, allocations: 207.4 kB / 0.5603 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.3202, allocations: 11.58 kB / 0.5603 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3203, allocations: 87.67 kB / 0.5604 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.3205, allocations: 95.64 kB / 0.5605 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.3205, allocations: 16 kB / 0.5605 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.3206, allocations: 43.92 kB / 0.5606 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.323e-05/0.3207, allocations: 51.81 kB / 0.5606 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.3208, allocations: 59.66 kB / 0.5607 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.321, allocations: 195.2 kB / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.321, allocations: 0 / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.321, allocations: 0 / 0.5609 GB, free: 3.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.321, allocations: 0 / 0.5609 GB, free: 3.508 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.001048/0.3221, allocations: 0.5199 MB / 0.5614 GB, free: 2.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.3221, allocations: 16.02 kB / 0.5614 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.3222, allocations: 34.75 kB / 0.5614 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.3222, allocations: 24.78 kB / 0.5614 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.3224, allocations: 175.3 kB / 0.5616 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3225, allocations: 8.359 kB / 0.5616 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.3225, allocations: 7.938 kB / 0.5616 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.323, allocations: 145.5 kB / 0.5618 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.323, allocations: 0 / 0.5618 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.323, allocations: 0 / 0.5618 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.323, allocations: 11.92 kB / 0.5618 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.324, allocations: 163.8 kB / 0.5619 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.3251, allocations: 375.7 kB / 0.5623 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.3262, allocations: 190.4 kB / 0.5625 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/0.3267, allocations: 96.69 kB / 0.5626 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.3267, allocations: 8 kB / 0.5626 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007452/0.3275, allocations: 167.1 kB / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.3275, allocations: 0 / 0.5627 GB, free: 1.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.005032/0.3325, allocations: 0.8363 MB / 0.5635 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.3326, allocations: 63.33 kB / 0.5636 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.333, allocations: 264.9 kB / 0.5639 GB, free: 264 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.333, allocations: 25.81 kB / 0.5639 GB, free: 232 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3331, allocations: 128.1 kB / 0.564 GB, free: 100 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.3332, allocations: 39.69 kB / 0.564 GB, free: 60 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.3333, allocations: 33.7 kB / 0.5641 GB, free: 20 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.3336, allocations: 330.8 kB / 0.5644 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.3346, allocations: 235.2 kB / 0.5646 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.3357, allocations: 230.2 kB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.3377, allocations: 375.9 kB / 0.5652 GB, free: 14.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3377, allocations: 0 / 0.5652 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002373/0.34, allocations: 0.5233 MB / 0.5657 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/0.3401, allocations: 63.39 kB / 0.5658 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3401, allocations: 0 / 0.5658 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.3402, allocations: 4 kB / 0.5658 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.3408, allocations: 71.84 kB / 0.5658 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3408, allocations: 0 / 0.5658 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/0.3414, allocations: 63.91 kB / 0.5659 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.3414, allocations: 8 kB / 0.5659 GB, free: 14.05 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.0002567/0.3417, allocations: 141.8 kB / 0.566 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.3418, allocations: 19.91 kB / 0.5661 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.3441, allocations: 426.6 kB / 0.5665 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.3441, allocations: 8.5 kB / 0.5665 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.3441, allocations: 4 kB / 0.5665 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3441, allocations: 0 / 0.5665 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.3467, allocations: 0.6729 MB / 0.5671 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3467, allocations: 0 / 0.5671 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.3473, allocations: 71.84 kB / 0.5672 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3473, allocations: 3.938 kB / 0.5672 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.3474, allocations: 4 kB / 0.5672 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.3474, allocations: 3.984 kB / 0.5672 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3474, allocations: 0 / 0.5672 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.3496, allocations: 495 kB / 0.5677 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.3497, allocations: 23.78 kB / 0.5677 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.3497, allocations: 8 kB / 0.5677 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/0.3503, allocations: 63.91 kB / 0.5678 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.3506, allocations: 51.86 kB / 0.5678 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.3506, allocations: 4 kB / 0.5678 GB, free: 12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002985/0.3509, allocations: 188.5 kB / 0.568 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3509, allocations: 4 kB / 0.568 GB, free: 11.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.3514, allocations: 40 kB / 0.568 GB, free: 11.77 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.004559/0.356, allocations: 1.351 MB / 0.5694 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.3582, allocations: 0.5135 MB / 0.5699 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3582, allocations: 4 kB / 0.5699 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.3593, allocations: 187.6 kB / 0.57 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.3598, allocations: 45.39 kB / 0.5701 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/0.3688, allocations: 3.12 MB / 0.5731 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.369, allocations: 119.2 kB / 0.5733 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.3692, allocations: 37.38 kB / 0.5733 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.3694, allocations: 55.42 kB / 0.5733 GB, free: 6.312 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3694, allocations: 0 / 0.5733 GB, free: 6.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.4097, allocations: 6.747 MB / 0.5799 GB, free: 15.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.38, allocations: 7.938 kB / 0.5799 GB, free: 15.62 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0056 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.510710263159126] Failed to read output from testmodel.py, exit status != 0: 12.547187273390591 12.563083446 12.238768618 Calling exit ...