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.001836/0.001836, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.002298/0.002298, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.557/1.557, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.002017/0.002017, allocations: 71.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1161, allocations: 53.32 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2392/0.3553, allocations: 11.04 MB / 438 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008512/0.3638, allocations: 3.845 MB / 441.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.3665, allocations: 76.91 kB / 442 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006077/0.3726, allocations: 2.714 MB / 444.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006484/0.3791, allocations: 1.797 MB / 446.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.381, allocations: 0.5734 MB / 447 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006654/0.3877, allocations: 3.577 MB / 450.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006056/0.3937, allocations: 2.99 MB / 453.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005176/0.3989, allocations: 1.466 MB / 455.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004398/0.4033, allocations: 2.141 MB / 457.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.4045, allocations: 315.4 kB / 457.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.4077, allocations: 1.078 MB / 458.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002968/0.4106, allocations: 1.839 MB / 460.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003887/0.4145, allocations: 2.083 MB / 462.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.4251, allocations: 6.684 MB / 469.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4251, allocations: 0 / 469.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4251, allocations: 0 / 469.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002799/0.4254, allocations: 0 / 469.2 MB, free: 5.004 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.02167/0.4471, allocations: 5.182 MB / 474.4 MB, free: 1.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.4471, allocations: 12.03 kB / 474.4 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002021/0.4492, allocations: 0.6742 MB / 475.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007925/0.4571, allocations: 1.893 MB / 477 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006134/0.4632, allocations: 2.472 MB / 479.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.4635, allocations: 221.7 kB / 479.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/0.4649, allocations: 299.8 kB / 479.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02324/0.4881, allocations: 10.03 MB / 490 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/0.4883, allocations: 39.64 kB / 490 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007762/0.489, allocations: 147.9 kB / 490.2 MB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003757/0.4928, allocations: 1.801 MB / 492 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02147/0.5143, allocations: 8.967 MB / 0.4892 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05575/0.57, allocations: 37.82 MB / 0.5261 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01401/0.584, allocations: 3.48 MB / 0.5295 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.5867, allocations: 1.581 MB / 0.5311 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/0.5874, allocations: 351.7 kB / 0.5314 GB, free: 9.457 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.5875, allocations: 55 kB / 0.5315 GB, free: 9.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.067e-06/0.5875, allocations: 0 / 0.5315 GB, free: 9.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.04583/0.6333, allocations: 12.89 MB / 0.544 GB, free: 12.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.6334, allocations: 141.2 kB / 0.5442 GB, free: 12.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007371/0.6408, allocations: 4.069 MB / 0.5481 GB, free: 8.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000391/0.6412, allocations: 41.7 kB / 0.5482 GB, free: 8.109 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002852/0.644, allocations: 3.131 MB / 0.5512 GB, free: 4.949 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009452/0.645, allocations: 0.57 MB / 0.5518 GB, free: 4.375 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002214/0.6472, allocations: 1.17 MB / 0.5529 GB, free: 3.191 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6473, allocations: 301.1 kB / 0.5532 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003515/0.6509, allocations: 1.955 MB / 0.5551 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007235/0.6581, allocations: 5.642 MB / 0.5606 GB, free: 9.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.6693, allocations: 8.24 MB / 0.5687 GB, free: 15.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/0.6695, allocations: 36 kB / 0.5687 GB, free: 15.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01937/0.6888, allocations: 8.064 MB / 0.5766 GB, free: 7.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.689, allocations: 60 kB / 0.5767 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002172/0.6892, allocations: 135.9 kB / 0.5768 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003012/0.6922, allocations: 0.9113 MB / 0.5777 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004833/0.6971, allocations: 1.31 MB / 0.579 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007659/0.7047, allocations: 5.197 MB / 0.584 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/0.7094, allocations: 303.6 kB / 0.5843 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/0.7105, allocations: 372 kB / 0.5847 GB, free: 14.83 MB / 0.4981 GB 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.004418/0.7149, allocations: 1.978 MB / 0.5866 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008308/0.7157, allocations: 353.6 kB / 0.5869 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006063/0.7218, allocations: 2.755 MB / 0.5896 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/0.7218, allocations: 19.98 kB / 0.5897 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.7218, allocations: 4 kB / 0.5897 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/0.7219, allocations: 8.656 kB / 0.5897 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.7371, allocations: 7.057 MB / 0.5966 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.7371, allocations: 0.625 kB / 0.5966 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.7383, allocations: 211.7 kB / 0.5968 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/0.7406, allocations: 0.7225 MB / 0.5975 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/0.7408, allocations: 31.97 kB / 0.5975 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006851/0.7477, allocations: 4.75 MB / 0.6021 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7477, allocations: 0 / 0.6021 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008837/0.7565, allocations: 5.105 MB / 0.6071 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.7577, allocations: 410.9 kB / 0.6075 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006249/0.7584, allocations: 20 kB / 0.6075 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.7598, allocations: 71.91 kB / 0.6076 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003413/0.7601, allocations: 92.41 kB / 0.6077 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.7603, allocations: 51.91 kB / 0.6077 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004798/0.7651, allocations: 2.541 MB / 0.6102 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7651, allocations: 0 / 0.6102 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005594/0.7706, allocations: 0.8827 MB / 0.6111 GB, free: 3.457 MB / 0.5137 GB 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.2387/1.009, allocations: 5.724 MB / 0.6167 GB, free: 151 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008741/1.018, allocations: 4.517 MB / 0.6211 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/1.018, allocations: 0 / 0.6211 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/1.02, allocations: 1.262 MB / 0.6223 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/1.023, allocations: 425.5 kB / 0.6227 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06804/1.091, allocations: 43.51 MB / 0.6652 GB, free: 121.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004103/1.095, allocations: 3.072 MB / 0.6682 GB, free: 119 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003889/1.099, allocations: 1.833 MB / 0.67 GB, free: 117.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002854/1.102, allocations: 1.754 MB / 0.6717 GB, free: 115.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.543e-06/1.102, allocations: 0 / 0.6717 GB, free: 115.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.211, allocations: 64.63 MB / 0.7348 GB, free: 51.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.49/23.7, allocations: 10.73 kB / 0.7348 GB, free: 51.57 MB / 0.5137 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.417308143805712] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w', 'rotor1D.phi', 'rotor1D.w'] 23.831219845917076 23.841039611 23.413277645 Calling exit ...