Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001412/0.001412, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001666/0.001666, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.002006/0.002006, allocations: 67.89 kB / 378.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3026, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01425/0.3169, allocations: 11.25 MB / 443.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009512/0.3264, allocations: 4.096 MB / 447.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.3285, allocations: 79.62 kB / 447.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006766/0.3352, allocations: 3.224 MB / 450.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006141/0.3414, allocations: 1.938 MB / 452.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.3438, allocations: 0.8227 MB / 453.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007543/0.3514, allocations: 4.42 MB / 457.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004771/0.3561, allocations: 3.041 MB / 460.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/0.3595, allocations: 1.636 MB / 462.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004133/0.3636, allocations: 2.286 MB / 464.7 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.3647, allocations: 348 kB / 465.1 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.3675, allocations: 1.268 MB / 466.3 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002612/0.3701, allocations: 2.061 MB / 468.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003352/0.3734, allocations: 2.307 MB / 470.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.3835, allocations: 7.463 MB / 478.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3835, allocations: 0 / 478.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3835, allocations: 0 / 478.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002325/0.3838, allocations: 3.984 kB / 478.2 MB, free: 8.453 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01301/0.3968, allocations: 5.212 MB / 483.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3968, allocations: 8.031 kB / 483.4 MB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001518/0.3983, allocations: 0.7398 MB / 484.1 MB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02095/0.4193, allocations: 3.89 MB / 488 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007446/0.4267, allocations: 2.908 MB / 490.9 MB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.427, allocations: 242.2 kB / 491.2 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/0.4281, allocations: 327.8 kB / 491.5 MB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/0.4491, allocations: 10.38 MB / 0.4901 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001543/0.4492, allocations: 39.64 kB / 0.4901 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006808/0.4499, allocations: 151.9 kB / 0.4903 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003705/0.4536, allocations: 2.029 MB / 0.4923 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.4729, allocations: 8.788 MB / 0.5008 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3207/0.7936, allocations: 40.53 MB / 0.5404 GB, free: 74.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.8043, allocations: 3.803 MB / 0.5441 GB, free: 74.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/0.8069, allocations: 2.241 MB / 0.5463 GB, free: 74.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.818, allocations: 6.538 MB / 0.5527 GB, free: 72.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.8181, allocations: 50.91 kB / 0.5528 GB, free: 72.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 5.129e-06/0.8181, allocations: 0 / 0.5528 GB, free: 72.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.04164/0.8597, allocations: 17.81 MB / 0.5702 GB, free: 60.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.8598, allocations: 171.5 kB / 0.5703 GB, free: 60.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005966/0.8658, allocations: 4.571 MB / 0.5748 GB, free: 55.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004455/0.8662, allocations: 57.64 kB / 0.5748 GB, free: 55.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/0.8682, allocations: 3.27 MB / 0.578 GB, free: 52.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000988/0.8692, allocations: 0.7892 MB / 0.5788 GB, free: 51.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001868/0.871, allocations: 1.258 MB / 0.58 GB, free: 50.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.8711, allocations: 307.6 kB / 0.5803 GB, free: 50.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/0.8739, allocations: 2.268 MB / 0.5825 GB, free: 48.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00484/0.8787, allocations: 5.967 MB / 0.5884 GB, free: 40.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008731/0.8874, allocations: 8.963 MB / 0.5971 GB, free: 29.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/0.8876, allocations: 38.94 kB / 0.5972 GB, free: 29.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01587/0.9035, allocations: 8.795 MB / 0.6057 GB, free: 21.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.9035, allocations: 60 kB / 0.6058 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/0.9037, allocations: 132.2 kB / 0.6059 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/0.9059, allocations: 0.949 MB / 0.6069 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004673/0.9106, allocations: 1.4 MB / 0.6082 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006782/0.9174, allocations: 6.405 MB / 0.6145 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/0.922, allocations: 339.4 kB / 0.6148 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/0.923, allocations: 372 kB / 0.6152 GB, free: 11.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 738 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003826/0.9269, allocations: 2.171 MB / 0.6173 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009368/0.9278, allocations: 421.2 kB / 0.6177 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006189/0.934, allocations: 3.668 MB / 0.6213 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/0.934, allocations: 24 kB / 0.6213 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.9341, allocations: 4.875 kB / 0.6213 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.992e-05/0.9341, allocations: 7.969 kB / 0.6213 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.9517, allocations: 9.026 MB / 0.6301 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-05/0.9517, allocations: 4 kB / 0.6301 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.9534, allocations: 316 kB / 0.6304 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/0.9557, allocations: 0.7715 MB / 0.6312 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003084/0.956, allocations: 39.19 kB / 0.6312 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009484/0.9655, allocations: 6.024 MB / 0.6371 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/0.9655, allocations: 11.94 kB / 0.6371 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.978, allocations: 6.605 MB / 0.6436 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.9794, allocations: 405.2 kB / 0.6439 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001342/0.9808, allocations: 43.98 kB / 0.644 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/0.9831, allocations: 111.8 kB / 0.6441 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005333/0.9836, allocations: 129 kB / 0.6442 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/0.9838, allocations: 56 kB / 0.6443 GB, free: 13.19 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006027/0.9898, allocations: 2.932 MB / 0.6471 GB, free: 10.26 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9898, allocations: 0 / 0.6471 GB, free: 10.26 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006378/0.9962, allocations: 1.031 MB / 0.6481 GB, free: 9.227 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * 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 (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01271/1.009, allocations: 7.249 MB / 0.6552 GB, free: 1.883 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01033/1.019, allocations: 5.315 MB / 0.6604 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.019, allocations: 4 kB / 0.6604 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003794/1.023, allocations: 1.848 MB / 0.6622 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/1.027, allocations: 0.4993 MB / 0.6627 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09691/1.124, allocations: 50.21 MB / 0.7117 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006536/1.13, allocations: 3.363 MB / 0.715 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005897/1.136, allocations: 2.029 MB / 0.717 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004069/1.14, allocations: 1.999 MB / 0.7189 GB, free: 10.69 MB / 0.545 GB Notification: Performance of SimCode: time 1.473e-06/1.14, allocations: 0 / 0.7189 GB, free: 10.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.382/1.522, allocations: 81.95 MB / 0.799 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.43/27.96, allocations: 8 kB / 0.799 GB, free: 174.7 MB / 0.5606 GB " [Timeout remaining time 632] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.584727175999433] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 28.093542765825987 28.103052373 27.716852747 Calling exit ...