Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.001989/0.001989, 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.002535/0.002535, 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 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",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.001985/0.001985, allocations: 64.91 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2935, allocations: 53.37 MB / 431.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01792/0.3114, allocations: 13.08 MB / 445 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3223, allocations: 4.339 MB / 449.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.325, allocations: 99.5 kB / 449.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007687/0.3327, allocations: 3.757 MB / 453.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006436/0.3391, allocations: 2.039 MB / 455.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.3414, allocations: 0.7018 MB / 455.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008177/0.3495, allocations: 4.217 MB / 460.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005654/0.3552, allocations: 3.623 MB / 463.8 MB, free: 7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.3594, allocations: 1.861 MB / 465.6 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005385/0.3648, allocations: 2.629 MB / 468.3 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.3664, allocations: 411.9 kB / 468.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.3698, allocations: 1.159 MB / 469.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002811/0.3726, allocations: 2.252 MB / 472.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004541/0.3771, allocations: 2.583 MB / 474.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.3897, allocations: 8.112 MB / 482.8 MB, free: 3.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.3897, allocations: 0 / 482.8 MB, free: 3.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3897, allocations: 4 kB / 482.8 MB, free: 3.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003194/0.39, allocations: 0 / 482.8 MB, free: 3.93 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02306/0.4131, allocations: 6.256 MB / 489 MB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.4131, allocations: 8.031 kB / 489 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00204/0.4152, allocations: 0.8347 MB / 489.9 MB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007413/0.4226, allocations: 2.006 MB / 491.9 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006837/0.4294, allocations: 2.846 MB / 494.7 MB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/0.4297, allocations: 283.5 kB / 495 MB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001489/0.4312, allocations: 387.8 kB / 495.4 MB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02602/0.4573, allocations: 12.18 MB / 0.4957 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/0.4574, allocations: 63.5 kB / 0.4957 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005607/0.458, allocations: 179.8 kB / 0.4959 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004236/0.4622, allocations: 2.194 MB / 0.498 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.4869, allocations: 11.15 MB / 0.5089 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2899/0.7767, allocations: 46.31 MB / 0.5541 GB, free: 70.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/0.7922, allocations: 4.708 MB / 0.5587 GB, free: 70.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003389/0.7956, allocations: 3.08 MB / 0.5617 GB, free: 69.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004816/0.7961, allocations: 148.6 kB / 0.5619 GB, free: 69.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.7961, allocations: 55.91 kB / 0.5619 GB, free: 68.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 3.908e-06/0.7961, allocations: 0 / 0.5619 GB, free: 68.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06401/0.8601, allocations: 26.8 MB / 0.5881 GB, free: 48.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.8602, allocations: 150.5 kB / 0.5883 GB, free: 48.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/0.8648, allocations: 4.513 MB / 0.5927 GB, free: 44.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000538/0.8653, allocations: 57.7 kB / 0.5927 GB, free: 44.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.8667, allocations: 3.569 MB / 0.5962 GB, free: 40.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008226/0.8676, allocations: 0.9085 MB / 0.5971 GB, free: 40.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/0.869, allocations: 1.449 MB / 0.5985 GB, free: 38.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.8691, allocations: 305.1 kB / 0.5988 GB, free: 38.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003518/0.8726, allocations: 3.269 MB / 0.602 GB, free: 35.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005012/0.8776, allocations: 7.209 MB / 0.609 GB, free: 25.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009912/0.8875, allocations: 11.3 MB / 0.6201 GB, free: 12.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.539e-05/0.8876, allocations: 36 kB / 0.6201 GB, free: 12.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.01626/0.9039, allocations: 11.4 MB / 0.6312 GB, free: 1.297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.9039, allocations: 64 kB / 0.6313 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.9041, allocations: 139.9 kB / 0.6314 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.9065, allocations: 1.126 MB / 0.6325 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006401/0.9129, allocations: 1.716 MB / 0.6342 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009477/0.9223, allocations: 6.238 MB / 0.6403 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005494/0.9278, allocations: 403.7 kB / 0.6407 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/0.9292, allocations: 451.8 kB / 0.6411 GB, free: 7.066 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (830): * Single equations (assignments): 826 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00464/0.9338, allocations: 2.325 MB / 0.6434 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/0.9349, allocations: 425.1 kB / 0.6438 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.9462, allocations: 6.101 MB / 0.6497 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-05/0.9463, allocations: 24 kB / 0.6498 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.9463, allocations: 4 kB / 0.6498 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.394e-05/0.9463, allocations: 11.95 kB / 0.6498 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02669/0.973, allocations: 12.71 MB / 0.6622 GB, free: 1.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/0.973, allocations: 7.75 kB / 0.6622 GB, free: 1.371 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002985/0.976, allocations: 0.5346 MB / 0.6627 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00305/0.9791, allocations: 0.9526 MB / 0.6636 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005306/0.9796, allocations: 87.89 kB / 0.6637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008924/0.9885, allocations: 5.969 MB / 0.6696 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.9885, allocations: 11.94 kB / 0.6696 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/1.006, allocations: 10.36 MB / 0.6797 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002764/1.009, allocations: 0.8326 MB / 0.6805 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.01, allocations: 43.94 kB / 0.6805 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.013, allocations: 155.8 kB / 0.6807 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005611/1.013, allocations: 185.6 kB / 0.6809 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002738/1.014, allocations: 107.9 kB / 0.681 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005079/1.019, allocations: 2.83 MB / 0.6837 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.019, allocations: 0 / 0.6837 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00605/1.025, allocations: 1.187 MB / 0.6849 GB, free: 9.953 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (203): * Single equations (assignments): 199 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0179/1.043, allocations: 11.01 MB / 0.6956 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01389/1.056, allocations: 7.477 MB / 0.703 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/1.056, allocations: 192 / 0.703 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004879/1.061, allocations: 2.801 MB / 0.7057 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/1.064, allocations: 0.4919 MB / 0.7062 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3357/1.4, allocations: 59.66 MB / 0.7644 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/1.403, allocations: 3.616 MB / 0.768 GB, free: 179.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004746/1.408, allocations: 2.284 MB / 0.7702 GB, free: 178.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003428/1.412, allocations: 2.315 MB / 0.7725 GB, free: 176.1 MB / 0.545 GB Notification: Performance of SimCode: time 2.295e-06/1.412, allocations: 4 kB / 0.7725 GB, free: 176.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1428/1.554, allocations: 97.62 MB / 0.8678 GB, free: 79.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.66/21.22, allocations: 6.875 kB / 0.8678 GB, free: 79.05 MB / 0.545 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.896442176774144] Failed to read output from testmodel.py, exit status != 0: ['time', 'position1.w', 'position2.w', 'r1.phi', 'r2.phi', 'revolute.phi', 'revolute.w', 'rotor1D.phi', 'rotor1D.w'] 21.36392321297899 21.380755359 20.98729694 Calling exit ...