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.001254/0.001254, allocations: 93.41 kB / 17.31 MB, free: 6.535 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.001372/0.001372, allocations: 174.8 kB / 18.21 MB, free: 5.684 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.106/1.106, allocations: 223.3 MB / 242.3 MB, free: 14.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002094/0.0002094, allocations: 8.625 kB / 302.1 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06853/0.06875, allocations: 50.41 MB / 352.5 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.1725/0.2412, allocations: 63.96 MB / 416.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02339/0.2646, allocations: 12.89 MB / 429.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008864/0.2735, allocations: 279.3 kB / 429.6 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.2749, allocations: 493.4 kB / 430.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004/0.2789, allocations: 1.896 MB / 432 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.2802, allocations: 0.6326 MB / 432.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005626/0.2858, allocations: 6.252 MB / 438.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007097/0.2929, allocations: 6.474 MB / 445.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.2945, allocations: 1.311 MB / 446.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.2967, allocations: 2.223 MB / 448.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003238/0.297, allocations: 164 kB / 449 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.2984, allocations: 0.9594 MB / 450 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.2999, allocations: 1.944 MB / 451.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.3021, allocations: 2.307 MB / 454.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.3069, allocations: 6.347 MB / 460.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3069, allocations: 0 / 460.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3069, allocations: 8 kB / 460.6 MB, free: 7.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001769/0.3071, allocations: 0 / 460.6 MB, free: 7.898 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.01492/0.322, allocations: 5.128 MB / 465.7 MB, free: 2.703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.322, allocations: 12.03 kB / 465.8 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006125/0.3282, allocations: 2.006 MB / 467.8 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003425/0.3316, allocations: 2.644 MB / 470.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.3318, allocations: 299.5 kB / 470.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006339/0.3324, allocations: 387.8 kB / 471.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.3494, allocations: 12.39 MB / 483.5 MB, free: 172 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.76e-05/0.3495, allocations: 47.52 kB / 483.5 MB, free: 124 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004429/0.3499, allocations: 195.8 kB / 483.7 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00369/0.3536, allocations: 2.241 MB / 485.9 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01763/0.3713, allocations: 11.33 MB / 497.3 MB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04287/0.4141, allocations: 46.99 MB / 0.5315 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1402/0.5543, allocations: 5.358 MB / 0.5367 GB, free: 150.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003398/0.5577, allocations: 3.312 MB / 0.54 GB, free: 149.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/0.5582, allocations: 376.7 kB / 0.5403 GB, free: 149.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.5583, allocations: 56.23 kB / 0.5404 GB, free: 149.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 3.947e-06/0.5583, allocations: 0 / 0.5404 GB, free: 149.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.05834/0.6166, allocations: 26.85 MB / 0.5666 GB, free: 138.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6167, allocations: 153.2 kB / 0.5667 GB, free: 138.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00379/0.6205, allocations: 4.502 MB / 0.5711 GB, free: 133.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.6207, allocations: 58.64 kB / 0.5712 GB, free: 133.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.6218, allocations: 3.464 MB / 0.5746 GB, free: 130.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000461/0.6223, allocations: 0.8772 MB / 0.5754 GB, free: 129.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000534/0.6228, allocations: 0.5699 MB / 0.576 GB, free: 129 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.809e-05/0.6229, allocations: 305.1 kB / 0.5763 GB, free: 128.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/0.6261, allocations: 3.291 MB / 0.5795 GB, free: 125.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004163/0.6303, allocations: 7.256 MB / 0.5866 GB, free: 116.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008022/0.6383, allocations: 11.35 MB / 0.5977 GB, free: 103 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-05/0.6383, allocations: 40 kB / 0.5977 GB, free: 102.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01264/0.651, allocations: 11.44 MB / 0.6089 GB, free: 91.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.651, allocations: 64 kB / 0.6089 GB, free: 91.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.561e-05/0.6511, allocations: 143.5 kB / 0.6091 GB, free: 91.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.6534, allocations: 1.13 MB / 0.6102 GB, free: 90.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004414/0.6578, allocations: 1.727 MB / 0.6119 GB, free: 88.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/0.6634, allocations: 6.017 MB / 0.6177 GB, free: 82.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/0.6671, allocations: 411.6 kB / 0.6181 GB, free: 81.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004082/0.6675, allocations: 452.5 kB / 0.6186 GB, free: 81.41 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 (837): * Single equations (assignments): 833 * 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.002365/0.6699, allocations: 2.359 MB / 0.6209 GB, free: 79.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004267/0.6703, allocations: 398.8 kB / 0.6213 GB, free: 78.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007787/0.6781, allocations: 6.125 MB / 0.6272 GB, free: 72.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.6781, allocations: 31.94 kB / 0.6273 GB, free: 72.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.6782, allocations: 0 / 0.6273 GB, free: 72.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.6782, allocations: 19.84 kB / 0.6273 GB, free: 72.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.6923, allocations: 12.94 MB / 0.6399 GB, free: 59.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.6923, allocations: 8.312 kB / 0.6399 GB, free: 59.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/0.6946, allocations: 0.5343 MB / 0.6405 GB, free: 58.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/0.6967, allocations: 0.9411 MB / 0.6414 GB, free: 57.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.6969, allocations: 83.89 kB / 0.6415 GB, free: 57.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005659/0.7025, allocations: 5.729 MB / 0.647 GB, free: 52.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7025, allocations: 8 kB / 0.6471 GB, free: 52.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/0.713, allocations: 10.36 MB / 0.6572 GB, free: 41.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.7141, allocations: 0.8939 MB / 0.658 GB, free: 40.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/0.7145, allocations: 45.02 kB / 0.6581 GB, free: 40.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/0.7164, allocations: 167.8 kB / 0.6582 GB, free: 40.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/0.7168, allocations: 181.6 kB / 0.6584 GB, free: 40.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/0.7169, allocations: 106.5 kB / 0.6585 GB, free: 40.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002588/0.7195, allocations: 2.826 MB / 0.6613 GB, free: 37.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7195, allocations: 0 / 0.6613 GB, free: 37.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003655/0.7232, allocations: 1.22 MB / 0.6625 GB, free: 36.15 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.0003451/0.7236, allocations: 183.8 kB / 0.6626 GB, free: 35.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007407/0.731, allocations: 7.743 MB / 0.6702 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.731, allocations: 0 / 0.6702 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002954/0.7339, allocations: 2.972 MB / 0.6731 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/0.7375, allocations: 488.6 kB / 0.6736 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.7505, allocations: 14.99 MB / 0.6882 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/0.7532, allocations: 3.668 MB / 0.6918 GB, free: 6.039 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.7545, allocations: 467 kB / 0.6922 GB, free: 5.582 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.7545, allocations: 3.938 kB / 0.6922 GB, free: 5.578 MB / 446.1 MB Notification: Performance of Templates: time 0.2169/0.9713, allocations: 93.22 MB / 0.7833 GB, free: 66.5 MB / 446.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/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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches