Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001283/0.001283, allocations: 120 kB / 18.5 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.001384/0.001384, allocations: 209.7 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.452/1.452, allocations: 230.4 MB / 254.7 MB, free: 15 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.2371/0.2371, 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",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.002294/0.002294, allocations: 88.19 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1518, allocations: 66.03 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003673/0.1555, allocations: 1.629 MB / 0.5578 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1566, allocations: 0.5605 MB / 0.5583 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.1567, allocations: 0 / 0.5583 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1571, allocations: 119.7 kB / 0.5584 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.1574, allocations: 127.5 kB / 0.5586 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.1577, allocations: 107.7 kB / 0.5587 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.1579, allocations: 103.7 kB / 0.5588 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1581, allocations: 19.97 kB / 0.5588 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.647e-05/0.1581, allocations: 47.83 kB / 0.5588 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.1583, allocations: 91.77 kB / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1583, allocations: 4 kB / 0.5589 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1584, allocations: 47.97 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.1585, allocations: 23.92 kB / 0.559 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.1586, allocations: 43.62 kB / 0.559 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.1588, allocations: 127.4 kB / 0.5591 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.1588, allocations: 3.984 kB / 0.5592 GB, free: 2.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1588, allocations: 4 kB / 0.5592 GB, free: 2.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1588, allocations: 0 / 0.5592 GB, free: 2.457 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.0007355/0.1596, allocations: 442.5 kB / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/0.1596, allocations: 8.031 kB / 0.5596 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.1597, allocations: 38.69 kB / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.1597, allocations: 16.84 kB / 0.5596 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.16, allocations: 211.8 kB / 0.5598 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.16, allocations: 4.375 kB / 0.5598 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1601, allocations: 384 / 0.5598 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1602, allocations: 66.22 kB / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1602, allocations: 3.938 kB / 0.5599 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1603, allocations: 0 / 0.5599 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1603, allocations: 0 / 0.5599 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1604, allocations: 27.97 kB / 0.5599 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.1609, allocations: 308.8 kB / 0.5602 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.161, allocations: 50.5 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.1611, allocations: 20.94 kB / 0.5603 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1611, allocations: 0 / 0.5603 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1611, allocations: 34.56 kB / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1611, allocations: 0 / 0.5603 GB, free: 1.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001021/0.1622, allocations: 253.5 kB / 0.5606 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.1622, allocations: 59.34 kB / 0.5606 GB, free: 0.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.1625, allocations: 271.8 kB / 0.5609 GB, free: 480 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1626, allocations: 29.7 kB / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.1627, allocations: 108.2 kB / 0.561 GB, free: 332 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.1627, allocations: 39.72 kB / 0.5611 GB, free: 292 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.1627, allocations: 21.72 kB / 0.5611 GB, free: 264 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.163, allocations: 334.8 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1631, allocations: 27.98 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.066e-05/0.1631, allocations: 27.97 kB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1633, allocations: 72.83 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1633, allocations: 4 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002503/0.1636, allocations: 117.5 kB / 0.5616 GB, free: 15.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1636, allocations: 4 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1636, allocations: 3.938 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1636, allocations: 4 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1637, allocations: 15.98 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1638, allocations: 320 / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.1638, allocations: 4 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1638, allocations: 7.938 kB / 0.5617 GB, free: 15.63 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 (8): * Single equations (assignments): 8 * 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.0001292/0.1639, allocations: 137.8 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.164, allocations: 11.91 kB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.1644, allocations: 150.9 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1644, allocations: 0 / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1644, allocations: 0 / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1644, allocations: 0 / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.165, allocations: 447 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.165, allocations: 4 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.1651, allocations: 15.98 kB / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1651, allocations: 0 / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1651, allocations: 7.938 kB / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1651, allocations: 0 / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1651, allocations: 0 / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.1654, allocations: 220.2 kB / 0.5626 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.1655, allocations: 93 kB / 0.5627 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1656, allocations: 7.938 kB / 0.5627 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.1656, allocations: 4 kB / 0.5627 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.1657, allocations: 7.984 kB / 0.5627 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1657, allocations: 0 / 0.5627 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.1659, allocations: 213.5 kB / 0.5629 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1659, allocations: 0 / 0.5629 GB, free: 14.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1662, allocations: 23.92 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002363/0.1685, allocations: 1.098 MB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.1688, allocations: 79.92 kB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1688, allocations: 4 kB / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.1689, allocations: 39.91 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.1693, allocations: 23.77 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.1716, allocations: 1.848 MB / 0.566 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.172, allocations: 0.7197 MB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.014e-05/0.1721, allocations: 16.66 kB / 0.5667 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.1722, allocations: 43.42 kB / 0.5667 GB, free: 10.34 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1722, allocations: 0 / 0.5667 GB, free: 10.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.1974, allocations: 3.484 MB / 0.5701 GB, free: 6.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.328, allocations: 10.95 kB / 0.5702 GB, free: 6.918 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.328168967273086] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.450757053215057 8.474044179 8.311017365 Calling exit ...