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.001338/0.001338, allocations: 119.6 kB / 18.45 MB, free: 4.613 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.001476/0.001476, allocations: 205.7 kB / 21.41 MB, free: 1.66 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.466/1.466, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.002129/0.00213, allocations: 71.83 kB / 365.2 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1089, allocations: 50.55 MB / 415.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01379/0.1228, allocations: 11.16 MB / 426.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009508/0.1323, allocations: 4.053 MB / 431 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.1344, allocations: 67.88 kB / 431.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006287/0.1407, allocations: 3.181 MB / 434.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005509/0.1463, allocations: 1.872 MB / 436.1 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.1485, allocations: 0.8266 MB / 436.9 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007342/0.1558, allocations: 4.401 MB / 441.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2216/0.3775, allocations: 4.012 MB / 445.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.3801, allocations: 1.611 MB / 447 MB, free: 8.277 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.3828, allocations: 2.111 MB / 449.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.3839, allocations: 346.1 kB / 449.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.3864, allocations: 1.238 MB / 450.7 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002381/0.3888, allocations: 1.99 MB / 452.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003576/0.3924, allocations: 2.299 MB / 454.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.4028, allocations: 7.468 MB / 462.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4029, allocations: 2 kB / 462.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4029, allocations: 0 / 462.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002609/0.4031, allocations: 0 / 462.4 MB, free: 5.891 MB / 366.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.01546/0.4186, allocations: 5.288 MB / 467.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4187, allocations: 9.938 kB / 467.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002321/0.421, allocations: 0.7301 MB / 468.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02353/0.4445, allocations: 3.897 MB / 472.3 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007402/0.452, allocations: 2.977 MB / 475.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.4522, allocations: 246.6 kB / 475.6 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.4535, allocations: 316.4 kB / 475.9 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/0.4733, allocations: 10.39 MB / 486.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.4735, allocations: 42.77 kB / 486.3 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005638/0.4741, allocations: 158.8 kB / 486.5 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003319/0.4774, allocations: 2.029 MB / 488.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/0.4977, allocations: 8.779 MB / 497.3 MB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06217/0.56, allocations: 40.67 MB / 0.5253 GB, free: 9.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/0.5726, allocations: 4.438 MB / 0.5297 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003806/0.5765, allocations: 2.43 MB / 0.532 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/0.5914, allocations: 7.218 MB / 0.5391 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.574e-05/0.5915, allocations: 47.5 kB / 0.5391 GB, free: 11.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 7.875e-06/0.5915, allocations: 0 / 0.5391 GB, free: 11.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.05515/0.6467, allocations: 18.04 MB / 0.5567 GB, free: 9.207 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.6469, allocations: 175.5 kB / 0.5569 GB, free: 8.996 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/0.6571, allocations: 4.579 MB / 0.5614 GB, free: 4.398 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005617/0.6577, allocations: 49.7 kB / 0.5614 GB, free: 4.344 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003416/0.6612, allocations: 3.279 MB / 0.5646 GB, free: 1.078 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001454/0.6626, allocations: 0.7786 MB / 0.5654 GB, free: 320 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003347/0.666, allocations: 1.25 MB / 0.5666 GB, free: 15.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6662, allocations: 304 kB / 0.5669 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003837/0.67, allocations: 2.28 MB / 0.5691 GB, free: 12.47 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007436/0.6775, allocations: 5.953 MB / 0.5749 GB, free: 4.746 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/0.6908, allocations: 8.962 MB / 0.5837 GB, free: 10.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001591/0.691, allocations: 41.88 kB / 0.5837 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02043/0.7115, allocations: 8.825 MB / 0.5924 GB, free: 1.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.7117, allocations: 60 kB / 0.5924 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002183/0.7119, allocations: 128 kB / 0.5925 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.7146, allocations: 0.9375 MB / 0.5934 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/0.7199, allocations: 1.404 MB / 0.5948 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009719/0.7296, allocations: 6.516 MB / 0.6012 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005618/0.7353, allocations: 340.7 kB / 0.6015 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/0.7369, allocations: 382.3 kB / 0.6019 GB, free: 7.684 MB / 0.4981 GB 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.006165/0.7431, allocations: 2.169 MB / 0.604 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/0.7443, allocations: 412.4 kB / 0.6044 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0087/0.753, allocations: 3.683 MB / 0.608 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.404e-05/0.7531, allocations: 23.98 kB / 0.608 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.7531, allocations: 4 kB / 0.608 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-05/0.7532, allocations: 19.91 kB / 0.608 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/0.7757, allocations: 9.054 MB / 0.6169 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.7758, allocations: 8 kB / 0.6169 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.7775, allocations: 319.4 kB / 0.6172 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/0.7798, allocations: 0.7699 MB / 0.6179 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003125/0.7801, allocations: 37.97 kB / 0.618 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009132/0.7893, allocations: 6.113 MB / 0.6239 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.7893, allocations: 7.938 kB / 0.6239 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2283/1.018, allocations: 6.612 MB / 0.6304 GB, free: 167.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.019, allocations: 483.3 kB / 0.6309 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009231/1.02, allocations: 41.75 kB / 0.6309 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.022, allocations: 117 kB / 0.631 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003764/1.022, allocations: 121 kB / 0.6311 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.022, allocations: 56.22 kB / 0.6312 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006315/1.029, allocations: 2.935 MB / 0.634 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.21e-07/1.029, allocations: 4.75 kB / 0.6341 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00696/1.036, allocations: 1.023 MB / 0.6351 GB, free: 167.4 MB / 0.5137 GB 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.01078/1.046, allocations: 7.265 MB / 0.6421 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008708/1.055, allocations: 5.548 MB / 0.6476 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.055, allocations: 0 / 0.6476 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002948/1.058, allocations: 1.978 MB / 0.6495 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/1.062, allocations: 0.5012 MB / 0.65 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06761/1.13, allocations: 50.15 MB / 0.699 GB, free: 115.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003051/1.133, allocations: 3.363 MB / 0.7022 GB, free: 112.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00386/1.137, allocations: 2.026 MB / 0.7042 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002324/1.139, allocations: 1.999 MB / 0.7062 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/1.139, allocations: 0 / 0.7062 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/1.259, allocations: 76.44 MB / 0.7808 GB, free: 32.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.8/27.06, allocations: 17.8 kB / 0.7808 GB, free: 32.16 MB / 0.5137 GB " [Timeout remaining time 633] (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: 29.660876461071894] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 27.189708663965575 27.204033416 26.798428892 Calling exit ...