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.001121/0.001121, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 59.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2585, allocations: 50.54 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.0136/0.2722, allocations: 12.97 MB / 422.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009098/0.2813, allocations: 4.294 MB / 426.5 MB, free: 280 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.2833, allocations: 79.81 kB / 426.6 MB, free: 200 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006419/0.2898, allocations: 3.715 MB / 430.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006026/0.2959, allocations: 2.027 MB / 432.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.2978, allocations: 0.6863 MB / 433 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006058/0.3039, allocations: 4.222 MB / 437.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00535/0.3093, allocations: 4.738 MB / 442 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.3124, allocations: 1.826 MB / 443.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003284/0.3157, allocations: 2.457 MB / 446.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007856/0.3165, allocations: 408 kB / 446.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.3186, allocations: 1.124 MB / 447.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002081/0.3207, allocations: 2.205 MB / 450 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002795/0.3235, allocations: 2.575 MB / 452.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009051/0.3326, allocations: 8.071 MB / 460.6 MB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3326, allocations: 4 kB / 460.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3326, allocations: 0 / 460.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002827/0.3329, allocations: 0 / 460.6 MB, free: 13.98 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02026/0.3532, allocations: 6.184 MB / 466.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3532, allocations: 8.031 kB / 466.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006569/0.3598, allocations: 1.963 MB / 468.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006014/0.3659, allocations: 2.667 MB / 471.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.3662, allocations: 287.5 kB / 471.7 MB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.3674, allocations: 395.6 kB / 472.1 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02287/0.3903, allocations: 12.18 MB / 484.3 MB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002369/0.3905, allocations: 43.59 kB / 484.3 MB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/0.3918, allocations: 183.8 kB / 484.5 MB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004346/0.3962, allocations: 2.194 MB / 486.7 MB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02525/0.4214, allocations: 11.14 MB / 497.9 MB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0658/0.4873, allocations: 46.39 MB / 0.5315 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01737/0.5047, allocations: 5.336 MB / 0.5367 GB, free: 2.812 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2352/0.7399, allocations: 3.321 MB / 0.54 GB, free: 123.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007901/0.7408, allocations: 377.1 kB / 0.5403 GB, free: 122.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.7408, allocations: 51.98 kB / 0.5404 GB, free: 122.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 6.152e-06/0.7408, allocations: 3.125 kB / 0.5404 GB, free: 122.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.06165/0.8025, allocations: 26.75 MB / 0.5665 GB, free: 109.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.8025, allocations: 154.5 kB / 0.5666 GB, free: 109.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/0.8067, allocations: 4.483 MB / 0.571 GB, free: 104.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.8069, allocations: 61.58 kB / 0.5711 GB, free: 104.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.8081, allocations: 3.43 MB / 0.5744 GB, free: 101.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005328/0.8087, allocations: 0.8775 MB / 0.5753 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001462/0.8101, allocations: 1.438 MB / 0.5767 GB, free: 98.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.8102, allocations: 301.1 kB / 0.577 GB, free: 98.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003389/0.8136, allocations: 3.285 MB / 0.5802 GB, free: 95.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004734/0.8183, allocations: 7.219 MB / 0.5872 GB, free: 86.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00936/0.8277, allocations: 11.31 MB / 0.5983 GB, free: 72.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.818e-05/0.8278, allocations: 40 kB / 0.5983 GB, free: 72.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01637/0.8441, allocations: 11.41 MB / 0.6095 GB, free: 61.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/0.8442, allocations: 64 kB / 0.6095 GB, free: 61.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/0.8444, allocations: 140 kB / 0.6097 GB, free: 61.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/0.8468, allocations: 1.125 MB / 0.6108 GB, free: 60.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005724/0.8525, allocations: 1.719 MB / 0.6124 GB, free: 58.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/0.859, allocations: 6.341 MB / 0.6186 GB, free: 51.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005318/0.8643, allocations: 407.3 kB / 0.619 GB, free: 51.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/0.8655, allocations: 451.8 kB / 0.6194 GB, free: 51.08 MB / 462.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.003948/0.8695, allocations: 2.33 MB / 0.6217 GB, free: 48.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009408/0.8704, allocations: 398.8 kB / 0.6221 GB, free: 48.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008797/0.8792, allocations: 6.109 MB / 0.6281 GB, free: 42.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.197e-05/0.8793, allocations: 24 kB / 0.6281 GB, free: 42.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.8793, allocations: 7.938 kB / 0.6281 GB, free: 42.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.8793, allocations: 11.97 kB / 0.6281 GB, free: 42.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/0.8977, allocations: 12.75 MB / 0.6406 GB, free: 29.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.8977, allocations: 4 kB / 0.6406 GB, free: 29.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002616/0.9004, allocations: 0.5381 MB / 0.6411 GB, free: 28.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.9027, allocations: 0.953 MB / 0.642 GB, free: 27.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/0.9032, allocations: 83.83 kB / 0.6421 GB, free: 27.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006139/0.9093, allocations: 6.077 MB / 0.648 GB, free: 21.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.9093, allocations: 7.938 kB / 0.648 GB, free: 21.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.9221, allocations: 10.34 MB / 0.6581 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/0.9243, allocations: 0.8863 MB / 0.659 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/0.9254, allocations: 44 kB / 0.659 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/0.928, allocations: 155.8 kB / 0.6592 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005301/0.9286, allocations: 181.6 kB / 0.6594 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002863/0.9289, allocations: 103.9 kB / 0.6595 GB, free: 9.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004478/0.9333, allocations: 2.822 MB / 0.6622 GB, free: 6.945 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9334, allocations: 4 kB / 0.6622 GB, free: 6.941 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006285/0.9396, allocations: 1.192 MB / 0.6634 GB, free: 5.758 MB / 462.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.0007428/0.9404, allocations: 180.6 kB / 0.6636 GB, free: 5.574 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01084/0.9513, allocations: 7.749 MB / 0.6711 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.9513, allocations: 0 / 0.6711 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004712/0.956, allocations: 2.967 MB / 0.674 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004782/0.9608, allocations: 0.4969 MB / 0.6745 GB, free: 10.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/0.9862, allocations: 11.78 MB / 0.686 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00585/0.9921, allocations: 3.62 MB / 0.6895 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006105/0.9982, allocations: 2.289 MB / 0.6918 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/1, allocations: 431 kB / 0.6922 GB, free: 8.188 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/1, allocations: 0 / 0.6922 GB, free: 8.188 MB / 494.1 MB Notification: Performance of Templates: time 0.3349/1.335, allocations: 52.48 MB / 0.7434 GB, free: 169 MB / 0.5137 GB 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.0.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