Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001595/0.001595, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.5 MB / 258.2 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2167/0.2167, allocations: 46.92 MB / 361.6 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [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.002345/0.002345, allocations: 83.86 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3117, allocations: 66.07 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003426/0.3151, allocations: 1.875 MB / 0.5634 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3168, allocations: 1.072 MB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.3169, allocations: 4 kB / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.3172, allocations: 59.72 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.3175, allocations: 119.4 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.318, allocations: 218.5 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.3182, allocations: 203.3 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3184, allocations: 19.69 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3185, allocations: 83.75 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.3187, allocations: 115.6 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.3187, allocations: 12 kB / 0.5652 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.944e-05/0.3188, allocations: 39.98 kB / 0.5652 GB, free: 468 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.3e-05/0.3189, allocations: 47.83 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.834e-05/0.3189, allocations: 71.59 kB / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.3192, allocations: 203.1 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3192, allocations: 0 / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3192, allocations: 3.938 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3192, allocations: 0 / 0.5655 GB, free: 140 kB / 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.0011/0.3203, allocations: 0.5135 MB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3204, allocations: 8.031 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.3204, allocations: 38.75 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.3205, allocations: 16.84 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.3207, allocations: 179.3 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3207, allocations: 384 / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.3208, allocations: 20.31 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.3212, allocations: 140.3 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3213, allocations: 0 / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3213, allocations: 8 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3213, allocations: 0 / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.322, allocations: 171.7 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.3228, allocations: 411.5 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.3235, allocations: 198.3 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.3239, allocations: 88.77 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3239, allocations: 0 / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005553/0.3245, allocations: 171.2 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.3245, allocations: 0 / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003502/0.328, allocations: 0.8438 MB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.328, allocations: 59.41 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.3283, allocations: 249 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3283, allocations: 33.7 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.3284, allocations: 132 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.3285, allocations: 43.83 kB / 0.5687 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.3286, allocations: 33.7 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3287, allocations: 330.8 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006738/0.3294, allocations: 175.8 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/0.3301, allocations: 177.4 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.3314, allocations: 387.8 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3314, allocations: 0 / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001466/0.3328, allocations: 466.5 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.3329, allocations: 59.34 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3329, allocations: 3.984 kB / 0.5703 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3329, allocations: 7.984 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.3333, allocations: 71.91 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3333, allocations: 0 / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.3337, allocations: 63.91 kB / 0.5704 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3337, allocations: 4 kB / 0.5705 GB, free: 10.87 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.000152/0.3339, allocations: 146.6 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.3339, allocations: 27.8 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.3354, allocations: 419.1 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3354, allocations: 7.938 kB / 0.571 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3354, allocations: 4 kB / 0.571 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3354, allocations: 3.984 kB / 0.571 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.3372, allocations: 0.6929 MB / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3372, allocations: 0 / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.3375, allocations: 71.91 kB / 0.5718 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3375, allocations: 0 / 0.5718 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.3376, allocations: 3.984 kB / 0.5718 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3376, allocations: 0 / 0.5718 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3376, allocations: 7.938 kB / 0.5718 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.3392, allocations: 498.9 kB / 0.5723 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.3393, allocations: 19.89 kB / 0.5723 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.3393, allocations: 4 kB / 0.5723 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.3397, allocations: 59.91 kB / 0.5723 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.3399, allocations: 55.92 kB / 0.5724 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3399, allocations: 4 kB / 0.5724 GB, free: 8.785 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.3401, allocations: 192.5 kB / 0.5726 GB, free: 8.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3401, allocations: 0 / 0.5726 GB, free: 8.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.3404, allocations: 47.95 kB / 0.5726 GB, free: 8.555 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.003128/0.3435, allocations: 1.317 MB / 0.5739 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.345, allocations: 469.3 kB / 0.5744 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3451, allocations: 4 kB / 0.5744 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007108/0.3458, allocations: 179.8 kB / 0.5745 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3461, allocations: 43.77 kB / 0.5746 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/0.3522, allocations: 2.892 MB / 0.5774 GB, free: 3.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.3525, allocations: 0.7318 MB / 0.5781 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.3527, allocations: 37.38 kB / 0.5782 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3528, allocations: 55.41 kB / 0.5782 GB, free: 2.809 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3528, allocations: 0 / 0.5782 GB, free: 2.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2979/0.6507, allocations: 5.97 MB / 0.584 GB, free: 12.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.902/9.553, allocations: 14.58 kB / 0.5841 GB, free: 12.82 MB / 430.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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.00279441 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.794836041983217] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 9.694720046129078 9.721963837 9.397289074 Calling exit ...