Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 202.4 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008445/0.0008446, allocations: 102.1 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002235/0.0002235, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2352, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.04713/0.2824, allocations: 59.69 MB / 471.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02949/0.3119, allocations: 15.87 MB / 487.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01123/0.3232, allocations: 283.3 kB / 487.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.325, allocations: 493.5 kB / 488.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004597/0.3296, allocations: 1.899 MB / 490.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.331, allocations: 0.6281 MB / 490.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006823/0.3379, allocations: 6.304 MB / 497.2 MB, free: 3.793 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008818/0.3467, allocations: 7.713 MB / 0.4931 GB, free: 11.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.3496, allocations: 1.447 MB / 0.4945 GB, free: 10.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0035/0.3531, allocations: 2.203 MB / 0.4967 GB, free: 8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006267/0.3537, allocations: 168 kB / 0.4968 GB, free: 7.836 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.356, allocations: 0.9203 MB / 0.4977 GB, free: 6.914 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001963/0.3579, allocations: 1.932 MB / 0.4996 GB, free: 4.977 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00273/0.3607, allocations: 2.307 MB / 0.5018 GB, free: 2.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2278/0.5885, allocations: 7.619 MB / 0.5093 GB, free: 17.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5886, allocations: 0 / 0.5093 GB, free: 17.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5886, allocations: 0 / 0.5093 GB, free: 17.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003893/0.589, allocations: 0 / 0.5093 GB, free: 17.21 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.0181/0.6071, allocations: 5.18 MB / 0.5143 GB, free: 15.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.6071, allocations: 10.28 kB / 0.5144 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007079/0.6142, allocations: 2.05 MB / 0.5164 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005538/0.6198, allocations: 2.622 MB / 0.5189 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.6201, allocations: 295.2 kB / 0.5192 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.6213, allocations: 394.3 kB / 0.5196 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02132/0.6427, allocations: 12.36 MB / 0.5316 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.6428, allocations: 46.34 kB / 0.5317 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000525/0.6434, allocations: 184 kB / 0.5319 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003506/0.6469, allocations: 2.259 MB / 0.5341 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/0.6674, allocations: 11.27 MB / 0.5451 GB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06058/0.728, allocations: 47 MB / 0.591 GB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/0.7444, allocations: 5.355 MB / 0.5962 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004093/0.7485, allocations: 3.316 MB / 0.5994 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/0.7492, allocations: 386.2 kB / 0.5998 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.7493, allocations: 49.03 kB / 0.5999 GB, free: 11.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 5.611e-06/0.7493, allocations: 0 / 0.5999 GB, free: 11.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.07097/0.8203, allocations: 26.82 MB / 0.626 GB, free: 1.762 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.8204, allocations: 154.5 kB / 0.6262 GB, free: 1.578 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/0.8312, allocations: 4.469 MB / 0.6306 GB, free: 13.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007315/0.832, allocations: 60.7 kB / 0.6306 GB, free: 13.03 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003309/0.8353, allocations: 3.467 MB / 0.634 GB, free: 9.574 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001664/0.837, allocations: 0.8703 MB / 0.6349 GB, free: 8.711 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/0.8383, allocations: 136 kB / 0.635 GB, free: 8.578 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008195/0.8391, allocations: 0.5911 MB / 0.6356 GB, free: 7.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006454/0.8456, allocations: 3.265 MB / 0.6387 GB, free: 4.711 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009295/0.8549, allocations: 7.224 MB / 0.6458 GB, free: 11.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/0.8698, allocations: 11.32 MB / 0.6569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001369/0.8699, allocations: 44 kB / 0.6569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02314/0.8931, allocations: 11.39 MB / 0.668 GB, free: 4.293 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.8933, allocations: 64 kB / 0.6681 GB, free: 4.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003049/0.8937, allocations: 145.6 kB / 0.6682 GB, free: 4.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/0.8968, allocations: 1.121 MB / 0.6693 GB, free: 2.965 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006908/0.9038, allocations: 1.728 MB / 0.671 GB, free: 1.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009397/0.9132, allocations: 6.01 MB / 0.6769 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007537/0.9208, allocations: 408.8 kB / 0.6773 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001795/0.9226, allocations: 455.8 kB / 0.6777 GB, free: 10.45 MB / 0.4948 GB 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.006494/0.9291, allocations: 2.359 MB / 0.68 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/0.9304, allocations: 398.8 kB / 0.6804 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.9423, allocations: 6.119 MB / 0.6864 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-05/0.9424, allocations: 24 kB / 0.6864 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.9424, allocations: 4 kB / 0.6864 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.418e-05/0.9425, allocations: 11.95 kB / 0.6864 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2327/1.175, allocations: 12.92 MB / 0.699 GB, free: 197.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/1.175, allocations: 3.75 kB / 0.699 GB, free: 197.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002602/1.178, allocations: 0.544 MB / 0.6995 GB, free: 197.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/1.18, allocations: 0.9512 MB / 0.7005 GB, free: 197.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003845/1.181, allocations: 78.44 kB / 0.7006 GB, free: 197.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006735/1.187, allocations: 5.719 MB / 0.7061 GB, free: 194.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.187, allocations: 5.531 kB / 0.7061 GB, free: 194.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/1.201, allocations: 10.34 MB / 0.7162 GB, free: 189.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/1.204, allocations: 0.8934 MB / 0.7171 GB, free: 188.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008734/1.205, allocations: 43.7 kB / 0.7171 GB, free: 188.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.207, allocations: 160.8 kB / 0.7173 GB, free: 188.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000566/1.207, allocations: 183.9 kB / 0.7175 GB, free: 188.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.208, allocations: 105.5 kB / 0.7176 GB, free: 188.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00545/1.213, allocations: 2.791 MB / 0.7203 GB, free: 186.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/1.213, allocations: 0 / 0.7203 GB, free: 186.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007303/1.221, allocations: 1.214 MB / 0.7215 GB, free: 184.9 MB / 0.4948 GB 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.0008623/1.221, allocations: 197.2 kB / 0.7217 GB, free: 184.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.233, allocations: 7.698 MB / 0.7292 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.233, allocations: 3.938 kB / 0.7292 GB, free: 177.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004005/1.237, allocations: 2.976 MB / 0.7321 GB, free: 174.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006067/1.243, allocations: 0.4884 MB / 0.7326 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/1.265, allocations: 14.45 MB / 0.7467 GB, free: 159.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005312/1.27, allocations: 3.664 MB / 0.7503 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006895/1.277, allocations: 2.299 MB / 0.7525 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001905/1.279, allocations: 415.1 kB / 0.7529 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.503e-06/1.279, allocations: 0 / 0.7529 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.08751/1.366, allocations: 53.39 MB / 0.8051 GB, free: 100.3 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches