Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: 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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001999/0.001999, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002322/0.002322, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 59.97 kB / 307 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1096, allocations: 50.54 MB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01531/0.125, allocations: 12.98 MB / 370.5 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1937/0.3188, allocations: 4.285 MB / 374.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.3208, allocations: 79.97 kB / 374.9 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006312/0.3272, allocations: 3.714 MB / 378.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005856/0.3331, allocations: 1.975 MB / 380.6 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.3349, allocations: 0.6943 MB / 381.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006045/0.3409, allocations: 4.225 MB / 385.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006042/0.347, allocations: 4.752 MB / 390.2 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/0.3507, allocations: 1.823 MB / 392.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004713/0.3555, allocations: 2.445 MB / 394.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001695/0.3572, allocations: 407.3 kB / 394.9 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.3602, allocations: 1.124 MB / 396 MB, free: 1.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002355/0.3626, allocations: 2.181 MB / 398.2 MB, free: 408 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003687/0.3663, allocations: 2.589 MB / 400.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.3764, allocations: 7.811 MB / 408.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3764, allocations: 0 / 408.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3764, allocations: 0 / 408.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002629/0.3767, allocations: 0 / 408.6 MB, free: 6.359 MB / 318.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.02194/0.3986, allocations: 6.179 MB / 414.8 MB, free: 224 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.3987, allocations: 12.03 kB / 414.8 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007207/0.4059, allocations: 1.964 MB / 416.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005744/0.4117, allocations: 2.62 MB / 419.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/0.412, allocations: 289.6 kB / 419.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.413, allocations: 385.6 kB / 420 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/0.4382, allocations: 12.18 MB / 432.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/0.4384, allocations: 47.59 kB / 432.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005163/0.4389, allocations: 178.9 kB / 432.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004245/0.4432, allocations: 2.196 MB / 434.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02395/0.4671, allocations: 11.14 MB / 445.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0706/0.5378, allocations: 46.59 MB / 492.4 MB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/0.5566, allocations: 5.344 MB / 497.7 MB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005003/0.5616, allocations: 3.305 MB / 0.4893 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/0.5624, allocations: 378.4 kB / 0.4896 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.284e-05/0.5625, allocations: 59.81 kB / 0.4897 GB, free: 7.859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=200): time 5.209e-06/0.5625, allocations: 0 / 0.4897 GB, free: 7.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=231): time 0.08301/0.6455, allocations: 26.76 MB / 0.5158 GB, free: 12.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.6457, allocations: 150.5 kB / 0.516 GB, free: 12.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009039/0.6547, allocations: 4.484 MB / 0.5203 GB, free: 8.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000743/0.6555, allocations: 57.7 kB / 0.5204 GB, free: 8.238 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003488/0.659, allocations: 3.422 MB / 0.5237 GB, free: 4.812 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001869/0.6609, allocations: 0.8783 MB / 0.5246 GB, free: 3.941 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004184/0.6651, allocations: 1.453 MB / 0.526 GB, free: 2.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6653, allocations: 309.1 kB / 0.5263 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1978/0.863, allocations: 3.275 MB / 0.5295 GB, free: 134.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00703/0.8701, allocations: 7.218 MB / 0.5366 GB, free: 129.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/0.8823, allocations: 11.31 MB / 0.5476 GB, free: 122.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/0.8825, allocations: 39.81 kB / 0.5476 GB, free: 122.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01769/0.9002, allocations: 11.4 MB / 0.5588 GB, free: 118.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.248e-05/0.9003, allocations: 66.75 kB / 0.5588 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.9004, allocations: 136.6 kB / 0.559 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.9028, allocations: 1.13 MB / 0.5601 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/0.9079, allocations: 1.717 MB / 0.5618 GB, free: 118.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006298/0.9142, allocations: 6.346 MB / 0.5679 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004855/0.919, allocations: 403.4 kB / 0.5683 GB, free: 115.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006278/0.9197, allocations: 448.7 kB / 0.5688 GB, free: 115 MB / 446.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 (834): * Single equations (assignments): 830 * 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.002823/0.9225, allocations: 2.334 MB / 0.571 GB, free: 113.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/0.9231, allocations: 398.8 kB / 0.5714 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007942/0.9311, allocations: 6.112 MB / 0.5774 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/0.9311, allocations: 24 kB / 0.5774 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.9311, allocations: 4.562 kB / 0.5774 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.9311, allocations: 15.78 kB / 0.5774 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.9481, allocations: 12.86 MB / 0.59 GB, free: 95.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.9481, allocations: 4 kB / 0.59 GB, free: 95.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/0.9506, allocations: 0.5382 MB / 0.5905 GB, free: 95.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/0.9529, allocations: 0.9491 MB / 0.5914 GB, free: 94.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/0.9532, allocations: 79.89 kB / 0.5915 GB, free: 94.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005756/0.9589, allocations: 6.061 MB / 0.5974 GB, free: 88.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.959, allocations: 8.875 kB / 0.5974 GB, free: 88.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.9704, allocations: 10.34 MB / 0.6075 GB, free: 77.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/0.9721, allocations: 0.8785 MB / 0.6084 GB, free: 76.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005819/0.9727, allocations: 43.94 kB / 0.6084 GB, free: 76.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/0.9748, allocations: 162.2 kB / 0.6086 GB, free: 76.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/0.9752, allocations: 177.6 kB / 0.6088 GB, free: 76.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/0.9755, allocations: 111.8 kB / 0.6089 GB, free: 76.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003306/0.9788, allocations: 2.817 MB / 0.6116 GB, free: 73.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9788, allocations: 4 kB / 0.6116 GB, free: 73.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005265/0.9841, allocations: 1.187 MB / 0.6128 GB, free: 72.39 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.0005007/0.9846, allocations: 183.5 kB / 0.613 GB, free: 72.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01313/0.9977, allocations: 9.773 MB / 0.6225 GB, free: 62.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.9978, allocations: 0 / 0.6225 GB, free: 62.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003286/1.001, allocations: 2.964 MB / 0.6254 GB, free: 59.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/1.004, allocations: 499.2 kB / 0.6259 GB, free: 59.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/1.019, allocations: 11.92 MB / 0.6375 GB, free: 47.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/1.022, allocations: 3.624 MB / 0.6411 GB, free: 43.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004754/1.027, allocations: 2.289 MB / 0.6433 GB, free: 41.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/1.028, allocations: 415.1 kB / 0.6437 GB, free: 40.72 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/1.028, allocations: 0 / 0.6437 GB, free: 40.72 MB / 446.1 MB Notification: Performance of Templates: time 0.266/1.294, allocations: 56.03 MB / 0.6984 GB, free: 144.3 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches