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.001782/0.001782, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002177/0.002177, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.488/1.488, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2315/0.2315, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.002262/0.002262, allocations: 83.86 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3579, allocations: 66.07 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003912/0.3619, allocations: 2.088 MB / 0.5635 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.3631, allocations: 0.6088 MB / 0.5641 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.3632, allocations: 0 / 0.5641 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.3633, allocations: 27.78 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.3634, allocations: 39.64 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.3638, allocations: 75.81 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.3641, allocations: 191.3 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3642, allocations: 31.64 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.3644, allocations: 87.75 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.3646, allocations: 83.67 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.108e-05/0.3646, allocations: 16 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-05/0.3647, allocations: 16 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.3647, allocations: 39.83 kB / 0.5647 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.54e-05/0.3648, allocations: 83.64 kB / 0.5648 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.3651, allocations: 175.2 kB / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3651, allocations: 0 / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3651, allocations: 0 / 0.565 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.3652, allocations: 4 kB / 0.565 GB, free: 0.7383 MB / 398.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.0008336/0.366, allocations: 389.8 kB / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.366, allocations: 8.031 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.376e-05/0.3661, allocations: 42.73 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.3663, allocations: 28.83 kB / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3665, allocations: 157.8 kB / 0.5656 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3666, allocations: 12.61 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.3666, allocations: 19.94 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.367, allocations: 161.8 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.367, allocations: 3.953 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.367, allocations: 7.984 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.367, allocations: 4 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.3673, allocations: 108.8 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3684, allocations: 0.656 MB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.3687, allocations: 134.5 kB / 0.5666 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3689, allocations: 64.77 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.3689, allocations: 0 / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3689, allocations: 30.56 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.3689, allocations: 0 / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0014/0.3703, allocations: 416.7 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.3704, allocations: 55.41 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3706, allocations: 154.2 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.3706, allocations: 29.7 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3707, allocations: 124.4 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.3708, allocations: 63.44 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.3708, allocations: 37.7 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.371, allocations: 330.7 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3712, allocations: 63.95 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.3714, allocations: 107.3 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.3718, allocations: 169.7 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3718, allocations: 4 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004947/0.3723, allocations: 221.3 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3723, allocations: 4 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3724, allocations: 3.984 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3724, allocations: 4 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.3727, allocations: 56 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3727, allocations: 4 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3729, allocations: 11.92 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3729, allocations: 12 kB / 0.5685 GB, free: 12.87 MB / 414.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.0001288/0.373, allocations: 121.8 kB / 0.5686 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.373, allocations: 15.89 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.28e-05/0.3731, allocations: 21.12 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3731, allocations: 7.938 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3731, allocations: 4 kB / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3731, allocations: 0 / 0.5687 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3742, allocations: 0.5939 MB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3742, allocations: 0 / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.3744, allocations: 43.97 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3745, allocations: 0 / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.3745, allocations: 4 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3745, allocations: 0 / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3745, allocations: 0 / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.375, allocations: 307.2 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.3751, allocations: 31.88 kB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.3751, allocations: 4 kB / 0.5696 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3753, allocations: 15.92 kB / 0.5697 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.3754, allocations: 15.97 kB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.3754, allocations: 4 kB / 0.5697 GB, free: 11.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.623e-05/0.3755, allocations: 115.2 kB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3755, allocations: 3.938 kB / 0.5698 GB, free: 11.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3758, allocations: 40 kB / 0.5698 GB, free: 11.45 MB / 414.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.0009354/0.3767, allocations: 0.8363 MB / 0.5706 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.3772, allocations: 167.8 kB / 0.5708 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3772, allocations: 0 / 0.5708 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.3774, allocations: 79.89 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3778, allocations: 20 kB / 0.5709 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.3808, allocations: 2.044 MB / 0.5729 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.3812, allocations: 0.7209 MB / 0.5736 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.3814, allocations: 29.41 kB / 0.5736 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3815, allocations: 47.42 kB / 0.5737 GB, free: 7.371 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3815, allocations: 0 / 0.5737 GB, free: 7.371 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.4101, allocations: 3.822 MB / 0.5774 GB, free: 3.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.94, allocations: 6.172 kB / 0.5774 GB, free: 3.625 MB / 414.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.00312787713483] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 9.015238091815263 9.050978519 8.67921319 Calling exit ...