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.001321/0.001321, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001475/0.001475, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.416/1.416, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.001925/0.001925, allocations: 68.02 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09639, allocations: 53.33 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2021/0.2985, allocations: 13.03 MB / 440 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007915/0.3064, allocations: 4.316 MB / 444.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.3085, allocations: 94.72 kB / 444.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006441/0.315, allocations: 3.75 MB / 448.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.3208, allocations: 2.021 MB / 450.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.3227, allocations: 0.7002 MB / 450.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006588/0.3293, allocations: 4.215 MB / 455.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005146/0.3344, allocations: 3.949 MB / 459.1 MB, free: 11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003469/0.3379, allocations: 1.862 MB / 460.9 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004185/0.3421, allocations: 2.628 MB / 463.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001315/0.3434, allocations: 412 kB / 464 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.3464, allocations: 1.157 MB / 465.1 MB, free: 7.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002748/0.3492, allocations: 2.247 MB / 467.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003553/0.3527, allocations: 2.593 MB / 470 MB, free: 4.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.3631, allocations: 8.11 MB / 478.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3631, allocations: 0 / 478.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3631, allocations: 0 / 478.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002203/0.3633, allocations: 0 / 478.1 MB, free: 13.58 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.02108/0.3844, allocations: 6.339 MB / 484.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3844, allocations: 8.031 kB / 484.4 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00152/0.3859, allocations: 0.8269 MB / 485.3 MB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007369/0.3933, allocations: 2.01 MB / 487.3 MB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00585/0.3992, allocations: 2.914 MB / 490.2 MB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.3994, allocations: 291.4 kB / 490.5 MB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008893/0.4003, allocations: 391.8 kB / 490.8 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.024/0.4243, allocations: 12.18 MB / 0.4912 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.4244, allocations: 53.89 kB / 0.4913 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000579/0.425, allocations: 179.8 kB / 0.4915 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004464/0.4295, allocations: 2.195 MB / 0.4936 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/0.4537, allocations: 11.13 MB / 0.5045 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06501/0.5187, allocations: 46.47 MB / 0.5499 GB, free: 6.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0185/0.5372, allocations: 5.163 MB / 0.5549 GB, free: 1.266 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004521/0.5417, allocations: 3.06 MB / 0.5579 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/0.5424, allocations: 384.2 kB / 0.5583 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.5424, allocations: 59.44 kB / 0.5583 GB, free: 13.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=200): time 4.719e-06/0.5424, allocations: 0 / 0.5583 GB, free: 13.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.07915/0.6216, allocations: 27 MB / 0.5847 GB, free: 2.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.6217, allocations: 150.5 kB / 0.5848 GB, free: 2.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006713/0.6284, allocations: 4.509 MB / 0.5892 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005755/0.629, allocations: 65.7 kB / 0.5893 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002812/0.6318, allocations: 3.559 MB / 0.5928 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001385/0.6332, allocations: 0.9187 MB / 0.5937 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002376/0.6356, allocations: 1.443 MB / 0.5951 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6357, allocations: 301.3 kB / 0.5954 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00515/0.6408, allocations: 3.282 MB / 0.5986 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008522/0.6494, allocations: 7.207 MB / 0.6056 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2427/0.8921, allocations: 11.29 MB / 0.6166 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/0.8922, allocations: 39.47 kB / 0.6167 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=869) (initialization): time 0.02296/0.9152, allocations: 11.39 MB / 0.6278 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.9153, allocations: 64.91 kB / 0.6278 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001853/0.9155, allocations: 138.4 kB / 0.628 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/0.9185, allocations: 1.126 MB / 0.6291 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006314/0.9248, allocations: 1.714 MB / 0.6308 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008128/0.9329, allocations: 6.352 MB / 0.637 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005453/0.9384, allocations: 405.4 kB / 0.6373 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008773/0.9392, allocations: 450.1 kB / 0.6378 GB, free: 148.1 MB / 0.5137 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.003867/0.9431, allocations: 2.321 MB / 0.64 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007539/0.9439, allocations: 420.5 kB / 0.6404 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009058/0.9529, allocations: 6.114 MB / 0.6464 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/0.9529, allocations: 26.12 kB / 0.6464 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.9529, allocations: 3.812 kB / 0.6464 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.953, allocations: 12.11 kB / 0.6465 GB, free: 145.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/0.97, allocations: 12.74 MB / 0.6589 GB, free: 140.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.97, allocations: 2.5 kB / 0.6589 GB, free: 140.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002625/0.9727, allocations: 0.5381 MB / 0.6594 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002375/0.975, allocations: 0.9484 MB / 0.6604 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002866/0.9753, allocations: 87.39 kB / 0.6604 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005998/0.9813, allocations: 6.094 MB / 0.6664 GB, free: 134 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.9813, allocations: 4 kB / 0.6664 GB, free: 134 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.9932, allocations: 10.36 MB / 0.6765 GB, free: 123.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/0.9953, allocations: 0.8974 MB / 0.6774 GB, free: 122.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006677/0.9959, allocations: 43.98 kB / 0.6774 GB, free: 122.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/0.9983, allocations: 159.8 kB / 0.6776 GB, free: 122.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000554/0.9989, allocations: 181.6 kB / 0.6777 GB, free: 122.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/0.9991, allocations: 107.9 kB / 0.6778 GB, free: 122.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004018/1.003, allocations: 2.822 MB / 0.6806 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/1.003, allocations: 0 / 0.6806 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005863/1.009, allocations: 1.188 MB / 0.6818 GB, free: 118.4 MB / 0.5137 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.01296/1.022, allocations: 11.03 MB / 0.6925 GB, free: 107.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.032, allocations: 7.46 MB / 0.6998 GB, free: 99.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.032, allocations: 7.938 kB / 0.6998 GB, free: 99.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003511/1.036, allocations: 2.788 MB / 0.7026 GB, free: 97.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.039, allocations: 0.4926 MB / 0.703 GB, free: 96.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07006/1.109, allocations: 59.57 MB / 0.7612 GB, free: 30.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/1.112, allocations: 3.627 MB / 0.7648 GB, free: 27.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004559/1.116, allocations: 2.281 MB / 0.767 GB, free: 24.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003581/1.12, allocations: 2.315 MB / 0.7692 GB, free: 22.49 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/1.12, allocations: 0 / 0.7692 GB, free: 22.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3522/1.472, allocations: 92.11 MB / 0.8592 GB, free: 168.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.92/21.39, allocations: 4.188 kB / 0.8592 GB, free: 168.4 MB / 0.545 GB " [Timeout remaining time 638] (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.89935308136046] 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.529719488229603 21.550316186 21.182956629 Calling exit ...