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.0009311/0.0009311, allocations: 95.17 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 201.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002219/0.000222, allocations: 8 kB / 307.7 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09527, allocations: 51.52 MB / 359.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2166/0.3119, allocations: 60.01 MB / 419.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03195/0.3439, allocations: 12.14 MB / 431.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01062/0.3546, allocations: 267.3 kB / 431.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.3562, allocations: 493.5 kB / 432.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00462/0.3608, allocations: 1.853 MB / 434 MB, free: 88 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.3622, allocations: 0.6358 MB / 434.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00709/0.3693, allocations: 6.201 MB / 440.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008692/0.378, allocations: 6.446 MB / 447.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.3803, allocations: 1.303 MB / 448.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.3831, allocations: 2.195 MB / 450.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004339/0.3835, allocations: 160 kB / 451 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.3853, allocations: 0.936 MB / 451.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.387, allocations: 1.912 MB / 453.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002128/0.3892, allocations: 2.26 MB / 456.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007344/0.3965, allocations: 7.493 MB / 463.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3966, allocations: 0 / 463.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3966, allocations: 0 / 463.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002174/0.3968, allocations: 0 / 463.6 MB, free: 2.379 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01789/0.4147, allocations: 5.096 MB / 468.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4147, allocations: 12.03 kB / 468.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007391/0.4221, allocations: 2.026 MB / 470.7 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004881/0.4271, allocations: 2.612 MB / 473.3 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.4273, allocations: 295.4 kB / 473.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000907/0.4282, allocations: 387.8 kB / 474 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02338/0.4516, allocations: 12.19 MB / 486.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001987/0.4518, allocations: 51.5 kB / 486.2 MB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009977/0.4529, allocations: 179.8 kB / 486.4 MB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004332/0.4572, allocations: 2.202 MB / 488.6 MB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/0.481, allocations: 11.16 MB / 499.7 MB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2471/0.7282, allocations: 46.57 MB / 0.5335 GB, free: 134.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/0.7473, allocations: 5.364 MB / 0.5388 GB, free: 134.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004616/0.752, allocations: 3.314 MB / 0.542 GB, free: 134.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006698/0.7527, allocations: 381.5 kB / 0.5424 GB, free: 133.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.7527, allocations: 54.78 kB / 0.5424 GB, free: 133.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 5.511e-06/0.7528, allocations: 0 / 0.5424 GB, free: 133.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.07277/0.8255, allocations: 26.79 MB / 0.5686 GB, free: 125.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.8256, allocations: 150.5 kB / 0.5687 GB, free: 125 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005766/0.8314, allocations: 4.486 MB / 0.5731 GB, free: 120.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003257/0.8317, allocations: 64.2 kB / 0.5732 GB, free: 120.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.8333, allocations: 3.42 MB / 0.5765 GB, free: 117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008192/0.8342, allocations: 0.8794 MB / 0.5774 GB, free: 116.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007848/0.835, allocations: 0.5645 MB / 0.5779 GB, free: 115.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.835, allocations: 305.1 kB / 0.5782 GB, free: 115.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003912/0.8389, allocations: 3.291 MB / 0.5814 GB, free: 111.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005294/0.8442, allocations: 7.23 MB / 0.5885 GB, free: 102.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009949/0.8542, allocations: 11.33 MB / 0.5995 GB, free: 89.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/0.8544, allocations: 40 kB / 0.5996 GB, free: 89.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01795/0.8723, allocations: 11.41 MB / 0.6107 GB, free: 78.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.8725, allocations: 64 kB / 0.6108 GB, free: 78.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/0.8727, allocations: 140 kB / 0.6109 GB, free: 78.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002639/0.8753, allocations: 1.133 MB / 0.612 GB, free: 77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005995/0.8813, allocations: 1.727 MB / 0.6137 GB, free: 75.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006544/0.8879, allocations: 6.014 MB / 0.6196 GB, free: 69.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00539/0.8933, allocations: 403.7 kB / 0.62 GB, free: 68.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/0.8944, allocations: 460.8 kB / 0.6204 GB, free: 68.28 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.004249/0.8987, allocations: 2.329 MB / 0.6227 GB, free: 65.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000968/0.8997, allocations: 406.8 kB / 0.6231 GB, free: 65.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00957/0.9092, allocations: 6.129 MB / 0.629 GB, free: 59.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.559e-05/0.9093, allocations: 28 kB / 0.6291 GB, free: 59.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.9093, allocations: 4 kB / 0.6291 GB, free: 59.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/0.9094, allocations: 11.97 kB / 0.6291 GB, free: 59.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02023/0.9296, allocations: 12.89 MB / 0.6417 GB, free: 46.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.9297, allocations: 4 kB / 0.6417 GB, free: 46.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/0.9323, allocations: 0.5382 MB / 0.6422 GB, free: 45.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/0.9347, allocations: 0.9412 MB / 0.6431 GB, free: 44.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003236/0.935, allocations: 83.89 kB / 0.6432 GB, free: 44.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006052/0.9411, allocations: 5.721 MB / 0.6488 GB, free: 38.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9411, allocations: 0 / 0.6488 GB, free: 38.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/0.9539, allocations: 10.36 MB / 0.6589 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/0.9557, allocations: 0.8979 MB / 0.6598 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008685/0.9566, allocations: 47.94 kB / 0.6598 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/0.9589, allocations: 157.7 kB / 0.66 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/0.9594, allocations: 184.4 kB / 0.6602 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.9596, allocations: 110.5 kB / 0.6603 GB, free: 27.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003556/0.9631, allocations: 2.822 MB / 0.663 GB, free: 24.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9631, allocations: 0 / 0.663 GB, free: 24.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004869/0.968, allocations: 1.186 MB / 0.6642 GB, free: 23.16 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.0004495/0.9685, allocations: 183.9 kB / 0.6644 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009709/0.9782, allocations: 7.73 MB / 0.6719 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.9782, allocations: 4 kB / 0.6719 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003754/0.982, allocations: 2.971 MB / 0.6748 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00543/0.9875, allocations: 488.6 kB / 0.6753 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/1.008, allocations: 14.32 MB / 0.6893 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00393/1.012, allocations: 3.624 MB / 0.6928 GB, free: 9.762 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005691/1.018, allocations: 2.293 MB / 0.695 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1851/1.203, allocations: 412.4 kB / 0.6954 GB, free: 141.2 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/1.203, allocations: 0.5 kB / 0.6954 GB, free: 141.2 MB / 462.1 MB Notification: Performance of Templates: time 0.09654/1.3, allocations: 53.08 MB / 0.7473 GB, free: 116.2 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.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