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.001383/0.001383, 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.001553/0.001553, allocations: 212.4 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2222/0.2222, allocations: 44.94 MB / 358.8 MB, free: 6.074 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.002103/0.002103, allocations: 65.62 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3319, allocations: 65.48 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003487/0.3354, allocations: 1.821 MB / 0.5588 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.3371, allocations: 0.9596 MB / 0.5597 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.2e-05/0.3372, allocations: 3.938 kB / 0.5597 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.3374, allocations: 71.66 kB / 0.5598 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.3378, allocations: 119.4 kB / 0.5599 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.3382, allocations: 158.8 kB / 0.56 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.3384, allocations: 199.4 kB / 0.5602 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3385, allocations: 23.56 kB / 0.5603 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3387, allocations: 87.67 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3388, allocations: 95.62 kB / 0.5604 GB, free: 4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.3389, allocations: 12 kB / 0.5604 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.339, allocations: 44 kB / 0.5605 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.3391, allocations: 47.83 kB / 0.5605 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.3392, allocations: 59.7 kB / 0.5606 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.3395, allocations: 195.1 kB / 0.5608 GB, free: 3.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3395, allocations: 0 / 0.5608 GB, free: 3.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3395, allocations: 0 / 0.5608 GB, free: 3.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.3395, allocations: 4 kB / 0.5608 GB, free: 3.645 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.001156/0.3406, allocations: 0.5005 MB / 0.5613 GB, free: 3.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.3407, allocations: 16.02 kB / 0.5613 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.3407, allocations: 34.75 kB / 0.5613 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.3408, allocations: 16.84 kB / 0.5613 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.3411, allocations: 183.2 kB / 0.5615 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3411, allocations: 12.36 kB / 0.5615 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.3412, allocations: 15.94 kB / 0.5615 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.3417, allocations: 133.5 kB / 0.5617 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3417, allocations: 0 / 0.5617 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.3418, allocations: 4 kB / 0.5617 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3418, allocations: 4 kB / 0.5617 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007324/0.3425, allocations: 163.7 kB / 0.5618 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.343, allocations: 319.7 kB / 0.5621 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008029/0.3438, allocations: 194.4 kB / 0.5623 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003694/0.3442, allocations: 96.69 kB / 0.5624 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.3442, allocations: 4 kB / 0.5624 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005736/0.3448, allocations: 159.2 kB / 0.5626 GB, free: 1.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.3448, allocations: 0 / 0.5626 GB, free: 1.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003791/0.3486, allocations: 0.8206 MB / 0.5634 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.3486, allocations: 59.34 kB / 0.5634 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.349, allocations: 252.1 kB / 0.5637 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.349, allocations: 33.7 kB / 0.5637 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.3492, allocations: 128.1 kB / 0.5638 GB, free: 352 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.3492, allocations: 31.7 kB / 0.5638 GB, free: 320 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.3493, allocations: 37.7 kB / 0.5639 GB, free: 276 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3495, allocations: 334.8 kB / 0.5642 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007499/0.3502, allocations: 219.2 kB / 0.5644 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.351, allocations: 231.1 kB / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.3524, allocations: 359.9 kB / 0.565 GB, free: 15.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3524, allocations: 4 kB / 0.565 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001709/0.3541, allocations: 0.5062 MB / 0.5655 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.3541, allocations: 63.39 kB / 0.5655 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3541, allocations: 0 / 0.5655 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3541, allocations: 0 / 0.5655 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.3546, allocations: 83.78 kB / 0.5656 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3546, allocations: 0 / 0.5656 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.355, allocations: 63.91 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.355, allocations: 7.984 kB / 0.5657 GB, free: 14.34 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.0001635/0.3552, allocations: 137.9 kB / 0.5658 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.3552, allocations: 24.36 kB / 0.5658 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.3568, allocations: 406.6 kB / 0.5662 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.3568, allocations: 7.938 kB / 0.5662 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3568, allocations: 0 / 0.5662 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3568, allocations: 0 / 0.5662 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.3586, allocations: 0.6459 MB / 0.5669 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3586, allocations: 3.938 kB / 0.5669 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.359, allocations: 71.84 kB / 0.5669 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.359, allocations: 7.938 kB / 0.5669 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.359, allocations: 0 / 0.5669 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.359, allocations: 0 / 0.5669 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.359, allocations: 3.984 kB / 0.5669 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.3605, allocations: 482.9 kB / 0.5674 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.3606, allocations: 27.83 kB / 0.5674 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.3606, allocations: 4 kB / 0.5674 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004127/0.361, allocations: 67.91 kB / 0.5675 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.3612, allocations: 47.92 kB / 0.5675 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3612, allocations: 0 / 0.5675 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.3614, allocations: 197.6 kB / 0.5677 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3614, allocations: 0 / 0.5677 GB, free: 12.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.3617, allocations: 43.94 kB / 0.5678 GB, free: 12.11 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.003425/0.3651, allocations: 1.343 MB / 0.5691 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.3668, allocations: 0.5205 MB / 0.5696 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3668, allocations: 0 / 0.5696 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.3675, allocations: 171.8 kB / 0.5698 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.3679, allocations: 34.28 kB / 0.5698 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/0.3743, allocations: 3.059 MB / 0.5728 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3744, allocations: 111.3 kB / 0.5729 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.3745, allocations: 29.39 kB / 0.5729 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.3747, allocations: 55.41 kB / 0.573 GB, free: 6.758 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3747, allocations: 0 / 0.573 GB, free: 6.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.4085, allocations: 6.669 MB / 0.5795 GB, free: 164 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.94, allocations: 0 / 0.5795 GB, free: 164 kB / 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.899072175845504] Failed to read output from testmodel.py, exit status != 0: 12.105534297879785 12.12774954 11.785017986 Calling exit ...