Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001412/0.001412, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001431/0.001431, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2196/0.2196, allocations: 44.91 MB / 358.8 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.002018/0.002018, allocations: 63.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3127, allocations: 65.47 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003458/0.3162, allocations: 1.879 MB / 0.5589 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3179, allocations: 1.03 MB / 0.5599 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.318, allocations: 0 / 0.5599 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.3182, allocations: 75.59 kB / 0.56 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.3185, allocations: 123.4 kB / 0.5601 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.319, allocations: 155.4 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.3193, allocations: 203.3 kB / 0.5604 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3194, allocations: 21.53 kB / 0.5604 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3195, allocations: 83.73 kB / 0.5605 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.3197, allocations: 115.6 kB / 0.5606 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.3197, allocations: 16 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.3198, allocations: 39.98 kB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.3199, allocations: 39.91 kB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.32, allocations: 79.52 kB / 0.5608 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.3203, allocations: 185.2 kB / 0.561 GB, free: 3.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3203, allocations: 0 / 0.561 GB, free: 3.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3203, allocations: 4 kB / 0.561 GB, free: 3.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3203, allocations: 0 / 0.561 GB, free: 3.758 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.001108/0.3214, allocations: 0.5182 MB / 0.5615 GB, free: 3.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3215, allocations: 8.031 kB / 0.5615 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.3215, allocations: 34.75 kB / 0.5615 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.3215, allocations: 16.84 kB / 0.5615 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.3218, allocations: 175.3 kB / 0.5617 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.3218, allocations: 16.36 kB / 0.5617 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.3219, allocations: 7.938 kB / 0.5617 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.3224, allocations: 149.4 kB / 0.5619 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3224, allocations: 0 / 0.5619 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3224, allocations: 0 / 0.5619 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3224, allocations: 0 / 0.5619 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.3231, allocations: 163.8 kB / 0.562 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.3236, allocations: 351.6 kB / 0.5624 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.3245, allocations: 182.4 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.3248, allocations: 96.75 kB / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.3248, allocations: 0 / 0.5626 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006266/0.3255, allocations: 175.2 kB / 0.5628 GB, free: 1.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.3255, allocations: 0 / 0.5628 GB, free: 1.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003598/0.3291, allocations: 0.8166 MB / 0.5636 GB, free: 0.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.3291, allocations: 63.34 kB / 0.5637 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.3294, allocations: 252.1 kB / 0.5639 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3294, allocations: 33.69 kB / 0.5639 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.3295, allocations: 124.1 kB / 0.564 GB, free: 436 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.3296, allocations: 39.69 kB / 0.5641 GB, free: 396 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.3297, allocations: 33.7 kB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3298, allocations: 326.8 kB / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/0.3305, allocations: 175.8 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/0.3312, allocations: 167.8 kB / 0.5648 GB, free: 15.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.3325, allocations: 363.9 kB / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3325, allocations: 0 / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001457/0.3339, allocations: 467 kB / 0.5655 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.334, allocations: 59.41 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.334, allocations: 0 / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.334, allocations: 4 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.3345, allocations: 79.77 kB / 0.5657 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3345, allocations: 0 / 0.5657 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.3348, allocations: 63.91 kB / 0.5657 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.3349, allocations: 8 kB / 0.5657 GB, free: 14.62 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.0001439/0.335, allocations: 137.8 kB / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.3351, allocations: 23.86 kB / 0.5659 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.3365, allocations: 402.7 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3365, allocations: 3.938 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3365, allocations: 4 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3365, allocations: 0 / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.3382, allocations: 0.677 MB / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3382, allocations: 0 / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.3386, allocations: 71.84 kB / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3386, allocations: 4 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.3386, allocations: 4 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3386, allocations: 3.938 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3386, allocations: 0 / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.34, allocations: 483 kB / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.34, allocations: 24.39 kB / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.3401, allocations: 4 kB / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.3404, allocations: 63.91 kB / 0.5676 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.3406, allocations: 43.92 kB / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3406, allocations: 4 kB / 0.5676 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.3408, allocations: 197.6 kB / 0.5678 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3408, allocations: 3.938 kB / 0.5678 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.3412, allocations: 43.94 kB / 0.5679 GB, free: 12.36 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.003287/0.3444, allocations: 1.316 MB / 0.5691 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.346, allocations: 466.3 kB / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.346, allocations: 0 / 0.5696 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007108/0.3467, allocations: 171.8 kB / 0.5698 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3471, allocations: 38.45 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.353, allocations: 2.826 MB / 0.5726 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3534, allocations: 0.7319 MB / 0.5733 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.3535, allocations: 25.41 kB / 0.5733 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.3536, allocations: 59.41 kB / 0.5734 GB, free: 6.734 MB / 414.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3536, allocations: 0 / 0.5734 GB, free: 6.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.3868, allocations: 5.972 MB / 0.5792 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.7, allocations: 13.72 kB / 0.5792 GB, free: 0.8242 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.568407914994168] Failed to read output from testmodel.py, exit status != 0: 11.868487719002587 11.898321898 11.572595724 Calling exit ...