Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.6 MB / 223.7 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007932/0.0007932, allocations: 82.44 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002774/0.0002774, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2361, allocations: 47.57 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.04275/0.2789, allocations: 60.27 MB / 436.9 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03201/0.3109, allocations: 15.57 MB / 452.4 MB, free: 3.836 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01327/0.3243, allocations: 279.4 kB / 452.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.3262, allocations: 0.513 MB / 453.2 MB, free: 3.047 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005783/0.3321, allocations: 1.973 MB / 455.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.334, allocations: 0.6281 MB / 455.8 MB, free: 448 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008185/0.3422, allocations: 6.512 MB / 462.3 MB, free: 9.906 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.353, allocations: 7.81 MB / 470.1 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.3563, allocations: 1.506 MB / 471.6 MB, free: 180 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003986/0.3603, allocations: 2.316 MB / 474 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.3615, allocations: 172 kB / 474.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.3645, allocations: 0.9399 MB / 475.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003119/0.3676, allocations: 2.01 MB / 477.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004401/0.3721, allocations: 2.412 MB / 479.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009607/0.3817, allocations: 7.98 MB / 487.5 MB, free: 292 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3817, allocations: 0 / 487.5 MB, free: 292 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3817, allocations: 0 / 487.5 MB, free: 292 kB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003655/0.3821, allocations: 0 / 487.5 MB, free: 292 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.0173/0.3994, allocations: 5.293 MB / 492.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3995, allocations: 8.031 kB / 492.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007198/0.4067, allocations: 2.041 MB / 494.8 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/0.4129, allocations: 2.761 MB / 497.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.4132, allocations: 311.8 kB / 497.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.415, allocations: 407.7 kB / 498.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1927/0.6078, allocations: 12.86 MB / 0.4992 GB, free: 105.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003334/0.6082, allocations: 42.66 kB / 0.4992 GB, free: 105.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001448/0.6097, allocations: 187.8 kB / 0.4994 GB, free: 105.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004383/0.6141, allocations: 2.378 MB / 0.5017 GB, free: 104.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02074/0.6348, allocations: 11.72 MB / 0.5131 GB, free: 96.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05214/0.687, allocations: 48.63 MB / 0.5606 GB, free: 47.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01479/0.7018, allocations: 5.584 MB / 0.5661 GB, free: 41.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003572/0.7055, allocations: 3.483 MB / 0.5695 GB, free: 38.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000505/0.706, allocations: 382.3 kB / 0.5698 GB, free: 38.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.706, allocations: 59.81 kB / 0.5699 GB, free: 37.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=221): time 4.368e-06/0.7061, allocations: 0 / 0.5699 GB, free: 37.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=252): time 0.06164/0.7677, allocations: 27.97 MB / 0.5972 GB, free: 9.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.7678, allocations: 150.5 kB / 0.5974 GB, free: 9.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005254/0.773, allocations: 4.572 MB / 0.6018 GB, free: 5.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007432/0.7738, allocations: 61.7 kB / 0.6019 GB, free: 5.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.7756, allocations: 3.579 MB / 0.6054 GB, free: 1.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00122/0.7768, allocations: 0.9546 MB / 0.6063 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.7772, allocations: 140 kB / 0.6064 GB, free: 396 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003454/0.7775, allocations: 0.5996 MB / 0.607 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005213/0.7827, allocations: 3.437 MB / 0.6104 GB, free: 12.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008551/0.7913, allocations: 7.505 MB / 0.6177 GB, free: 2.832 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/0.8066, allocations: 11.8 MB / 0.6292 GB, free: 5.027 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/0.8068, allocations: 40 kB / 0.6293 GB, free: 4.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02302/0.8298, allocations: 11.85 MB / 0.6408 GB, free: 9.129 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.913e-05/0.83, allocations: 64.94 kB / 0.6409 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/0.8301, allocations: 144 kB / 0.641 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/0.833, allocations: 1.128 MB / 0.6422 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006517/0.8395, allocations: 1.805 MB / 0.6439 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2042/1.044, allocations: 6.027 MB / 0.6498 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006386/1.05, allocations: 421.5 kB / 0.6502 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/1.052, allocations: 471.2 kB / 0.6507 GB, free: 136.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (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 (875): * Single equations (assignments): 871 * 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.005597/1.057, allocations: 2.448 MB / 0.653 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.058, allocations: 415.2 kB / 0.6534 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.07, allocations: 6.478 MB / 0.6598 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.955e-05/1.07, allocations: 30.33 kB / 0.6598 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/1.07, allocations: 4.25 kB / 0.6598 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/1.07, allocations: 16.16 kB / 0.6598 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02189/1.092, allocations: 13.62 MB / 0.6731 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/1.092, allocations: 3.875 kB / 0.6731 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002608/1.095, allocations: 0.5832 MB / 0.6737 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/1.097, allocations: 0.943 MB / 0.6746 GB, free: 129.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003026/1.097, allocations: 88.3 kB / 0.6747 GB, free: 129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005759/1.103, allocations: 5.731 MB / 0.6803 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.103, allocations: 3.812 kB / 0.6803 GB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.116, allocations: 10.92 MB / 0.691 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002565/1.119, allocations: 0.9412 MB / 0.6919 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000949/1.12, allocations: 46.23 kB / 0.6919 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/1.122, allocations: 183.1 kB / 0.6921 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005416/1.122, allocations: 184.7 kB / 0.6923 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/1.123, allocations: 113 kB / 0.6924 GB, free: 113.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003935/1.127, allocations: 2.864 MB / 0.6952 GB, free: 110.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.127, allocations: 0 / 0.6952 GB, free: 110.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006538/1.133, allocations: 1.269 MB / 0.6964 GB, free: 109.7 MB / 426.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 (225): * Single equations (assignments): 221 * 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.0005961/1.134, allocations: 191.2 kB / 0.6966 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01087/1.145, allocations: 8.103 MB / 0.7045 GB, free: 101.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.145, allocations: 4.656 kB / 0.7045 GB, free: 101.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004355/1.149, allocations: 3.176 MB / 0.7076 GB, free: 98.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006308/1.155, allocations: 495 kB / 0.7081 GB, free: 97.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/1.177, allocations: 15.15 MB / 0.7229 GB, free: 82.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003575/1.18, allocations: 3.806 MB / 0.7266 GB, free: 78.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005876/1.186, allocations: 2.396 MB / 0.7289 GB, free: 76.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/1.188, allocations: 439.1 kB / 0.7294 GB, free: 76.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/1.188, allocations: 0 / 0.7294 GB, free: 76.01 MB / 426.7 MB Notification: Performance of Templates: time 0.0934/1.281, allocations: 55.14 MB / 0.7832 GB, free: 20.96 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches