Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.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.0016/0.0016, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001937/0.001937, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.561/1.561, 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.2319/0.2319, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24",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.002296/0.002296, allocations: 87.84 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1459, allocations: 66.03 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002946/0.1489, allocations: 1.61 MB / 0.5577 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1506, allocations: 1.175 MB / 0.5589 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.1507, allocations: 0 / 0.5589 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.1509, allocations: 27.84 kB / 0.5589 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.1511, allocations: 83.61 kB / 0.559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.1514, allocations: 119.3 kB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1516, allocations: 67.78 kB / 0.5592 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1517, allocations: 11.98 kB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.1517, allocations: 23.92 kB / 0.5592 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1519, allocations: 31.84 kB / 0.5592 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1519, allocations: 4 kB / 0.5592 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1521, allocations: 103.9 kB / 0.5593 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.1521, allocations: 11.94 kB / 0.5594 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.1522, allocations: 27.78 kB / 0.5594 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.1524, allocations: 143.5 kB / 0.5595 GB, free: 2.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1524, allocations: 4 kB / 0.5595 GB, free: 2.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1524, allocations: 0 / 0.5595 GB, free: 2.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1524, allocations: 0 / 0.5595 GB, free: 2.105 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.0005558/0.153, allocations: 406.8 kB / 0.5599 GB, free: 1.656 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.153, allocations: 8.031 kB / 0.5599 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.1531, allocations: 30.75 kB / 0.5599 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.1531, allocations: 12.83 kB / 0.56 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.1533, allocations: 200.2 kB / 0.5601 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1534, allocations: 4.375 kB / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.1534, allocations: 4.375 kB / 0.5602 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1535, allocations: 71.89 kB / 0.5602 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.1536, allocations: 3.938 kB / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1536, allocations: 0 / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1536, allocations: 0 / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1537, allocations: 27.95 kB / 0.5603 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.1541, allocations: 284.9 kB / 0.5605 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1543, allocations: 50.5 kB / 0.5606 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.1544, allocations: 16.94 kB / 0.5606 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1544, allocations: 4 kB / 0.5606 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.1544, allocations: 30.56 kB / 0.5606 GB, free: 0.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1544, allocations: 0 / 0.5606 GB, free: 0.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005782/0.155, allocations: 153.4 kB / 0.5608 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.1551, allocations: 77.11 kB / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1552, allocations: 143.7 kB / 0.561 GB, free: 404 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1552, allocations: 33.7 kB / 0.561 GB, free: 364 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.1553, allocations: 88.12 kB / 0.5611 GB, free: 272 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.1553, allocations: 23.8 kB / 0.5611 GB, free: 248 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.1554, allocations: 21.72 kB / 0.5611 GB, free: 220 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1555, allocations: 326.8 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-05/0.1556, allocations: 19.92 kB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.084e-05/0.1557, allocations: 37.88 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1558, allocations: 60.77 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1558, allocations: 4.031 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002041/0.1561, allocations: 81.62 kB / 0.5616 GB, free: 15.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1561, allocations: 11.98 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1561, allocations: 0 / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1561, allocations: 0 / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.1562, allocations: 8 kB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1562, allocations: 4 kB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.1562, allocations: 3.984 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1562, allocations: 8 kB / 0.5617 GB, free: 15.64 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 (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 9.825e-05/0.1563, allocations: 121.7 kB / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1564, allocations: 7.953 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.1566, allocations: 93.95 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1566, allocations: 4 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1566, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1566, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.1571, allocations: 366.4 kB / 0.5622 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1571, allocations: 3.938 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.1572, allocations: 19.98 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1572, allocations: 0 / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1572, allocations: 192 / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1572, allocations: 4 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1572, allocations: 3.938 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1575, allocations: 183.5 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1575, allocations: 85 kB / 0.5625 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1575, allocations: 4 kB / 0.5625 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.1576, allocations: 11.98 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.1576, allocations: 3.938 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1576, allocations: 0 / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1578, allocations: 117.6 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 4 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.158, allocations: 43.8 kB / 0.5627 GB, free: 14.47 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.002191/0.1602, allocations: 1.09 MB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1605, allocations: 59.83 kB / 0.5638 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1605, allocations: 0 / 0.5638 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/0.1605, allocations: 23.98 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.1609, allocations: 23.92 kB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1627, allocations: 1.447 MB / 0.5653 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.163, allocations: 0.6924 MB / 0.566 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.365e-05/0.1631, allocations: 28.23 kB / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.1631, allocations: 23.42 kB / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1631, allocations: 0 / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.19, allocations: 3.279 MB / 0.5692 GB, free: 7.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.167, allocations: 13.44 kB / 0.5692 GB, free: 7.859 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.40415331022814] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.29045500420034 8.312943066 8.156387357 Calling exit ...