Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 176.5 kB / 16.71 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 225.7 MB / 243.2 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007267/0.0007266, allocations: 95.84 kB / 294.4 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002617, allocations: 4 kB / 354.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.217, allocations: 50.42 MB / 404.6 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.04536/0.2624, allocations: 59.68 MB / 464.3 MB, free: 3.504 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0343/0.2968, allocations: 15.47 MB / 479.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01315/0.31, allocations: 283.4 kB / 480 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.3119, allocations: 497.4 kB / 480.5 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005538/0.3175, allocations: 1.896 MB / 482.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.3193, allocations: 0.628 MB / 483 MB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007413/0.3267, allocations: 6.25 MB / 489.3 MB, free: 9.793 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009649/0.3364, allocations: 7.736 MB / 497 MB, free: 1.641 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.3392, allocations: 1.447 MB / 498.4 MB, free: 192 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003257/0.3425, allocations: 2.203 MB / 0.4889 GB, free: 13.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008995/0.3434, allocations: 164 kB / 0.4891 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.3458, allocations: 0.9399 MB / 0.49 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00234/0.3482, allocations: 1.92 MB / 0.4919 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003748/0.3519, allocations: 2.307 MB / 0.4941 GB, free: 8.621 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007979/0.3599, allocations: 7.637 MB / 0.5016 GB, free: 0.957 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.36, allocations: 0 / 0.5016 GB, free: 0.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.36, allocations: 0 / 0.5016 GB, free: 0.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002038/0.3602, allocations: 0 / 0.5016 GB, free: 0.957 MB / 378.7 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.1871/0.5473, allocations: 5.131 MB / 0.5066 GB, free: 100.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5474, allocations: 8.875 kB / 0.5066 GB, free: 100.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006831/0.5542, allocations: 2.009 MB / 0.5086 GB, free: 99.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005099/0.5593, allocations: 2.649 MB / 0.5111 GB, free: 97.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.5595, allocations: 295 kB / 0.5114 GB, free: 97.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007244/0.5603, allocations: 389 kB / 0.5118 GB, free: 97.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.5766, allocations: 12.36 MB / 0.5239 GB, free: 84.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.5767, allocations: 51.53 kB / 0.5239 GB, free: 84.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004163/0.5772, allocations: 188.9 kB / 0.5241 GB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003014/0.5802, allocations: 2.248 MB / 0.5263 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.5982, allocations: 11.27 MB / 0.5373 GB, free: 70.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04568/0.6439, allocations: 47 MB / 0.5832 GB, free: 22.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/0.6585, allocations: 5.35 MB / 0.5884 GB, free: 17.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003835/0.6623, allocations: 3.318 MB / 0.5917 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/0.663, allocations: 378.8 kB / 0.592 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.6631, allocations: 55.88 kB / 0.5921 GB, free: 13.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=200): time 5.661e-06/0.6631, allocations: 0 / 0.5921 GB, free: 13.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.06809/0.7312, allocations: 26.83 MB / 0.6183 GB, free: 2.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/0.7313, allocations: 154.5 kB / 0.6184 GB, free: 2.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007368/0.7387, allocations: 4.465 MB / 0.6228 GB, free: 13.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004623/0.7392, allocations: 61.7 kB / 0.6228 GB, free: 13.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002598/0.7418, allocations: 3.465 MB / 0.6262 GB, free: 10.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001225/0.743, allocations: 0.8753 MB / 0.6271 GB, free: 9.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005622/0.7436, allocations: 136 kB / 0.6272 GB, free: 9.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004721/0.7441, allocations: 0.5949 MB / 0.6278 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004969/0.7491, allocations: 3.265 MB / 0.631 GB, free: 5.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00855/0.7577, allocations: 7.222 MB / 0.638 GB, free: 12.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01331/0.771, allocations: 11.32 MB / 0.6491 GB, free: 14.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/0.7711, allocations: 40 kB / 0.6491 GB, free: 14.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01959/0.7907, allocations: 11.39 MB / 0.6603 GB, free: 3.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.521e-05/0.7908, allocations: 64 kB / 0.6603 GB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/0.791, allocations: 140 kB / 0.6604 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/0.7938, allocations: 1.133 MB / 0.6616 GB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006041/0.7998, allocations: 1.727 MB / 0.6632 GB, free: 372 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1932/0.993, allocations: 6.002 MB / 0.6691 GB, free: 140.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005078/0.9981, allocations: 411 kB / 0.6695 GB, free: 140.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/0.9993, allocations: 449.4 kB / 0.6699 GB, free: 140.5 MB / 442.7 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.004221/1.004, allocations: 2.355 MB / 0.6722 GB, free: 139.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006632/1.004, allocations: 400.2 kB / 0.6726 GB, free: 139.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007954/1.012, allocations: 6.124 MB / 0.6786 GB, free: 137.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-05/1.012, allocations: 26.67 kB / 0.6786 GB, free: 137.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.012, allocations: 4.406 kB / 0.6786 GB, free: 137.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/1.012, allocations: 11.88 kB / 0.6786 GB, free: 137.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.029, allocations: 12.93 MB / 0.6913 GB, free: 131 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.029, allocations: 0 / 0.6913 GB, free: 131 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/1.031, allocations: 0.5391 MB / 0.6918 GB, free: 130.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002064/1.034, allocations: 0.9468 MB / 0.6927 GB, free: 129.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/1.034, allocations: 84.75 kB / 0.6928 GB, free: 129.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005592/1.039, allocations: 5.721 MB / 0.6984 GB, free: 123.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.039, allocations: 6.906 kB / 0.6984 GB, free: 123.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.051, allocations: 10.33 MB / 0.7085 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.053, allocations: 0.8943 MB / 0.7093 GB, free: 112.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008115/1.054, allocations: 36 kB / 0.7094 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.056, allocations: 161.3 kB / 0.7095 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000483/1.056, allocations: 187.3 kB / 0.7097 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/1.056, allocations: 107.9 kB / 0.7098 GB, free: 112.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003182/1.059, allocations: 2.791 MB / 0.7125 GB, free: 109.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.06, allocations: 3.219 kB / 0.7125 GB, free: 109.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004391/1.064, allocations: 1.217 MB / 0.7137 GB, free: 108.3 MB / 442.7 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.0004007/1.064, allocations: 187.6 kB / 0.7139 GB, free: 108.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008672/1.073, allocations: 7.706 MB / 0.7214 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.073, allocations: 2 kB / 0.7214 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003123/1.076, allocations: 2.97 MB / 0.7243 GB, free: 97.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/1.08, allocations: 499 kB / 0.7248 GB, free: 97.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/1.097, allocations: 14.45 MB / 0.7389 GB, free: 82.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002752/1.1, allocations: 3.668 MB / 0.7425 GB, free: 78.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004884/1.104, allocations: 2.296 MB / 0.7447 GB, free: 76.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/1.106, allocations: 419.1 kB / 0.7451 GB, free: 76.16 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/1.106, allocations: 0 / 0.7451 GB, free: 76.16 MB / 442.7 MB Notification: Performance of Templates: time 0.07444/1.18, allocations: 53.39 MB / 0.7973 GB, free: 22.93 MB / 442.7 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