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.0017/0.0017, allocations: 109.4 kB / 20.22 MB, free: 1.812 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.002342/0.002342, allocations: 217.1 kB / 23.48 MB, free: 5.254 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.452/1.452, allocations: 230.5 MB / 257 MB, free: 8.266 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.002083/0.002083, allocations: 67.89 kB / 377.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2693, allocations: 53.31 MB / 430.4 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01339/0.2827, allocations: 11.09 MB / 441.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008356/0.291, allocations: 3.852 MB / 445.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.2926, allocations: 67.75 kB / 445.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005175/0.2978, allocations: 2.725 MB / 448.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004777/0.3026, allocations: 1.794 MB / 449.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.3041, allocations: 0.5849 MB / 450.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005393/0.3095, allocations: 3.565 MB / 454 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003363/0.3129, allocations: 2.522 MB / 456.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.3153, allocations: 1.456 MB / 458 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00319/0.3184, allocations: 2.146 MB / 460.2 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007899/0.3192, allocations: 316 kB / 460.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.3218, allocations: 1.077 MB / 461.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002206/0.324, allocations: 1.831 MB / 463.4 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002531/0.3265, allocations: 2.089 MB / 465.5 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008159/0.3347, allocations: 6.684 MB / 472.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.3347, allocations: 0 / 472.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3347, allocations: 4 kB / 472.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001979/0.3349, allocations: 0 / 472.2 MB, free: 13.28 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.01747/0.3524, allocations: 5.176 MB / 477.3 MB, free: 8.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.3524, allocations: 16.03 kB / 477.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001205/0.3536, allocations: 0.6703 MB / 478 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006508/0.3601, allocations: 1.897 MB / 479.9 MB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005778/0.3659, allocations: 2.468 MB / 482.4 MB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.3661, allocations: 221.7 kB / 482.6 MB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007343/0.3669, allocations: 299.8 kB / 482.9 MB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/0.3856, allocations: 10.03 MB / 492.9 MB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.3857, allocations: 39.64 kB / 493 MB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004282/0.3861, allocations: 143.9 kB / 493.1 MB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003165/0.3893, allocations: 1.813 MB / 494.9 MB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.4076, allocations: 8.951 MB / 0.4921 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05001/0.4577, allocations: 37.81 MB / 0.529 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.4699, allocations: 3.479 MB / 0.5324 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002344/0.4722, allocations: 1.585 MB / 0.5339 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006832/0.4729, allocations: 355.7 kB / 0.5343 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.473, allocations: 51 kB / 0.5343 GB, free: 152 kB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.517e-06/0.473, allocations: 0 / 0.5343 GB, free: 152 kB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2623/0.7352, allocations: 12.89 MB / 0.5469 GB, free: 97.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.7353, allocations: 140.5 kB / 0.547 GB, free: 97.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004708/0.74, allocations: 4.069 MB / 0.551 GB, free: 95.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.7402, allocations: 41.58 kB / 0.5511 GB, free: 95.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.742, allocations: 3.128 MB / 0.5541 GB, free: 93.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005146/0.7425, allocations: 0.5633 MB / 0.5547 GB, free: 93.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.7437, allocations: 1.174 MB / 0.5558 GB, free: 92.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.7438, allocations: 301.1 kB / 0.5561 GB, free: 92.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.746, allocations: 1.956 MB / 0.558 GB, free: 90.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0035/0.7495, allocations: 5.646 MB / 0.5635 GB, free: 82.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006256/0.7557, allocations: 8.239 MB / 0.5716 GB, free: 72.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.571e-05/0.7558, allocations: 36 kB / 0.5716 GB, free: 72.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01163/0.7675, allocations: 8.068 MB / 0.5795 GB, free: 64.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/0.7675, allocations: 78.77 kB / 0.5796 GB, free: 64.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.954e-05/0.7676, allocations: 128 kB / 0.5797 GB, free: 64.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.7696, allocations: 0.9022 MB / 0.5806 GB, free: 63.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/0.773, allocations: 1.314 MB / 0.5818 GB, free: 62.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.7782, allocations: 5.185 MB / 0.5869 GB, free: 57.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004164/0.7823, allocations: 307.8 kB / 0.5872 GB, free: 56.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006561/0.783, allocations: 368 kB / 0.5875 GB, free: 56.36 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.002718/0.7857, allocations: 1.988 MB / 0.5895 GB, free: 54.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/0.7864, allocations: 353.5 kB / 0.5898 GB, free: 54.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.7906, allocations: 2.755 MB / 0.5925 GB, free: 51.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.7906, allocations: 12 kB / 0.5925 GB, free: 51.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7907, allocations: 4 kB / 0.5925 GB, free: 51.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.7907, allocations: 15.97 kB / 0.5925 GB, free: 51.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.8016, allocations: 7.055 MB / 0.5994 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.8016, allocations: 0 / 0.5994 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000938/0.8026, allocations: 215.6 kB / 0.5996 GB, free: 43.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.8044, allocations: 0.7154 MB / 0.6003 GB, free: 43.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.8045, allocations: 35.98 kB / 0.6004 GB, free: 43.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00497/0.8095, allocations: 4.751 MB / 0.605 GB, free: 38.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8095, allocations: 0 / 0.605 GB, free: 38.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00736/0.8168, allocations: 5.098 MB / 0.61 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.8184, allocations: 402.6 kB / 0.6104 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009981/0.8194, allocations: 31.59 kB / 0.6104 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/0.8209, allocations: 67.91 kB / 0.6105 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/0.8212, allocations: 88.47 kB / 0.6106 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.8213, allocations: 47.97 kB / 0.6106 GB, free: 32.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003829/0.8251, allocations: 2.541 MB / 0.6131 GB, free: 29.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.8251, allocations: 0 / 0.6131 GB, free: 29.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004678/0.8298, allocations: 0.8788 MB / 0.6139 GB, free: 29.04 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.006293/0.8361, allocations: 5.737 MB / 0.6195 GB, free: 23.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0061/0.8422, allocations: 4.515 MB / 0.624 GB, free: 18.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.8422, allocations: 0 / 0.624 GB, free: 18.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.8437, allocations: 1.271 MB / 0.6252 GB, free: 17.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/0.8466, allocations: 425.4 kB / 0.6256 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07494/0.9216, allocations: 43.59 MB / 0.6682 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005104/0.9267, allocations: 3.06 MB / 0.6712 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004851/0.9315, allocations: 1.842 MB / 0.673 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003215/0.9348, allocations: 1.753 MB / 0.6747 GB, free: 9.129 MB / 494.1 MB Notification: Performance of SimCode: time 2.084e-06/0.9348, allocations: 0 / 0.6747 GB, free: 9.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3863/1.321, allocations: 64.93 MB / 0.7381 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.23/23.55, allocations: 6.328 kB / 0.7381 GB, free: 179.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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: 25.953261164948344] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w', 'rotor1D.phi', 'rotor1D.w'] 23.673783336067572 23.684536167 23.347251095 Calling exit ...