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.001846/0.001846, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002227/0.002227, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.896/2.896, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 71.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4788, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.02713/0.506, allocations: 12.98 MB / 422.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.5226, allocations: 4.291 MB / 427.2 MB, free: 264 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004684/0.5274, allocations: 83.75 kB / 427.3 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01359/0.541, allocations: 3.699 MB / 431 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.5522, allocations: 1.976 MB / 433 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004013/0.5563, allocations: 0.6941 MB / 433.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01173/0.5681, allocations: 4.221 MB / 437.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.5796, allocations: 4.734 MB / 442.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005917/0.5855, allocations: 1.826 MB / 444.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007623/0.5932, allocations: 2.457 MB / 446.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002475/0.5958, allocations: 408 kB / 447.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0057/0.6015, allocations: 1.12 MB / 448.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005451/0.607, allocations: 2.201 MB / 450.6 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00734/0.6144, allocations: 2.583 MB / 453.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01964/0.6342, allocations: 8.068 MB / 461.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.6343, allocations: 3.938 kB / 461.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.6343, allocations: 4 kB / 461.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004244/0.6347, allocations: 4 kB / 461.3 MB, free: 14.02 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.04328/0.678, allocations: 6.176 MB / 467.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/0.6781, allocations: 8.031 kB / 467.5 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/0.6943, allocations: 1.963 MB / 469.4 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/0.7063, allocations: 2.675 MB / 472.1 MB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006228/0.707, allocations: 283.5 kB / 472.4 MB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003095/0.7101, allocations: 395.6 kB / 472.8 MB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05757/0.7677, allocations: 12.17 MB / 484.9 MB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004461/0.7683, allocations: 47.59 kB / 485 MB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002616/0.7709, allocations: 179.8 kB / 485.2 MB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008042/0.779, allocations: 2.194 MB / 487.3 MB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04349/0.8226, allocations: 11.14 MB / 498.5 MB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1192/0.9419, allocations: 46.39 MB / 0.5321 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03425/0.9762, allocations: 5.347 MB / 0.5373 GB, free: 2.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.4709/1.447, allocations: 3.313 MB / 0.5406 GB, free: 123.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/1.449, allocations: 374 kB / 0.5409 GB, free: 122.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/1.449, allocations: 57.58 kB / 0.541 GB, free: 122.8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=200): time 1.849e-05/1.449, allocations: 0 / 0.541 GB, free: 122.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=231): time 0.1556/1.604, allocations: 26.76 MB / 0.5671 GB, free: 109.4 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/1.605, allocations: 150.5 kB / 0.5672 GB, free: 109.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/1.619, allocations: 4.484 MB / 0.5716 GB, free: 104.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009854/1.62, allocations: 57.7 kB / 0.5717 GB, free: 104.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007648/1.627, allocations: 3.434 MB / 0.575 GB, free: 101.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001863/1.629, allocations: 0.8815 MB / 0.5759 GB, free: 100.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00604/1.635, allocations: 1.442 MB / 0.5773 GB, free: 98.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/1.635, allocations: 301.1 kB / 0.5776 GB, free: 98.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009069/1.645, allocations: 3.281 MB / 0.5808 GB, free: 95.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01541/1.66, allocations: 7.22 MB / 0.5878 GB, free: 86.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02038/1.68, allocations: 11.31 MB / 0.5989 GB, free: 72.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002507/1.681, allocations: 40 kB / 0.5989 GB, free: 72.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.03681/1.718, allocations: 11.4 MB / 0.6101 GB, free: 61.49 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002993/1.718, allocations: 64 kB / 0.6101 GB, free: 61.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00031/1.718, allocations: 140 kB / 0.6103 GB, free: 61.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005127/1.723, allocations: 1.13 MB / 0.6114 GB, free: 60.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01233/1.736, allocations: 1.723 MB / 0.613 GB, free: 58.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/1.75, allocations: 6.34 MB / 0.6192 GB, free: 51.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01111/1.761, allocations: 399.5 kB / 0.6196 GB, free: 51.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/1.763, allocations: 459.7 kB / 0.6201 GB, free: 51.13 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.008201/1.772, allocations: 2.326 MB / 0.6223 GB, free: 48.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001993/1.774, allocations: 398.8 kB / 0.6227 GB, free: 48.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02079/1.794, allocations: 6.105 MB / 0.6287 GB, free: 42.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.367e-05/1.795, allocations: 31.98 kB / 0.6287 GB, free: 42.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.754e-05/1.795, allocations: 7.938 kB / 0.6287 GB, free: 42.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.818e-05/1.795, allocations: 7.969 kB / 0.6287 GB, free: 42.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04039/1.835, allocations: 12.75 MB / 0.6412 GB, free: 29.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.657e-05/1.835, allocations: 4.375 kB / 0.6412 GB, free: 29.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005558/1.841, allocations: 0.5346 MB / 0.6417 GB, free: 28.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005237/1.846, allocations: 0.945 MB / 0.6426 GB, free: 27.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009939/1.847, allocations: 91.83 kB / 0.6427 GB, free: 27.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/1.86, allocations: 6.086 MB / 0.6486 GB, free: 21.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/1.86, allocations: 4 kB / 0.6487 GB, free: 21.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0266/1.887, allocations: 10.35 MB / 0.6588 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004628/1.891, allocations: 0.8746 MB / 0.6596 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002031/1.893, allocations: 43.98 kB / 0.6597 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005357/1.899, allocations: 163.7 kB / 0.6598 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001423/1.9, allocations: 173.7 kB / 0.66 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008296/1.901, allocations: 111.9 kB / 0.6601 GB, free: 9.816 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008759/1.91, allocations: 2.818 MB / 0.6628 GB, free: 6.996 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.363e-06/1.91, allocations: 4 kB / 0.6628 GB, free: 6.992 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01187/1.922, allocations: 1.193 MB / 0.664 GB, free: 5.805 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.001378/1.923, allocations: 185.4 kB / 0.6642 GB, free: 5.617 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01998/1.943, allocations: 7.733 MB / 0.6717 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.943, allocations: 0.75 kB / 0.6717 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008826/1.952, allocations: 2.965 MB / 0.6746 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007229/1.96, allocations: 0.4973 MB / 0.6751 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03939/1.999, allocations: 12.32 MB / 0.6871 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/2.009, allocations: 3.616 MB / 0.6907 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003573/2.013, allocations: 471 kB / 0.6911 GB, free: 9.961 MB / 494.1 MB Notification: Performance of SimCode: time 4.218e-06/2.013, allocations: 0 / 0.6911 GB, free: 9.961 MB / 494.1 MB Notification: Performance of Templates: time 0.6522/2.665, allocations: 94.69 MB / 0.7836 GB, free: 127.7 MB / 0.5138 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/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