Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001682/0.001682, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001791/0.001791, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.459/1.459, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.3164/0.3164, allocations: 46.93 MB / 357.7 MB, free: 10.23 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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002225/0.002225, allocations: 83.86 kB / 0.4917 GB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1298, allocations: 66.04 MB / 0.5562 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003656/0.1334, allocations: 2.054 MB / 0.5582 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1355, allocations: 1.126 MB / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.1356, allocations: 3.938 kB / 0.5593 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.1362, allocations: 267.1 kB / 0.5595 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005706/0.1367, allocations: 263.1 kB / 0.5598 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.1383, allocations: 0.6529 MB / 0.5604 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.1388, allocations: 358.8 kB / 0.5608 GB, free: 0.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.139, allocations: 68.69 kB / 0.5608 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.1392, allocations: 155.4 kB / 0.561 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.1395, allocations: 223.2 kB / 0.5612 GB, free: 448 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.1395, allocations: 12 kB / 0.5612 GB, free: 436 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.1397, allocations: 83.91 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.1398, allocations: 103.6 kB / 0.5614 GB, free: 248 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.14, allocations: 138.8 kB / 0.5615 GB, free: 108 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.1404, allocations: 350.2 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1404, allocations: 11.86 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1404, allocations: 0 / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1405, allocations: 0 / 0.5619 GB, free: 15.75 MB / 430.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.0008977/0.1413, allocations: 0.6996 MB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1414, allocations: 12.03 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.1414, allocations: 46.73 kB / 0.5626 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.1415, allocations: 48.66 kB / 0.5626 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.142, allocations: 346.4 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.142, allocations: 12.38 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.142, allocations: 8.375 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.1423, allocations: 134 kB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1423, allocations: 7.891 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1423, allocations: 4 kB / 0.5631 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1423, allocations: 4 kB / 0.5631 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.1425, allocations: 87.94 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.1433, allocations: 0.5199 MB / 0.5637 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.1435, allocations: 102.5 kB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.1436, allocations: 40.83 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.1436, allocations: 7.984 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1436, allocations: 34.56 kB / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1436, allocations: 224 / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001065/0.1447, allocations: 452.4 kB / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1448, allocations: 55.31 kB / 0.5644 GB, free: 12.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.1454, allocations: 0.6034 MB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1455, allocations: 25.7 kB / 0.565 GB, free: 12.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1456, allocations: 220.4 kB / 0.5652 GB, free: 12.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.1457, allocations: 67.42 kB / 0.5653 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.1458, allocations: 33.7 kB / 0.5653 GB, free: 11.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1459, allocations: 354.8 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1461, allocations: 67.89 kB / 0.5657 GB, free: 11.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.1462, allocations: 70.14 kB / 0.5658 GB, free: 11.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.1465, allocations: 152.8 kB / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.1465, allocations: 3.984 kB / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004146/0.1469, allocations: 243 kB / 0.5662 GB, free: 11.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1469, allocations: 4 kB / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1469, allocations: 0 / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1469, allocations: 0 / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.1471, allocations: 39.91 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1471, allocations: 3.938 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/0.1472, allocations: 12 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1472, allocations: 11.98 kB / 0.5662 GB, free: 11.03 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.0001786/0.1474, allocations: 177.8 kB / 0.5664 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.1475, allocations: 51.61 kB / 0.5665 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/0.148, allocations: 279.9 kB / 0.5667 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.148, allocations: 7.984 kB / 0.5667 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.148, allocations: 0 / 0.5667 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.148, allocations: 0 / 0.5667 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00099/0.149, allocations: 0.6934 MB / 0.5674 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.149, allocations: 0 / 0.5674 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.1492, allocations: 35.98 kB / 0.5674 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1492, allocations: 4 kB / 0.5674 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1492, allocations: 3.984 kB / 0.5674 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1492, allocations: 3.938 kB / 0.5674 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1492, allocations: 0 / 0.5674 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.1497, allocations: 341.2 kB / 0.5678 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1498, allocations: 120.8 kB / 0.5679 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.1498, allocations: 11.97 kB / 0.5679 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1499, allocations: 8 kB / 0.5679 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.15, allocations: 15.92 kB / 0.5679 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.15, allocations: 4 kB / 0.5679 GB, free: 9.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005098/0.1505, allocations: 458.8 kB / 0.5684 GB, free: 8.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1505, allocations: 0 / 0.5684 GB, free: 8.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.1508, allocations: 47.92 kB / 0.5684 GB, free: 8.684 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.003545/0.1544, allocations: 1.455 MB / 0.5698 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.1547, allocations: 168.3 kB / 0.57 GB, free: 7.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1547, allocations: 0 / 0.57 GB, free: 7.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1549, allocations: 87.83 kB / 0.5701 GB, free: 7.234 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.1555, allocations: 91.03 kB / 0.5702 GB, free: 7.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004872/0.1604, allocations: 3.345 MB / 0.5734 GB, free: 3.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.161, allocations: 0.8299 MB / 0.5742 GB, free: 2.875 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.1612, allocations: 62.23 kB / 0.5743 GB, free: 2.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.1614, allocations: 135.4 kB / 0.5744 GB, free: 2.68 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1614, allocations: 4 kB / 0.5744 GB, free: 2.676 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.1932, allocations: 7.923 MB / 0.5822 GB, free: 10.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/8.667, allocations: 8.797 kB / 0.5822 GB, free: 10.8 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.097942990250885] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D1D.y[1]', 'combiTable2D1DT.y[1]', 'clock1.y', 'combiTable1D.y[1]', 'combiTable2D.y[1]', 'combiTable2DT.y[1]', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 8.791561305057257 9.046484542 8.902610173 Calling exit ...