Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 90.42 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 181.6 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002452/0.0002453, allocations: 8 kB / 301.4 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1005, allocations: 50.42 MB / 351.8 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2561/0.3567, allocations: 63.95 MB / 415.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03958/0.3963, allocations: 12.89 MB / 428.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01801/0.4144, allocations: 279.3 kB / 429 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.4168, allocations: 493.5 kB / 429.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006663/0.4235, allocations: 1.911 MB / 431.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.4257, allocations: 0.6242 MB / 432 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009923/0.4356, allocations: 6.242 MB / 438.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009848/0.4455, allocations: 6.479 MB / 444.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002947/0.4485, allocations: 1.311 MB / 446 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003791/0.4523, allocations: 2.226 MB / 448.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006865/0.453, allocations: 164 kB / 448.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.4553, allocations: 0.9555 MB / 449.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001999/0.4573, allocations: 1.959 MB / 451.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002675/0.46, allocations: 2.307 MB / 453.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008854/0.4689, allocations: 7.625 MB / 461.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4689, allocations: 0 / 461.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4689, allocations: 0 / 461.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002875/0.4692, allocations: 0 / 461.2 MB, free: 6.602 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01861/0.4878, allocations: 5.136 MB / 466.4 MB, free: 1.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4879, allocations: 8.031 kB / 466.4 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007575/0.4955, allocations: 2.006 MB / 468.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005813/0.5013, allocations: 2.655 MB / 471 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.5016, allocations: 291.5 kB / 471.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.5027, allocations: 395.7 kB / 471.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02633/0.529, allocations: 12.39 MB / 484.1 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.5293, allocations: 47.58 kB / 484.1 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006164/0.5299, allocations: 183.8 kB / 484.3 MB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004365/0.5343, allocations: 2.256 MB / 486.6 MB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/0.5583, allocations: 11.31 MB / 497.9 MB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06156/0.6199, allocations: 46.99 MB / 0.5321 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2096/0.8295, allocations: 5.371 MB / 0.5374 GB, free: 151.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004639/0.8342, allocations: 3.313 MB / 0.5406 GB, free: 150.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/0.8349, allocations: 380.7 kB / 0.541 GB, free: 150 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.8349, allocations: 57.7 kB / 0.541 GB, free: 150 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.679e-06/0.8349, allocations: 0 / 0.541 GB, free: 150 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.07398/0.9089, allocations: 26.84 MB / 0.5672 GB, free: 138.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.909, allocations: 150.5 kB / 0.5674 GB, free: 138.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005071/0.9141, allocations: 4.504 MB / 0.5718 GB, free: 133.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006646/0.9148, allocations: 57.7 kB / 0.5718 GB, free: 133.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.9163, allocations: 3.467 MB / 0.5752 GB, free: 130.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.9173, allocations: 0.8819 MB / 0.5761 GB, free: 129.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006375/0.918, allocations: 0.5712 MB / 0.5766 GB, free: 128.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.918, allocations: 301.1 kB / 0.5769 GB, free: 128.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003796/0.9218, allocations: 3.292 MB / 0.5801 GB, free: 125.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005027/0.9269, allocations: 7.25 MB / 0.5872 GB, free: 116 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.9374, allocations: 11.35 MB / 0.5983 GB, free: 102.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.609e-05/0.9375, allocations: 40 kB / 0.5983 GB, free: 102.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01942/0.957, allocations: 11.45 MB / 0.6095 GB, free: 91.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/0.9571, allocations: 66.34 kB / 0.6096 GB, free: 91.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/0.9572, allocations: 140 kB / 0.6097 GB, free: 91.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002491/0.9597, allocations: 1.117 MB / 0.6108 GB, free: 89.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006738/0.9665, allocations: 1.735 MB / 0.6125 GB, free: 88.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006583/0.9731, allocations: 6.013 MB / 0.6184 GB, free: 82.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005876/0.979, allocations: 416.2 kB / 0.6188 GB, free: 81.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/0.9804, allocations: 448.5 kB / 0.6192 GB, free: 81.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (837): * Single equations (assignments): 833 * 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.004541/0.985, allocations: 2.358 MB / 0.6215 GB, free: 78.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/0.986, allocations: 402.8 kB / 0.6219 GB, free: 78.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00964/0.9957, allocations: 6.125 MB / 0.6279 GB, free: 72.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/0.9957, allocations: 24.62 kB / 0.6279 GB, free: 72.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.9958, allocations: 4.875 kB / 0.6279 GB, free: 72.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/0.9958, allocations: 11.91 kB / 0.6279 GB, free: 72.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/1.016, allocations: 12.95 MB / 0.6405 GB, free: 59.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.016, allocations: 11.53 kB / 0.6406 GB, free: 59.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/1.018, allocations: 0.5343 MB / 0.6411 GB, free: 58.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002286/1.021, allocations: 0.9411 MB / 0.642 GB, free: 57.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003497/1.021, allocations: 87.89 kB / 0.6421 GB, free: 57.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/1.027, allocations: 5.723 MB / 0.6477 GB, free: 51.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.027, allocations: 4 kB / 0.6477 GB, free: 51.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/1.041, allocations: 10.35 MB / 0.6578 GB, free: 41.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.043, allocations: 0.9017 MB / 0.6587 GB, free: 40.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/1.044, allocations: 41.03 kB / 0.6587 GB, free: 40.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00272/1.047, allocations: 167.8 kB / 0.6589 GB, free: 40.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006056/1.047, allocations: 173.7 kB / 0.659 GB, free: 40.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003365/1.048, allocations: 110 kB / 0.6591 GB, free: 39.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004708/1.052, allocations: 2.83 MB / 0.6619 GB, free: 37.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.052, allocations: 4 kB / 0.6619 GB, free: 37.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006337/1.059, allocations: 1.213 MB / 0.6631 GB, free: 35.93 MB / 446.1 MB 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.000865/1.06, allocations: 188 kB / 0.6633 GB, free: 35.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01099/1.071, allocations: 7.737 MB / 0.6708 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.071, allocations: 0 / 0.6708 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004048/1.075, allocations: 2.977 MB / 0.6737 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006071/1.081, allocations: 492.6 kB / 0.6742 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02074/1.102, allocations: 14.46 MB / 0.6883 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2001/1.302, allocations: 3.658 MB / 0.6919 GB, free: 134.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007287/1.309, allocations: 2.298 MB / 0.6941 GB, free: 134.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/1.311, allocations: 420.2 kB / 0.6945 GB, free: 134.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.074e-06/1.311, allocations: 0 / 0.6945 GB, free: 134.2 MB / 446.1 MB Notification: Performance of Templates: time 0.09058/1.402, allocations: 53.4 MB / 0.7467 GB, free: 104 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches