Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001754/0.001754, allocations: 123.4 kB / 18.5 MB, free: 4.621 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.002143/0.002143, allocations: 209.7 kB / 21.46 MB, free: 1.668 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.448/1.448, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.2322/0.2322, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30",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.002925/0.002925, allocations: 83.84 kB / 0.4917 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1542, allocations: 66.03 MB / 0.5562 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.004616/0.1589, allocations: 1.7 MB / 0.5578 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.1601, allocations: 0.5761 MB / 0.5584 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1602, allocations: 0 / 0.5584 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.1606, allocations: 83.7 kB / 0.5585 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.161, allocations: 103.6 kB / 0.5586 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.1616, allocations: 177.9 kB / 0.5588 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.1618, allocations: 95.8 kB / 0.5588 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1619, allocations: 20.17 kB / 0.5589 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.983e-05/0.162, allocations: 35.89 kB / 0.5589 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1622, allocations: 67.69 kB / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1622, allocations: 4 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1623, allocations: 55.97 kB / 0.559 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.1624, allocations: 23.91 kB / 0.559 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.1625, allocations: 39.69 kB / 0.5591 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.1627, allocations: 131.4 kB / 0.5592 GB, free: 2.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1627, allocations: 4 kB / 0.5592 GB, free: 2.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1627, allocations: 0 / 0.5592 GB, free: 2.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1627, allocations: 0 / 0.5592 GB, free: 2.406 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000738/0.1635, allocations: 438.5 kB / 0.5596 GB, free: 1.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1635, allocations: 12.03 kB / 0.5596 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1636, allocations: 34.75 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.1636, allocations: 16.84 kB / 0.5597 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1639, allocations: 204.1 kB / 0.5599 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.1639, allocations: 384 / 0.5599 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.1639, allocations: 12.38 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.1641, allocations: 74.16 kB / 0.56 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1642, allocations: 3.938 kB / 0.56 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1642, allocations: 0 / 0.56 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1642, allocations: 7.984 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.1643, allocations: 43.95 kB / 0.56 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.165, allocations: 332.7 kB / 0.5603 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1652, allocations: 58.55 kB / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.1653, allocations: 28.95 kB / 0.5604 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1653, allocations: 0 / 0.5604 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.1654, allocations: 34.56 kB / 0.5605 GB, free: 0.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1654, allocations: 3.938 kB / 0.5605 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001652/0.167, allocations: 433.3 kB / 0.5609 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1671, allocations: 59.34 kB / 0.5609 GB, free: 464 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.1673, allocations: 222.6 kB / 0.5611 GB, free: 228 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1673, allocations: 33.7 kB / 0.5612 GB, free: 188 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.1674, allocations: 108.1 kB / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1674, allocations: 31.7 kB / 0.5613 GB, free: 44 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.1675, allocations: 29.7 kB / 0.5613 GB, free: 8 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1677, allocations: 322.8 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.1679, allocations: 51.95 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.168, allocations: 68.02 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.1684, allocations: 124.7 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1684, allocations: 0 / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003785/0.1687, allocations: 165.5 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1688, allocations: 4 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.1688, allocations: 4 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1688, allocations: 0 / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1689, allocations: 31.97 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.1689, allocations: 7.922 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.169, allocations: 11.98 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.169, allocations: 4 kB / 0.5621 GB, free: 15.21 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 (11): * Single equations (assignments): 11 * 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.0001204/0.1691, allocations: 130.9 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.1692, allocations: 15.91 kB / 0.5622 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.1697, allocations: 194.9 kB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1697, allocations: 3.984 kB / 0.5624 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.1697, allocations: 3.938 kB / 0.5624 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1697, allocations: 0 / 0.5624 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009058/0.1706, allocations: 0.5078 MB / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1706, allocations: 3.938 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.1707, allocations: 23.98 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1707, allocations: 0 / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1708, allocations: 8 kB / 0.563 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1708, allocations: 0 / 0.563 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1708, allocations: 0 / 0.563 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.1712, allocations: 281 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.1713, allocations: 96.94 kB / 0.5633 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1713, allocations: 8.094 kB / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1714, allocations: 20.11 kB / 0.5633 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.1715, allocations: 11.98 kB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1715, allocations: 8 kB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1716, allocations: 163.2 kB / 0.5635 GB, free: 13.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1716, allocations: 0 / 0.5635 GB, free: 13.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1719, allocations: 31.92 kB / 0.5636 GB, free: 13.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002706/0.1746, allocations: 1.159 MB / 0.5647 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.175, allocations: 123.9 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.175, allocations: 3.938 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.1752, allocations: 68.02 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1756, allocations: 23.73 kB / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.1786, allocations: 1.975 MB / 0.5668 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/0.1792, allocations: 0.7158 MB / 0.5675 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.1793, allocations: 36.52 kB / 0.5676 GB, free: 9.512 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/0.1794, allocations: 43.42 kB / 0.5676 GB, free: 9.469 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1794, allocations: 0 / 0.5676 GB, free: 9.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.2064, allocations: 3.673 MB / 0.5712 GB, free: 5.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.257, allocations: 10.19 kB / 0.5712 GB, free: 5.855 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.413453040644526] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.381139315664768 8.407306039 8.239203787 Calling exit ...