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.001291/0.001291, allocations: 96.81 kB / 16.3 MB, free: 5.574 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.001459/0.001459, allocations: 183.5 kB / 17.19 MB, free: 5.508 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.296/1.296, allocations: 223.2 MB / 241.1 MB, free: 284 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002534/0.0002535, allocations: 11.94 kB / 300.7 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1095, allocations: 50.42 MB / 351.1 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2005/0.3101, allocations: 56.13 MB / 407.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03161/0.3417, allocations: 12.93 MB / 420.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01213/0.3539, allocations: 275.4 kB / 420.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009155/0.3631, allocations: 2.807 MB / 423.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02572/0.3888, allocations: 8.034 MB / 431.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.3926, allocations: 0.6319 MB / 431.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005316/0.398, allocations: 2.394 MB / 434.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009127/0.4071, allocations: 5.709 MB / 440 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.4095, allocations: 1.148 MB / 441.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.412, allocations: 1.522 MB / 442.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008174/0.4128, allocations: 164 kB / 442.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.4148, allocations: 0.7919 MB / 443.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002426/0.4173, allocations: 1.777 MB / 445.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.4186, allocations: 0.9556 MB / 446.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00578/0.4244, allocations: 6.344 MB / 452.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4244, allocations: 0 / 452.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4244, allocations: 3.938 kB / 452.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000196/0.4246, allocations: 0 / 452.8 MB, free: 14.42 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.01723/0.4419, allocations: 5.374 MB / 458.1 MB, free: 8.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4419, allocations: 8.031 kB / 458.1 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007861/0.4498, allocations: 2.294 MB / 460.4 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005825/0.4556, allocations: 2.711 MB / 463.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.4559, allocations: 291.5 kB / 463.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.457, allocations: 395.8 kB / 463.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02663/0.4836, allocations: 12.46 MB / 476.3 MB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.4838, allocations: 51.58 kB / 476.3 MB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005751/0.4844, allocations: 179.8 kB / 476.5 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003948/0.4884, allocations: 2.256 MB / 478.8 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02231/0.5107, allocations: 11.42 MB / 490.2 MB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05811/0.5688, allocations: 46.97 MB / 0.5246 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/0.5862, allocations: 5.465 MB / 0.5299 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006813/0.5869, allocations: 376.3 kB / 0.5302 GB, free: 1.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.587, allocations: 59.88 kB / 0.5303 GB, free: 1.852 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.819e-06/0.587, allocations: 0 / 0.5303 GB, free: 1.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.2962/0.8831, allocations: 27.51 MB / 0.5572 GB, free: 92.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.8833, allocations: 156.1 kB / 0.5573 GB, free: 92.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/0.8895, allocations: 4.606 MB / 0.5618 GB, free: 91.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006893/0.8902, allocations: 60.61 kB / 0.5619 GB, free: 91.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/0.8921, allocations: 3.468 MB / 0.5653 GB, free: 89.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.8933, allocations: 0.8748 MB / 0.5661 GB, free: 89.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005808/0.8938, allocations: 137 kB / 0.5662 GB, free: 89.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003285/0.8942, allocations: 0.5852 MB / 0.5668 GB, free: 89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/0.8984, allocations: 3.252 MB / 0.57 GB, free: 87.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005935/0.9044, allocations: 7.188 MB / 0.577 GB, free: 80.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005818/0.9102, allocations: 4.718 MB / 0.5816 GB, free: 77.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001664/0.9104, allocations: 43.95 kB / 0.5817 GB, free: 77.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.01822/0.9286, allocations: 11.36 MB / 0.5928 GB, free: 69.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.9289, allocations: 68.25 kB / 0.5928 GB, free: 69.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002139/0.9291, allocations: 140 kB / 0.593 GB, free: 69.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/0.9318, allocations: 1.145 MB / 0.5941 GB, free: 68.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006152/0.938, allocations: 1.72 MB / 0.5958 GB, free: 66.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/0.9451, allocations: 6.123 MB / 0.6017 GB, free: 62.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006039/0.9512, allocations: 404.4 kB / 0.6021 GB, free: 61.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001373/0.9526, allocations: 454.9 kB / 0.6026 GB, free: 61.51 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 (833): * Single equations (assignments): 829 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004701/0.9573, allocations: 2.355 MB / 0.6049 GB, free: 60.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.9583, allocations: 398.8 kB / 0.6052 GB, free: 59.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009316/0.9677, allocations: 6.134 MB / 0.6112 GB, free: 55.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.396e-05/0.9677, allocations: 30.19 kB / 0.6113 GB, free: 55.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.9677, allocations: 0 / 0.6113 GB, free: 55.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-05/0.9678, allocations: 11.97 kB / 0.6113 GB, free: 55.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/0.9885, allocations: 12.85 MB / 0.6238 GB, free: 42.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/0.9885, allocations: 4.375 kB / 0.6238 GB, free: 42.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/0.9913, allocations: 0.5435 MB / 0.6243 GB, free: 41.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/0.9938, allocations: 0.9476 MB / 0.6253 GB, free: 40.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005643/0.9944, allocations: 87.89 kB / 0.6254 GB, free: 40.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00648/1.001, allocations: 5.82 MB / 0.631 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.001, allocations: 10.16 kB / 0.6311 GB, free: 34.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/1.015, allocations: 10.79 MB / 0.6416 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002921/1.018, allocations: 0.9016 MB / 0.6425 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/1.02, allocations: 40 kB / 0.6425 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/1.023, allocations: 163.8 kB / 0.6427 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006322/1.023, allocations: 184.9 kB / 0.6428 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003951/1.024, allocations: 108.4 kB / 0.6429 GB, free: 22.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004572/1.028, allocations: 2.907 MB / 0.6458 GB, free: 19.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.193e-06/1.028, allocations: 0 / 0.6458 GB, free: 19.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006337/1.035, allocations: 1.229 MB / 0.647 GB, free: 18.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (205): * Single equations (assignments): 201 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008206/1.036, allocations: 205.8 kB / 0.6472 GB, free: 18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01045/1.046, allocations: 7.685 MB / 0.6547 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.046, allocations: 0 / 0.6547 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00385/1.05, allocations: 2.978 MB / 0.6576 GB, free: 7.777 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/1.053, allocations: 451.6 kB / 0.658 GB, free: 7.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/1.073, allocations: 13.96 MB / 0.6717 GB, free: 9.332 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005193/1.078, allocations: 3.773 MB / 0.6753 GB, free: 5.527 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006014/1.084, allocations: 2.301 MB / 0.6776 GB, free: 3.219 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/1.086, allocations: 419.1 kB / 0.678 GB, free: 2.809 MB / 462.1 MB Notification: Performance of SimCode: time 2.214e-06/1.086, allocations: 0 / 0.678 GB, free: 2.809 MB / 462.1 MB Notification: Performance of Templates: time 0.2834/1.37, allocations: 52.96 MB / 0.7297 GB, free: 176 MB / 494.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","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches