Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.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.001671/0.001671, 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.002041/0.002041, 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.564/1.564, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2351/0.2351, 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.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_EngineGasForce",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.003073/0.003073, allocations: 79.88 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1598, allocations: 66.03 MB / 0.5562 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.00389/0.1637, allocations: 2.085 MB / 0.5582 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.165, allocations: 0.6039 MB / 0.5588 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1651, allocations: 3.938 kB / 0.5588 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1652, allocations: 23.78 kB / 0.5588 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.1653, allocations: 39.64 kB / 0.5588 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.1657, allocations: 83.81 kB / 0.5589 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.166, allocations: 187.3 kB / 0.5591 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1661, allocations: 33.53 kB / 0.5591 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1663, allocations: 87.75 kB / 0.5592 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1665, allocations: 79.67 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.1665, allocations: 23.94 kB / 0.5593 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.772e-05/0.1666, allocations: 16 kB / 0.5593 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.1666, allocations: 35.89 kB / 0.5594 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.1667, allocations: 71.66 kB / 0.5594 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.167, allocations: 179.2 kB / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.167, allocations: 0 / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.167, allocations: 0 / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.167, allocations: 3.938 kB / 0.5596 GB, free: 2.012 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008946/0.1679, allocations: 470.9 kB / 0.5601 GB, free: 1.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.168, allocations: 8.031 kB / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.168, allocations: 46.73 kB / 0.5601 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.1682, allocations: 24.84 kB / 0.5601 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.1686, allocations: 212.6 kB / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1686, allocations: 8.609 kB / 0.5604 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.1686, allocations: 15.94 kB / 0.5604 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.169, allocations: 165.8 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.169, allocations: 3.953 kB / 0.5605 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.169, allocations: 4 kB / 0.5605 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.169, allocations: 4 kB / 0.5605 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.1694, allocations: 115.8 kB / 0.5606 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1704, allocations: 0.6805 MB / 0.5613 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.1708, allocations: 130.5 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.1709, allocations: 60.77 kB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.171, allocations: 0 / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.171, allocations: 34.56 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.171, allocations: 0 / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001469/0.1725, allocations: 416.7 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.1725, allocations: 55.41 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1727, allocations: 154.2 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1727, allocations: 25.7 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.1728, allocations: 128.3 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.1729, allocations: 67.44 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.1729, allocations: 37.7 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1731, allocations: 326.8 kB / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.1733, allocations: 63.95 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.1735, allocations: 103.3 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.174, allocations: 173.5 kB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.174, allocations: 0 / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005293/0.1745, allocations: 223.8 kB / 0.5632 GB, free: 14.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1745, allocations: 4 kB / 0.5632 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.1745, allocations: 7.984 kB / 0.5632 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1746, allocations: 0 / 0.5632 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.1749, allocations: 51.84 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1749, allocations: 4.094 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.175, allocations: 23.98 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1751, allocations: 4 kB / 0.5633 GB, free: 13.95 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 22 * 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.0001385/0.1752, allocations: 130.7 kB / 0.5634 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.1753, allocations: 19.89 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.1753, allocations: 21.17 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1753, allocations: 7.938 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1753, allocations: 0 / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1753, allocations: 4 kB / 0.5635 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1764, allocations: 0.6084 MB / 0.5641 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1764, allocations: 0 / 0.5641 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.1767, allocations: 47.89 kB / 0.5641 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1767, allocations: 4 kB / 0.5641 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1767, allocations: 8 kB / 0.5641 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1767, allocations: 0 / 0.5641 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1767, allocations: 3.938 kB / 0.5641 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005423/0.1773, allocations: 300 kB / 0.5644 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1774, allocations: 105 kB / 0.5645 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.1774, allocations: 8 kB / 0.5645 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.1776, allocations: 15.98 kB / 0.5646 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.1777, allocations: 15.92 kB / 0.5646 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.1777, allocations: 8 kB / 0.5646 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.1778, allocations: 115.2 kB / 0.5647 GB, free: 12.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1778, allocations: 0 / 0.5647 GB, free: 12.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.1781, allocations: 43.94 kB / 0.5647 GB, free: 12.39 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 (19): * Single equations (assignments): 19 * 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.0008891/0.179, allocations: 0.8357 MB / 0.5655 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004968/0.1795, allocations: 164 kB / 0.5657 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1795, allocations: 0 / 0.5657 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.1797, allocations: 82.64 kB / 0.5658 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.18, allocations: 18.19 kB / 0.5658 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.1831, allocations: 2.038 MB / 0.5678 GB, free: 9.148 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.1834, allocations: 0.7171 MB / 0.5685 GB, free: 8.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.1836, allocations: 29.41 kB / 0.5685 GB, free: 8.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.1837, allocations: 47.42 kB / 0.5686 GB, free: 8.328 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1837, allocations: 0 / 0.5686 GB, free: 8.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.211, allocations: 3.735 MB / 0.5722 GB, free: 4.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/8.988, allocations: 7.938 kB / 0.5722 GB, free: 4.684 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199601 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.235805058851838] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 9.061415275093168 9.091805129 8.919292276 Calling exit ...