Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001335/0.001335, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.001438/0.001438, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.497/1.497, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2436/0.2436, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6",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.002304/0.002304, allocations: 83.86 kB / 0.4917 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1396, allocations: 66.04 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003096/0.1427, allocations: 1.658 MB / 0.5578 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1439, allocations: 0.5917 MB / 0.5584 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.1439, allocations: 0 / 0.5584 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005913/0.1445, allocations: 455.1 kB / 0.5588 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.145, allocations: 295.3 kB / 0.5591 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.1454, allocations: 183.3 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.1456, allocations: 175.6 kB / 0.5594 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1457, allocations: 15.97 kB / 0.5595 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1459, allocations: 115.7 kB / 0.5596 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.1461, allocations: 255.5 kB / 0.5598 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1462, allocations: 8 kB / 0.5598 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.749e-05/0.1462, allocations: 27.98 kB / 0.5598 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1463, allocations: 87.62 kB / 0.5599 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.699e-05/0.1464, allocations: 107 kB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.1468, allocations: 278.5 kB / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1468, allocations: 0 / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1468, allocations: 0 / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1468, allocations: 0 / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007944/0.1476, allocations: 0.6801 MB / 0.561 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1477, allocations: 12.03 kB / 0.561 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.1477, allocations: 34.75 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.1478, allocations: 40.66 kB / 0.561 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.1481, allocations: 312.6 kB / 0.5613 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1481, allocations: 4.312 kB / 0.5613 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1481, allocations: 4.375 kB / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1483, allocations: 66.22 kB / 0.5614 GB, free: 40 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1483, allocations: 7.875 kB / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1483, allocations: 0 / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1483, allocations: 0 / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.1484, allocations: 43.95 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.149, allocations: 404.7 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1491, allocations: 50.55 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.061e-05/0.1492, allocations: 36.86 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1492, allocations: 0 / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.1493, allocations: 30.56 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1493, allocations: 3.938 kB / 0.562 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008948/0.1501, allocations: 320.7 kB / 0.5623 GB, free: 15.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.887e-05/0.1502, allocations: 51.41 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009249/0.1512, allocations: 0.8776 MB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1512, allocations: 29.7 kB / 0.5632 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1514, allocations: 216 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1514, allocations: 27.78 kB / 0.5634 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.1515, allocations: 17.72 kB / 0.5635 GB, free: 13.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1516, allocations: 374.7 kB / 0.5638 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1518, allocations: 31.97 kB / 0.5638 GB, free: 13.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1519, allocations: 35.97 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.1521, allocations: 88.8 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1521, allocations: 4 kB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003412/0.1525, allocations: 169.2 kB / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1525, allocations: 4 kB / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1525, allocations: 0 / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1525, allocations: 0 / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1526, allocations: 23.97 kB / 0.5641 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1526, allocations: 0 / 0.5641 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.1527, allocations: 12 kB / 0.5642 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1527, allocations: 7.984 kB / 0.5642 GB, free: 13.07 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001956/0.1529, allocations: 213.7 kB / 0.5644 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.153, allocations: 43.72 kB / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.1534, allocations: 181.5 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1534, allocations: 0 / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1534, allocations: 4 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1534, allocations: 0 / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/0.1541, allocations: 0.5143 MB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1541, allocations: 0 / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.1542, allocations: 27.97 kB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1542, allocations: 3.938 kB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1542, allocations: 8 kB / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1542, allocations: 3.938 kB / 0.5651 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1542, allocations: 0 / 0.5651 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.1546, allocations: 263.2 kB / 0.5654 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.1547, allocations: 112.8 kB / 0.5655 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1548, allocations: 0 / 0.5655 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1549, allocations: 19.92 kB / 0.5655 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1549, allocations: 11.98 kB / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1549, allocations: 3.938 kB / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006836/0.1556, allocations: 0.6589 MB / 0.5662 GB, free: 10.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1556, allocations: 0 / 0.5662 GB, free: 10.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1558, allocations: 20 kB / 0.5662 GB, free: 10.89 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002009/0.1579, allocations: 1.095 MB / 0.5673 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.1582, allocations: 83.86 kB / 0.5673 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1582, allocations: 8 kB / 0.5673 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1583, allocations: 39.97 kB / 0.5674 GB, free: 9.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1587, allocations: 30.23 kB / 0.5674 GB, free: 9.758 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.1628, allocations: 3.382 MB / 0.5707 GB, free: 6.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.1633, allocations: 0.8377 MB / 0.5715 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.1634, allocations: 20.95 kB / 0.5716 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.1635, allocations: 119.4 kB / 0.5717 GB, free: 5.281 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1635, allocations: 4 kB / 0.5717 GB, free: 5.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.1918, allocations: 6.302 MB / 0.5778 GB, free: 15.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.499/8.691, allocations: 6.797 kB / 0.5778 GB, free: 15.03 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.818007827736437] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.813705699983984 8.828911531 8.67922362 Calling exit ...