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.001279/0.001279, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001301/0.001301, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.397/1.397, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.00191/0.00191, allocations: 75.81 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09981, allocations: 53.31 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2017/0.3015, allocations: 11.04 MB / 437.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006888/0.3084, allocations: 3.849 MB / 441.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.31, allocations: 60.91 kB / 441.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00464/0.3146, allocations: 2.71 MB / 444.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.3193, allocations: 1.792 MB / 446.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.3207, allocations: 0.5807 MB / 446.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005129/0.3258, allocations: 3.571 MB / 450.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004179/0.33, allocations: 2.983 MB / 453.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.3329, allocations: 1.454 MB / 454.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.336, allocations: 2.145 MB / 457.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007292/0.3368, allocations: 315.3 kB / 457.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.3388, allocations: 1.074 MB / 458.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.3407, allocations: 1.835 MB / 460.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002468/0.3431, allocations: 2.08 MB / 462.4 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008215/0.3513, allocations: 6.696 MB / 469.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3514, allocations: 1.344 kB / 469.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3514, allocations: 0 / 469.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000188/0.3515, allocations: 0 / 469.1 MB, free: 5.098 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.0182/0.3697, allocations: 5.182 MB / 474.2 MB, free: 1.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.3698, allocations: 8.031 kB / 474.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001171/0.371, allocations: 0.6703 MB / 474.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006739/0.3777, allocations: 1.893 MB / 476.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005926/0.3836, allocations: 2.481 MB / 479.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.3838, allocations: 221.7 kB / 479.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006877/0.3845, allocations: 299.8 kB / 479.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01832/0.4028, allocations: 10.02 MB / 489.8 MB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.4029, allocations: 43.62 kB / 489.9 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004352/0.4034, allocations: 143.9 kB / 490 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003136/0.4065, allocations: 1.801 MB / 491.8 MB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.4245, allocations: 8.976 MB / 0.489 GB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05318/0.4777, allocations: 37.81 MB / 0.526 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/0.4905, allocations: 3.494 MB / 0.5294 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/0.4929, allocations: 1.583 MB / 0.5309 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/0.4936, allocations: 351.8 kB / 0.5313 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.4936, allocations: 51.06 kB / 0.5313 GB, free: 9.527 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 5.059e-06/0.4937, allocations: 4 kB / 0.5313 GB, free: 9.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.04261/0.5363, allocations: 12.87 MB / 0.5439 GB, free: 12.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.5364, allocations: 145.1 kB / 0.544 GB, free: 12.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005941/0.5423, allocations: 4.073 MB / 0.548 GB, free: 8.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002568/0.5426, allocations: 41.7 kB / 0.548 GB, free: 8.234 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002387/0.5449, allocations: 3.131 MB / 0.5511 GB, free: 5.074 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007091/0.5457, allocations: 0.57 MB / 0.5517 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001523/0.5472, allocations: 1.167 MB / 0.5528 GB, free: 3.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5473, allocations: 301.1 kB / 0.5531 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002865/0.5502, allocations: 1.955 MB / 0.555 GB, free: 1.062 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/0.5559, allocations: 5.646 MB / 0.5605 GB, free: 9.555 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00974/0.5657, allocations: 8.233 MB / 0.5685 GB, free: 15.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.587e-05/0.5658, allocations: 36 kB / 0.5686 GB, free: 15.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01538/0.5811, allocations: 8.071 MB / 0.5765 GB, free: 7.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.5813, allocations: 63.94 kB / 0.5765 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/0.5815, allocations: 132 kB / 0.5766 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/0.584, allocations: 0.9083 MB / 0.5775 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00421/0.5883, allocations: 1.31 MB / 0.5788 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00753/0.5958, allocations: 5.198 MB / 0.5839 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/0.6, allocations: 311.5 kB / 0.5842 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009437/0.6009, allocations: 368 kB / 0.5845 GB, free: 14.95 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.004276/0.6052, allocations: 1.978 MB / 0.5865 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009126/0.6061, allocations: 357.6 kB / 0.5868 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006155/0.6123, allocations: 2.751 MB / 0.5895 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.638e-05/0.6123, allocations: 16 kB / 0.5895 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.6123, allocations: 4 kB / 0.5895 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.6123, allocations: 3.984 kB / 0.5895 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.6283, allocations: 7.069 MB / 0.5964 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.6283, allocations: 5.172 kB / 0.5964 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.6293, allocations: 211.7 kB / 0.5966 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/0.6315, allocations: 0.7148 MB / 0.5973 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.6316, allocations: 31.97 kB / 0.5974 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006743/0.6384, allocations: 4.752 MB / 0.602 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.6384, allocations: 7.938 kB / 0.602 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00823/0.6466, allocations: 5.086 MB / 0.607 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.6479, allocations: 414.5 kB / 0.6074 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008731/0.6488, allocations: 20 kB / 0.6074 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/0.6504, allocations: 75.89 kB / 0.6075 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/0.6507, allocations: 96.73 kB / 0.6076 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.6509, allocations: 47.97 kB / 0.6076 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005472/0.6563, allocations: 2.537 MB / 0.6101 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6563, allocations: 3.938 kB / 0.6101 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005466/0.6618, allocations: 0.8788 MB / 0.6109 GB, free: 3.59 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.2373/0.8991, allocations: 5.729 MB / 0.6165 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008421/0.9075, allocations: 4.505 MB / 0.6209 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9075, allocations: 3.938 kB / 0.6209 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.9095, allocations: 1.267 MB / 0.6222 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.912, allocations: 425.8 kB / 0.6226 GB, free: 159.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05673/0.9687, allocations: 43.53 MB / 0.6651 GB, free: 130.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002881/0.9716, allocations: 3.063 MB / 0.6681 GB, free: 128.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003534/0.9751, allocations: 1.839 MB / 0.6699 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/0.9769, allocations: 1.75 MB / 0.6716 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.332e-06/0.9769, allocations: 0 / 0.6716 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/1.079, allocations: 64.63 MB / 0.7347 GB, free: 61.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.76/23.84, allocations: 8.031 kB / 0.7347 GB, free: 61.45 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 & /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: 26.18424346903339] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w', 'rotor1D.phi', 'rotor1D.w'] 23.966078402940184 23.984296679 23.629696991 Calling exit ...