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.001685/0.001685, allocations: 121.1 kB / 18.45 MB, free: 4.59 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.002017/0.002017, allocations: 213.7 kB / 21.41 MB, free: 1.641 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.411/1.411, allocations: 227.7 MB / 251.9 MB, free: 15.85 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.001904/0.001904, allocations: 71.83 kB / 365.2 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09966, allocations: 50.55 MB / 415.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01446/0.1142, allocations: 12.99 MB / 428.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00889/0.1231, allocations: 4.283 MB / 433 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.1252, allocations: 79.81 kB / 433.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007217/0.1324, allocations: 3.707 MB / 436.8 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005632/0.1381, allocations: 1.976 MB / 438.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.14, allocations: 0.698 MB / 439.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006222/0.1462, allocations: 4.213 MB / 443.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2143/0.3606, allocations: 4.737 MB / 448.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.3635, allocations: 1.825 MB / 450.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/0.367, allocations: 2.45 MB / 452.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.368, allocations: 408.6 kB / 453.1 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.3703, allocations: 1.123 MB / 454.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002142/0.3725, allocations: 2.187 MB / 456.4 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002715/0.3752, allocations: 2.588 MB / 459 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009479/0.3847, allocations: 8.113 MB / 467.1 MB, free: 3.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3847, allocations: 4 kB / 467.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3847, allocations: 0 / 467.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003114/0.3851, allocations: 1.125 kB / 467.1 MB, free: 3.977 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02536/0.4104, allocations: 6.332 MB / 473.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4105, allocations: 9.844 kB / 473.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002943/0.4134, allocations: 0.8288 MB / 474.3 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008447/0.4219, allocations: 2.01 MB / 476.3 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007101/0.429, allocations: 2.906 MB / 479.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.4293, allocations: 296.2 kB / 479.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.4305, allocations: 384.8 kB / 479.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02218/0.4527, allocations: 12.18 MB / 492.1 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/0.4529, allocations: 55.95 kB / 492.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00059/0.4535, allocations: 182.8 kB / 492.3 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004249/0.4577, allocations: 2.184 MB / 494.5 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0244/0.4821, allocations: 11.13 MB / 0.4938 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06693/0.5491, allocations: 46.48 MB / 0.5392 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/0.5682, allocations: 5.334 MB / 0.5444 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005008/0.5733, allocations: 3.311 MB / 0.5476 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007881/0.5741, allocations: 377.2 kB / 0.548 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/0.5742, allocations: 51.88 kB / 0.548 GB, free: 1.449 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 6.473e-06/0.5742, allocations: 0 / 0.548 GB, free: 1.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.08581/0.66, allocations: 27.03 MB / 0.5744 GB, free: 6.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.6602, allocations: 154.5 kB / 0.5746 GB, free: 6.191 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009269/0.6695, allocations: 4.501 MB / 0.579 GB, free: 1.672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007103/0.6702, allocations: 61.7 kB / 0.579 GB, free: 1.605 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003457/0.6737, allocations: 3.565 MB / 0.5825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001829/0.6755, allocations: 0.9138 MB / 0.5834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00454/0.6801, allocations: 1.449 MB / 0.5848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6803, allocations: 308.9 kB / 0.5851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006035/0.6863, allocations: 3.278 MB / 0.5883 GB, free: 8.113 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/0.6964, allocations: 7.205 MB / 0.5953 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/0.7126, allocations: 11.29 MB / 0.6064 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/0.7128, allocations: 40 kB / 0.6064 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=869) (initialization): time 0.02356/0.7364, allocations: 11.41 MB / 0.6175 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.7366, allocations: 64 kB / 0.6176 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002382/0.7368, allocations: 143.9 kB / 0.6177 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/0.74, allocations: 1.122 MB / 0.6188 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006759/0.7468, allocations: 1.715 MB / 0.6205 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009739/0.7566, allocations: 6.344 MB / 0.6267 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00617/0.7628, allocations: 403.7 kB / 0.6271 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00162/0.7644, allocations: 447.8 kB / 0.6275 GB, free: 12.58 MB / 0.5294 GB 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.006174/0.7706, allocations: 2.334 MB / 0.6298 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/0.7719, allocations: 421.1 kB / 0.6302 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.7851, allocations: 6.117 MB / 0.6362 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.226e-05/0.7852, allocations: 26.81 kB / 0.6362 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/0.7852, allocations: 4 kB / 0.6362 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.274e-05/0.7853, allocations: 11.95 kB / 0.6362 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2434/1.029, allocations: 12.74 MB / 0.6487 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/1.029, allocations: 3.375 kB / 0.6487 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002806/1.032, allocations: 0.5315 MB / 0.6492 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/1.034, allocations: 0.9482 MB / 0.6501 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003983/1.035, allocations: 86 kB / 0.6502 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007774/1.042, allocations: 6.081 MB / 0.6561 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.042, allocations: 3.75 kB / 0.6561 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/1.058, allocations: 10.38 MB / 0.6663 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/1.06, allocations: 0.9034 MB / 0.6671 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/1.061, allocations: 43.38 kB / 0.6672 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.064, allocations: 158.3 kB / 0.6673 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006902/1.065, allocations: 180.8 kB / 0.6675 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004192/1.065, allocations: 106.4 kB / 0.6676 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005383/1.071, allocations: 2.829 MB / 0.6704 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/1.071, allocations: 0 / 0.6704 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007303/1.078, allocations: 1.186 MB / 0.6715 GB, free: 173.1 MB / 0.5294 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.01531/1.093, allocations: 11.03 MB / 0.6823 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01109/1.105, allocations: 7.73 MB / 0.6899 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.105, allocations: 0 / 0.6899 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003879/1.109, allocations: 2.973 MB / 0.6928 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004553/1.113, allocations: 498.9 kB / 0.6932 GB, free: 157.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08745/1.201, allocations: 59.59 MB / 0.7514 GB, free: 91.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005763/1.206, allocations: 3.624 MB / 0.755 GB, free: 87.99 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00551/1.212, allocations: 2.283 MB / 0.7572 GB, free: 85.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003996/1.216, allocations: 2.315 MB / 0.7595 GB, free: 83.39 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/1.216, allocations: 4 kB / 0.7595 GB, free: 83.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3589/1.575, allocations: 91.51 MB / 0.8488 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.71/21.29, allocations: 6.469 kB / 0.8488 GB, free: 174.9 MB / 0.5294 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.734256135998294] 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.420776841929182 21.438897771 21.050609466 Calling exit ...