Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001809/0.001809, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001483/0.001483, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.519/1.519, allocations: 230.4 MB / 254.7 MB, free: 14.81 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.2361/0.2361, allocations: 46.92 MB / 357.7 MB, free: 10.16 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.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11",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.002585/0.002585, allocations: 83.86 kB / 0.4917 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1355, allocations: 66.05 MB / 0.5562 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003492/0.139, allocations: 1.599 MB / 0.5577 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.14, allocations: 0.5489 MB / 0.5583 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.1401, allocations: 0 / 0.5583 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1403, allocations: 27.86 kB / 0.5583 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.1407, allocations: 83.61 kB / 0.5584 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.141, allocations: 111.2 kB / 0.5585 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.1412, allocations: 63.78 kB / 0.5586 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.1413, allocations: 15.92 kB / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.557e-05/0.1413, allocations: 19.92 kB / 0.5586 GB, free: 3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.1414, allocations: 31.8 kB / 0.5586 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1414, allocations: 0 / 0.5586 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.193e-05/0.1415, allocations: 39.98 kB / 0.5587 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.1416, allocations: 19.91 kB / 0.5587 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.1416, allocations: 19.81 kB / 0.5587 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.1418, allocations: 91.59 kB / 0.5588 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1418, allocations: 0 / 0.5588 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1418, allocations: 0 / 0.5588 GB, free: 2.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1418, allocations: 0 / 0.5588 GB, free: 2.801 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005256/0.1423, allocations: 398.9 kB / 0.5592 GB, free: 2.359 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1424, allocations: 8.031 kB / 0.5592 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.1424, allocations: 34.75 kB / 0.5592 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.1424, allocations: 12.84 kB / 0.5592 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.1427, allocations: 200.7 kB / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.1427, allocations: 384 / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.1427, allocations: 8.375 kB / 0.5594 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1428, allocations: 49.62 kB / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1428, allocations: 0 / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1428, allocations: 0 / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1428, allocations: 4 kB / 0.5595 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1429, allocations: 27.91 kB / 0.5595 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.1434, allocations: 288.9 kB / 0.5598 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.1436, allocations: 38.56 kB / 0.5598 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.1436, allocations: 16.94 kB / 0.5598 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1436, allocations: 8 kB / 0.5598 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1437, allocations: 34.5 kB / 0.5599 GB, free: 1.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1437, allocations: 0 / 0.5599 GB, free: 1.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005691/0.1442, allocations: 149.4 kB / 0.56 GB, free: 1.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1443, allocations: 59.34 kB / 0.5601 GB, free: 1.297 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1445, allocations: 174.5 kB / 0.5602 GB, free: 1.109 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.1445, allocations: 25.7 kB / 0.5603 GB, free: 1.078 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.1446, allocations: 104.1 kB / 0.5604 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.1446, allocations: 11.91 kB / 0.5604 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.1447, allocations: 17.72 kB / 0.5604 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1448, allocations: 326.8 kB / 0.5607 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.145, allocations: 19.98 kB / 0.5607 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.771e-05/0.145, allocations: 27.97 kB / 0.5607 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.1452, allocations: 48.83 kB / 0.5608 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1452, allocations: 0 / 0.5608 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002679/0.1455, allocations: 89.83 kB / 0.5609 GB, free: 428 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1455, allocations: 15.86 kB / 0.5609 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1455, allocations: 0 / 0.5609 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1456, allocations: 8.281 kB / 0.5609 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.1456, allocations: 12 kB / 0.5609 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1457, allocations: 0 / 0.5609 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.1457, allocations: 7.984 kB / 0.5609 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1457, allocations: 3.938 kB / 0.5609 GB, free: 380 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001165/0.1458, allocations: 117.8 kB / 0.561 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.1459, allocations: 19.86 kB / 0.561 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.1462, allocations: 93.97 kB / 0.5611 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1462, allocations: 7.938 kB / 0.5611 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1462, allocations: 0 / 0.5611 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1462, allocations: 4 kB / 0.5611 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.1467, allocations: 362.5 kB / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1467, allocations: 0 / 0.5615 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.1468, allocations: 12 kB / 0.5615 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1468, allocations: 0 / 0.5615 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1468, allocations: 3.984 kB / 0.5615 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1468, allocations: 11.92 kB / 0.5615 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1468, allocations: 0 / 0.5615 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.1471, allocations: 183.4 kB / 0.5617 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.1471, allocations: 89.02 kB / 0.5618 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.1472, allocations: 0 / 0.5618 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.1472, allocations: 11.94 kB / 0.5618 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.1473, allocations: 3.984 kB / 0.5618 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1473, allocations: 8.188 kB / 0.5618 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1474, allocations: 135.9 kB / 0.5619 GB, free: 15.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1474, allocations: 0 / 0.5619 GB, free: 15.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1476, allocations: 15.94 kB / 0.5619 GB, free: 15.21 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 (5): * Single equations (assignments): 5 * 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.001952/0.1496, allocations: 1.013 MB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1498, allocations: 51.95 kB / 0.563 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1498, allocations: 0 / 0.563 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.1499, allocations: 31.92 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.1503, allocations: 28.44 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.1522, allocations: 1.52 MB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1526, allocations: 0.7002 MB / 0.5652 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.696e-05/0.1526, allocations: 11.98 kB / 0.5652 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.1527, allocations: 27.42 kB / 0.5652 GB, free: 11.84 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1527, allocations: 0 / 0.5652 GB, free: 11.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.1782, allocations: 2.709 MB / 0.5679 GB, free: 9.191 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.287, allocations: 11.92 kB / 0.5679 GB, free: 9.18 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.405614351388067] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.408137357328087 8.423903824 8.278789801 Calling exit ...