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.001417/0.001417, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001584/0.001584, allocations: 216.6 kB / 22.92 MB, free: 5.191 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.278/1.278, allocations: 230.5 MB / 256.4 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 179] 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.001778/0.001778, allocations: 71.83 kB / 376.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2056, allocations: 53.31 MB / 429.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01356/0.2192, allocations: 13.07 MB / 442.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00798/0.2272, allocations: 4.337 MB / 446.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.2287, allocations: 83.75 kB / 446.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006508/0.2352, allocations: 3.761 MB / 450.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004832/0.24, allocations: 2.023 MB / 452.7 MB, free: 120 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.2417, allocations: 0.7019 MB / 453.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005611/0.2473, allocations: 4.213 MB / 457.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004049/0.2514, allocations: 3.388 MB / 461 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.2539, allocations: 1.83 MB / 462.8 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003312/0.2572, allocations: 2.636 MB / 465.4 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007409/0.2579, allocations: 408 kB / 465.8 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.2599, allocations: 1.159 MB / 467 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00209/0.262, allocations: 2.244 MB / 469.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.2648, allocations: 2.587 MB / 471.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008339/0.2732, allocations: 8.116 MB / 479.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2732, allocations: 0 / 479.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2732, allocations: 0 / 479.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001538/0.2733, allocations: 4 kB / 479.9 MB, free: 4.691 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.01819/0.2915, allocations: 6.335 MB / 486.3 MB, free: 14.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2916, allocations: 12.03 kB / 486.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001223/0.2928, allocations: 0.8307 MB / 487.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006889/0.2997, allocations: 2.002 MB / 489.1 MB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005105/0.3048, allocations: 2.922 MB / 492.1 MB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.305, allocations: 283.5 kB / 492.3 MB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008064/0.3058, allocations: 391.8 kB / 492.7 MB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02114/0.3269, allocations: 12.18 MB / 0.4931 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.3271, allocations: 43.64 kB / 0.4931 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005165/0.3276, allocations: 187.8 kB / 0.4933 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004011/0.3316, allocations: 2.19 MB / 0.4954 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/0.3527, allocations: 11.14 MB / 0.5063 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2156/0.5682, allocations: 46.48 MB / 0.5517 GB, free: 71.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/0.5833, allocations: 5.156 MB / 0.5567 GB, free: 70.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.5861, allocations: 3.065 MB / 0.5597 GB, free: 69.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/0.5865, allocations: 371.7 kB / 0.5601 GB, free: 69.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.5866, allocations: 53.44 kB / 0.5601 GB, free: 69.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 3.947e-06/0.5866, allocations: 0 / 0.5601 GB, free: 69.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06037/0.6469, allocations: 27 MB / 0.5865 GB, free: 49.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.647, allocations: 158.5 kB / 0.5866 GB, free: 49.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004468/0.6514, allocations: 4.504 MB / 0.591 GB, free: 44.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004552/0.6519, allocations: 61.7 kB / 0.5911 GB, free: 44.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.6532, allocations: 3.562 MB / 0.5946 GB, free: 40.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007178/0.6539, allocations: 0.9162 MB / 0.5955 GB, free: 40.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.6553, allocations: 1.451 MB / 0.5969 GB, free: 38.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.11e-05/0.6553, allocations: 305.1 kB / 0.5972 GB, free: 38.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003231/0.6586, allocations: 3.273 MB / 0.6004 GB, free: 35.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004357/0.6629, allocations: 7.206 MB / 0.6074 GB, free: 25.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008949/0.6719, allocations: 11.3 MB / 0.6184 GB, free: 12.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.977e-05/0.672, allocations: 40 kB / 0.6185 GB, free: 12.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.01497/0.6869, allocations: 11.38 MB / 0.6296 GB, free: 1.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/0.687, allocations: 64 kB / 0.6297 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.305e-05/0.6871, allocations: 140.9 kB / 0.6298 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/0.6894, allocations: 1.125 MB / 0.6309 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005719/0.6951, allocations: 1.719 MB / 0.6326 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008174/0.7033, allocations: 6.349 MB / 0.6388 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004726/0.708, allocations: 395.7 kB / 0.6392 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007259/0.7087, allocations: 451.8 kB / 0.6396 GB, free: 6.98 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.003413/0.7121, allocations: 2.325 MB / 0.6419 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007502/0.7129, allocations: 417.2 kB / 0.6423 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.7232, allocations: 6.11 MB / 0.6482 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-05/0.7232, allocations: 31.44 kB / 0.6482 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.7232, allocations: 4 kB / 0.6483 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.7233, allocations: 7.969 kB / 0.6483 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02063/0.7439, allocations: 12.75 MB / 0.6607 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.7439, allocations: 4.312 kB / 0.6607 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/0.7466, allocations: 0.5343 MB / 0.6612 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/0.7491, allocations: 0.9453 MB / 0.6622 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002598/0.7494, allocations: 83.89 kB / 0.6622 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007767/0.7572, allocations: 6.097 MB / 0.6682 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7572, allocations: 4 kB / 0.6682 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.772, allocations: 10.36 MB / 0.6783 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/0.7738, allocations: 0.9002 MB / 0.6792 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005221/0.7744, allocations: 47.92 kB / 0.6792 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/0.7764, allocations: 155.8 kB / 0.6794 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/0.7769, allocations: 173.7 kB / 0.6796 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/0.7771, allocations: 107.9 kB / 0.6797 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00402/0.7811, allocations: 2.822 MB / 0.6824 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7811, allocations: 4 kB / 0.6824 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005088/0.7862, allocations: 1.191 MB / 0.6836 GB, free: 9.602 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.01516/0.8014, allocations: 11.03 MB / 0.6944 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01157/0.8129, allocations: 7.46 MB / 0.7016 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8129, allocations: 0.6875 kB / 0.7016 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004412/0.8173, allocations: 2.799 MB / 0.7044 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/0.8202, allocations: 0.498 MB / 0.7049 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2423/1.062, allocations: 59.64 MB / 0.7631 GB, free: 184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/1.065, allocations: 3.619 MB / 0.7666 GB, free: 182.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003746/1.069, allocations: 2.286 MB / 0.7689 GB, free: 181.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002432/1.071, allocations: 2.321 MB / 0.7711 GB, free: 179.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.041e-06/1.071, allocations: 2.344 kB / 0.7711 GB, free: 179.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/1.188, allocations: 92.65 MB / 0.8616 GB, free: 87.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.24, allocations: 14.81 kB / 0.8616 GB, free: 87.09 MB / 0.545 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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: 20.451602889006608]