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.00136/0.00136, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001453/0.001453, allocations: 212 kB / 24.54 MB, free: 4.016 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 8.066 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.001973/0.001973, allocations: 64.75 kB / 378.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.286, allocations: 53.37 MB / 431.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01339/0.2993, allocations: 11.07 MB / 443 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008882/0.3082, allocations: 3.868 MB / 446.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.3102, allocations: 71.69 kB / 446.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005502/0.3157, allocations: 2.729 MB / 449.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.3208, allocations: 1.806 MB / 451.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.3223, allocations: 0.5849 MB / 452 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005474/0.3278, allocations: 3.574 MB / 455.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003565/0.3313, allocations: 2.732 MB / 458.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.3338, allocations: 1.476 MB / 459.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/0.3372, allocations: 2.142 MB / 462 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008223/0.338, allocations: 316 kB / 462.3 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.3403, allocations: 1.073 MB / 463.4 MB, free: 7.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001918/0.3422, allocations: 1.839 MB / 465.2 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.3446, allocations: 2.082 MB / 467.3 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008568/0.3532, allocations: 6.696 MB / 474 MB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3532, allocations: 0 / 474 MB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3532, allocations: 4 kB / 474 MB, free: 12.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002302/0.3534, allocations: 0 / 474 MB, free: 12.67 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.01806/0.3715, allocations: 5.093 MB / 479.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.3715, allocations: 15.97 kB / 479.1 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001309/0.3728, allocations: 0.6781 MB / 479.8 MB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00652/0.3793, allocations: 1.886 MB / 481.6 MB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005647/0.385, allocations: 2.407 MB / 484.1 MB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.3852, allocations: 229.6 kB / 484.3 MB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009013/0.3861, allocations: 295.8 kB / 484.6 MB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.4052, allocations: 10.02 MB / 494.6 MB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/0.4054, allocations: 47.64 kB / 494.6 MB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004301/0.4058, allocations: 139.9 kB / 494.8 MB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003173/0.409, allocations: 1.809 MB / 496.6 MB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01848/0.4274, allocations: 8.958 MB / 0.4937 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05304/0.4805, allocations: 37.67 MB / 0.5305 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.4931, allocations: 3.035 MB / 0.5334 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/0.4956, allocations: 1.586 MB / 0.535 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.4961, allocations: 128.5 kB / 0.5351 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.236e-05/0.4962, allocations: 51.16 kB / 0.5352 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.318e-06/0.4962, allocations: 0 / 0.5352 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2763/0.7725, allocations: 12.74 MB / 0.5476 GB, free: 97.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.7725, allocations: 144.5 kB / 0.5477 GB, free: 97.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004221/0.7768, allocations: 4.066 MB / 0.5517 GB, free: 95.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.7769, allocations: 41.61 kB / 0.5517 GB, free: 95.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.7782, allocations: 3.132 MB / 0.5548 GB, free: 93.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.7786, allocations: 0.5708 MB / 0.5554 GB, free: 93.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.7797, allocations: 1.173 MB / 0.5565 GB, free: 92.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.7798, allocations: 304.9 kB / 0.5568 GB, free: 92.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.7819, allocations: 1.951 MB / 0.5587 GB, free: 90.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/0.7851, allocations: 5.639 MB / 0.5642 GB, free: 83.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005927/0.791, allocations: 8.241 MB / 0.5723 GB, free: 73.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.796e-05/0.7911, allocations: 36 kB / 0.5723 GB, free: 73.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01089/0.802, allocations: 8.061 MB / 0.5802 GB, free: 65.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/0.802, allocations: 67.94 kB / 0.5802 GB, free: 65.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.359e-05/0.8021, allocations: 136.1 kB / 0.5804 GB, free: 64.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001994/0.8041, allocations: 0.9022 MB / 0.5812 GB, free: 64.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/0.8073, allocations: 1.31 MB / 0.5825 GB, free: 62.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005263/0.8126, allocations: 5.085 MB / 0.5875 GB, free: 57.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004075/0.8167, allocations: 311.8 kB / 0.5878 GB, free: 57.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000779/0.8174, allocations: 368 kB / 0.5881 GB, free: 56.84 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.003189/0.8206, allocations: 1.978 MB / 0.5901 GB, free: 54.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007663/0.8214, allocations: 361.5 kB / 0.5904 GB, free: 54.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/0.8262, allocations: 2.747 MB / 0.5931 GB, free: 51.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/0.8262, allocations: 19.36 kB / 0.5931 GB, free: 51.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.8262, allocations: 7.984 kB / 0.5931 GB, free: 51.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.8262, allocations: 3.984 kB / 0.5931 GB, free: 51.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.8382, allocations: 7.03 MB / 0.6 GB, free: 44.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.8382, allocations: 3.938 kB / 0.6 GB, free: 44.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009762/0.8392, allocations: 211.7 kB / 0.6002 GB, free: 44.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.8411, allocations: 0.7148 MB / 0.6009 GB, free: 43.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.8412, allocations: 31.97 kB / 0.6009 GB, free: 43.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.8461, allocations: 4.652 MB / 0.6055 GB, free: 38.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8461, allocations: 0 / 0.6055 GB, free: 38.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00649/0.8526, allocations: 5.094 MB / 0.6104 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.8537, allocations: 329.6 kB / 0.6108 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008419/0.8546, allocations: 24 kB / 0.6108 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.8562, allocations: 75.84 kB / 0.6108 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/0.8564, allocations: 100.3 kB / 0.6109 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.8565, allocations: 39.98 kB / 0.611 GB, free: 33.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004411/0.861, allocations: 2.541 MB / 0.6135 GB, free: 30.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.861, allocations: 0 / 0.6135 GB, free: 30.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004792/0.8658, allocations: 0.8787 MB / 0.6143 GB, free: 29.79 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.00699/0.8727, allocations: 5.741 MB / 0.6199 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00598/0.8787, allocations: 4.511 MB / 0.6243 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.8787, allocations: 0 / 0.6243 GB, free: 19.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.8803, allocations: 1.275 MB / 0.6256 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/0.8836, allocations: 429.2 kB / 0.626 GB, free: 17.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07357/0.9571, allocations: 43.6 MB / 0.6686 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004996/0.9621, allocations: 3.064 MB / 0.6716 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004651/0.9668, allocations: 1.838 MB / 0.6734 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003107/0.9699, allocations: 1.749 MB / 0.6751 GB, free: 9.891 MB / 494.1 MB Notification: Performance of SimCode: time 1.312e-06/0.9699, allocations: 0 / 0.6751 GB, free: 9.891 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3712/1.341, allocations: 69.15 MB / 0.7426 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.34/23.68, allocations: 1.891 kB / 0.7426 GB, free: 179.6 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: 26.128474324941635] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w', 'rotor1D.phi', 'rotor1D.w'] 23.804959185421467 23.815589766 23.459897177 Calling exit ...