Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001309/0.001309, allocations: 119.5 kB / 18.5 MB, free: 4.574 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.001326/0.001326, allocations: 201.6 kB / 21.45 MB, free: 1.625 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.434/1.434, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2231/0.2231, allocations: 46.92 MB / 357.7 MB, free: 10.18 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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",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.002234/0.002234, allocations: 79.86 kB / 0.4917 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1344, allocations: 66.04 MB / 0.5562 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003497/0.1379, allocations: 2.04 MB / 0.5582 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1398, allocations: 1.024 MB / 0.5592 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.1399, allocations: 0 / 0.5592 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.1404, allocations: 263.1 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.1409, allocations: 259.1 kB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1419, allocations: 489.3 kB / 0.5601 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000426/0.1423, allocations: 334.8 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1425, allocations: 56.69 kB / 0.5605 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.1426, allocations: 147.4 kB / 0.5606 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.1429, allocations: 227.2 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.143, allocations: 8 kB / 0.5609 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1431, allocations: 75.97 kB / 0.5609 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1432, allocations: 103.5 kB / 0.561 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1434, allocations: 131 kB / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.1438, allocations: 338.2 kB / 0.5615 GB, free: 36 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1438, allocations: 3.984 kB / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1438, allocations: 0 / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1438, allocations: 4 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008883/0.1447, allocations: 0.688 MB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1447, allocations: 8.031 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.1448, allocations: 42.75 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.1449, allocations: 52.61 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.1453, allocations: 338.4 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1453, allocations: 4.375 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1453, allocations: 12.38 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1455, allocations: 114.1 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1455, allocations: 3.938 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1456, allocations: 4 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.1456, allocations: 4 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.1457, allocations: 75.88 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.1464, allocations: 0.5042 MB / 0.5633 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1466, allocations: 86.55 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/0.1467, allocations: 28.84 kB / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.1467, allocations: 7.984 kB / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1468, allocations: 34.56 kB / 0.5634 GB, free: 13.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1468, allocations: 3.938 kB / 0.5634 GB, free: 13.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009414/0.1477, allocations: 396.6 kB / 0.5638 GB, free: 13.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1477, allocations: 59.31 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.1484, allocations: 0.5877 MB / 0.5645 GB, free: 12.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1484, allocations: 29.7 kB / 0.5645 GB, free: 12.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.1486, allocations: 216.4 kB / 0.5647 GB, free: 12.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.1487, allocations: 67.45 kB / 0.5648 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.1487, allocations: 29.72 kB / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1489, allocations: 358.8 kB / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.149, allocations: 47.97 kB / 0.5652 GB, free: 12.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.1491, allocations: 50 kB / 0.5652 GB, free: 11.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.1494, allocations: 126.9 kB / 0.5653 GB, free: 11.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1494, allocations: 0 / 0.5653 GB, free: 11.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003653/0.1498, allocations: 205.1 kB / 0.5655 GB, free: 11.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1498, allocations: 4 kB / 0.5655 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1498, allocations: 3.938 kB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1498, allocations: 0 / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1499, allocations: 35.98 kB / 0.5656 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1499, allocations: 0 / 0.5656 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.15, allocations: 19.98 kB / 0.5656 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.15, allocations: 4 kB / 0.5656 GB, free: 11.59 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 (17): * Single equations (assignments): 17 * 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.0001729/0.1502, allocations: 173.8 kB / 0.5658 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.8e-05/0.1503, allocations: 47.66 kB / 0.5658 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/0.1508, allocations: 243.5 kB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1508, allocations: 4 kB / 0.566 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1508, allocations: 0 / 0.566 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1508, allocations: 4 kB / 0.566 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/0.1517, allocations: 0.6387 MB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1517, allocations: 0 / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1518, allocations: 31.92 kB / 0.5667 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1518, allocations: 4 kB / 0.5667 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1518, allocations: 7.984 kB / 0.5667 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1518, allocations: 4 kB / 0.5667 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1518, allocations: 4 kB / 0.5667 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.1522, allocations: 301.1 kB / 0.567 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.1523, allocations: 124.8 kB / 0.5671 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.1524, allocations: 7.922 kB / 0.5671 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1525, allocations: 12 kB / 0.5671 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.1525, allocations: 11.92 kB / 0.5672 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1525, allocations: 8 kB / 0.5672 GB, free: 9.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004908/0.153, allocations: 447.1 kB / 0.5676 GB, free: 9.434 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.153, allocations: 0 / 0.5676 GB, free: 9.434 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003045/0.1533, allocations: 47.94 kB / 0.5676 GB, free: 9.387 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 (17): * Single equations (assignments): 17 * 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.00329/0.1566, allocations: 1.438 MB / 0.569 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.1569, allocations: 126.3 kB / 0.5692 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1569, allocations: 0 / 0.5692 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.1571, allocations: 71.89 kB / 0.5692 GB, free: 8.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.1576, allocations: 76.95 kB / 0.5693 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.1618, allocations: 3.166 MB / 0.5724 GB, free: 4.695 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.1623, allocations: 0.822 MB / 0.5732 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.1624, allocations: 46.23 kB / 0.5732 GB, free: 3.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.1626, allocations: 135.4 kB / 0.5734 GB, free: 3.672 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1626, allocations: 0 / 0.5734 GB, free: 3.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.1928, allocations: 7.693 MB / 0.5809 GB, free: 12.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.671, allocations: 10.17 kB / 0.5809 GB, free: 12.03 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.896991037763655] Failed to read output from testmodel.py, exit status != 0: ['time', 'clock1.y', 'combiTable2D1D.y', 'combiTable2D1DT.y', 'combiTable1D.y[1]', 'combiTable2D.y', 'combiTable2DT.y', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 8.795260255225003 9.027969672 8.671721963 Calling exit ...