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.ActuatedDrive.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.001549/0.001549, allocations: 106.5 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.001513/0.001513, allocations: 212 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.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.ActuatedDrive,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",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.001999/0.001999, allocations: 60.77 kB / 378.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.289, allocations: 53.37 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01312/0.3022, allocations: 11.07 MB / 443 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009465/0.3116, allocations: 3.87 MB / 446.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.3135, allocations: 71.69 kB / 446.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005457/0.319, allocations: 2.725 MB / 449.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005055/0.3241, allocations: 1.802 MB / 451.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.3257, allocations: 0.581 MB / 452 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005753/0.3314, allocations: 3.574 MB / 455.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003782/0.3352, allocations: 2.744 MB / 458.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.3378, allocations: 1.468 MB / 459.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003658/0.3415, allocations: 2.142 MB / 462 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008568/0.3424, allocations: 316 kB / 462.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.3447, allocations: 1.077 MB / 463.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001897/0.3466, allocations: 1.839 MB / 465.2 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002424/0.349, allocations: 2.082 MB / 467.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008165/0.3572, allocations: 6.696 MB / 474 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3572, allocations: 0 / 474 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3572, allocations: 0 / 474 MB, free: 12.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001746/0.3573, allocations: 0 / 474 MB, free: 12.59 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01742/0.3748, allocations: 5.105 MB / 479.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3748, allocations: 11.97 kB / 479.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009988/0.3758, allocations: 0.6703 MB / 479.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006651/0.3825, allocations: 1.893 MB / 481.6 MB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/0.3882, allocations: 2.403 MB / 484.1 MB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.3884, allocations: 221.7 kB / 484.3 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008925/0.3893, allocations: 303.8 kB / 484.6 MB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.409, allocations: 10.02 MB / 494.6 MB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.4091, allocations: 43.64 kB / 494.6 MB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/0.4096, allocations: 143.9 kB / 494.8 MB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003181/0.4127, allocations: 1.805 MB / 496.6 MB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02051/0.4332, allocations: 8.962 MB / 0.4937 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05874/0.492, allocations: 37.67 MB / 0.5305 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/0.5051, allocations: 3.033 MB / 0.5334 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002943/0.5081, allocations: 1.589 MB / 0.535 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/0.5087, allocations: 128.4 kB / 0.5351 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.876e-05/0.5088, allocations: 51.16 kB / 0.5352 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 6.542e-06/0.5088, allocations: 0 / 0.5352 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.3049/0.8137, allocations: 12.74 MB / 0.5476 GB, free: 97.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.8138, allocations: 144.5 kB / 0.5477 GB, free: 97.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004534/0.8183, allocations: 4.067 MB / 0.5517 GB, free: 95.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002532/0.8186, allocations: 45.05 kB / 0.5517 GB, free: 95.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.82, allocations: 3.134 MB / 0.5548 GB, free: 93.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005032/0.8205, allocations: 0.5589 MB / 0.5554 GB, free: 93.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001224/0.8217, allocations: 1.179 MB / 0.5565 GB, free: 92.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.8218, allocations: 305.1 kB / 0.5568 GB, free: 92.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.824, allocations: 1.954 MB / 0.5587 GB, free: 90.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/0.8275, allocations: 5.636 MB / 0.5642 GB, free: 83.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007629/0.8351, allocations: 8.244 MB / 0.5723 GB, free: 73.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001495/0.8352, allocations: 36 kB / 0.5723 GB, free: 73.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.0132/0.8485, allocations: 8.065 MB / 0.5802 GB, free: 65.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/0.8485, allocations: 67.94 kB / 0.5802 GB, free: 64.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.313e-05/0.8486, allocations: 132 kB / 0.5804 GB, free: 64.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/0.8507, allocations: 0.8997 MB / 0.5812 GB, free: 63.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/0.8542, allocations: 1.314 MB / 0.5825 GB, free: 62.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/0.8595, allocations: 5.078 MB / 0.5875 GB, free: 57.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004333/0.8639, allocations: 315.8 kB / 0.5878 GB, free: 57.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006858/0.8646, allocations: 368 kB / 0.5881 GB, free: 56.76 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (695): * Single equations (assignments): 691 * 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.003116/0.8677, allocations: 1.986 MB / 0.5901 GB, free: 54.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007543/0.8684, allocations: 357.5 kB / 0.5904 GB, free: 54.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004556/0.873, allocations: 2.755 MB / 0.5931 GB, free: 51.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.873, allocations: 16 kB / 0.5931 GB, free: 51.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.873, allocations: 4 kB / 0.5931 GB, free: 51.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.873, allocations: 3.984 kB / 0.5931 GB, free: 51.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.8835, allocations: 7.017 MB / 0.6 GB, free: 44.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.8835, allocations: 96 / 0.6 GB, free: 44.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009763/0.8845, allocations: 219.6 kB / 0.6002 GB, free: 44.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/0.8864, allocations: 0.7147 MB / 0.6009 GB, free: 43.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.8865, allocations: 39.8 kB / 0.6009 GB, free: 43.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004965/0.8915, allocations: 4.639 MB / 0.6055 GB, free: 38.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.8915, allocations: 0 / 0.6055 GB, free: 38.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006541/0.898, allocations: 5.108 MB / 0.6104 GB, free: 33.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.8991, allocations: 333.7 kB / 0.6108 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/0.8995, allocations: 20 kB / 0.6108 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.9006, allocations: 79.84 kB / 0.6109 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.9008, allocations: 96.36 kB / 0.6109 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.646e-05/0.9009, allocations: 47.97 kB / 0.611 GB, free: 33.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003165/0.9041, allocations: 2.537 MB / 0.6135 GB, free: 30.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9041, allocations: 0 / 0.6135 GB, free: 30.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004411/0.9085, allocations: 0.8827 MB / 0.6143 GB, free: 29.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006654/0.9151, allocations: 5.728 MB / 0.6199 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006473/0.9216, allocations: 4.519 MB / 0.6243 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.9216, allocations: 8 kB / 0.6243 GB, free: 19.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.9232, allocations: 1.263 MB / 0.6256 GB, free: 18.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.9258, allocations: 427.5 kB / 0.626 GB, free: 17.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06651/0.9923, allocations: 43.6 MB / 0.6686 GB, free: 496 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004075/0.9964, allocations: 3.053 MB / 0.6716 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004347/1.001, allocations: 1.846 MB / 0.6734 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002802/1.004, allocations: 1.745 MB / 0.6751 GB, free: 9.809 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.004, allocations: 4 kB / 0.6751 GB, free: 9.805 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3589/1.362, allocations: 69.14 MB / 0.7426 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.75/24.12, allocations: 12.83 kB / 0.7426 GB, free: 179.5 MB / 0.5294 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_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_ActuatedDrive.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.752136068884283] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w', 'rotor1D.phi', 'rotor1D.w'] 24.251668096985668 24.271670717 23.910625029 Calling exit ...