Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.8 MB / 211.6 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003585, allocations: 8 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08029/0.08067, allocations: 44.51 MB / 308.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.3235/0.4042, allocations: 70.53 MB / 378.9 MB, free: 7.227 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03848/0.4427, allocations: 16.65 MB / 395.5 MB, free: 6.781 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01617/0.459, allocations: 367.5 kB / 395.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.4699, allocations: 3.625 MB / 399.5 MB, free: 4.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0327/0.5027, allocations: 9.933 MB / 409.5 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005688/0.5084, allocations: 1.181 MB / 410.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007724/0.5162, allocations: 3.771 MB / 414.4 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01638/0.5326, allocations: 9.459 MB / 423.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/0.5366, allocations: 1.752 MB / 425.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004162/0.5408, allocations: 2.058 MB / 427.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.5421, allocations: 224 kB / 427.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004146/0.5463, allocations: 1.34 MB / 429.2 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003982/0.5503, allocations: 2.563 MB / 431.8 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.5528, allocations: 1.342 MB / 433.1 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.5675, allocations: 9.514 MB / 442.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.473e-06/0.5676, allocations: 0 / 442.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.983e-06/0.5676, allocations: 4 kB / 442.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002556/0.5679, allocations: 0 / 442.7 MB, free: 13.94 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.02044/0.5883, allocations: 7.143 MB / 449.8 MB, free: 7.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5884, allocations: 8.031 kB / 449.8 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.6005, allocations: 2.61 MB / 452.4 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.6124, allocations: 4.533 MB / 457 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005784/0.613, allocations: 424.9 kB / 457.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002631/0.6156, allocations: 0.5726 MB / 457.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04535/0.661, allocations: 16.84 MB / 474.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003066/0.6614, allocations: 73.11 kB / 474.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001795/0.6632, allocations: 258.6 kB / 475.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005347/0.6686, allocations: 2.543 MB / 477.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04271/0.7113, allocations: 14.43 MB / 492.1 MB, free: 12.58 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5621/1.273, allocations: 63.01 MB / 0.5421 GB, free: 120.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02843/1.302, allocations: 7.619 MB / 0.5495 GB, free: 119.6 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03191/1.334, allocations: 16.18 MB / 0.5653 GB, free: 112.5 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/1.334, allocations: 67.72 kB / 0.5654 GB, free: 112.4 MB / 426.8 MB Notification: Performance of pre-optimization done (n=260): time 7.466e-06/1.334, allocations: 0 / 0.5654 GB, free: 112.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=326): time 0.1529/1.487, allocations: 43.41 MB / 0.6078 GB, free: 74.18 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02899/1.516, allocations: 17.03 MB / 0.6244 GB, free: 56.64 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01021/1.526, allocations: 5.948 MB / 0.6302 GB, free: 50.72 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007035/1.527, allocations: 74.64 kB / 0.6303 GB, free: 50.64 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002966/1.53, allocations: 4.555 MB / 0.6347 GB, free: 46.11 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001665/1.532, allocations: 1.226 MB / 0.6359 GB, free: 44.9 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009461/1.533, allocations: 176 kB / 0.6361 GB, free: 44.73 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005994/1.533, allocations: 0.695 MB / 0.6368 GB, free: 44.02 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008248/1.542, allocations: 4.066 MB / 0.6408 GB, free: 39.95 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01445/1.556, allocations: 9.283 MB / 0.6498 GB, free: 28.16 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/1.57, allocations: 6.01 MB / 0.6557 GB, free: 22.16 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001297/1.57, allocations: 52 kB / 0.6557 GB, free: 22.11 MB / 426.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.04335/1.613, allocations: 17.23 MB / 0.6726 GB, free: 4.801 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/1.613, allocations: 87.75 kB / 0.6727 GB, free: 4.719 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000199/1.614, allocations: 184 kB / 0.6728 GB, free: 4.539 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02218/1.636, allocations: 4.59 MB / 0.6773 GB, free: 15.96 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/1.646, allocations: 1.995 MB / 0.6793 GB, free: 13.97 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3758/2.022, allocations: 35.05 MB / 0.7135 GB, free: 139.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009731/2.032, allocations: 0.5366 MB / 0.714 GB, free: 139.1 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/2.033, allocations: 0.5575 MB / 0.7146 GB, free: 139 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 836 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1036 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 33,(2,100.0%) 19,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.007138/2.041, allocations: 3.242 MB / 0.7177 GB, free: 137.8 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/2.042, allocations: 0.5268 MB / 0.7182 GB, free: 137.8 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02781/2.07, allocations: 9.88 MB / 0.7279 GB, free: 134.3 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.874e-05/2.07, allocations: 43.36 kB / 0.7279 GB, free: 134.3 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02384/2.094, allocations: 8.449 MB / 0.7362 GB, free: 131.4 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.943e-05/2.094, allocations: 15.66 kB / 0.7362 GB, free: 131.4 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05172/2.145, allocations: 22.57 MB / 0.7582 GB, free: 110.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.447e-05/2.146, allocations: 5.594 kB / 0.7582 GB, free: 110.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/2.149, allocations: 461.9 kB / 0.7587 GB, free: 109.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01327/2.162, allocations: 3.287 MB / 0.7619 GB, free: 106.4 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007256/2.163, allocations: 63.98 kB / 0.762 GB, free: 106.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04287/2.205, allocations: 25.19 MB / 0.7866 GB, free: 80.88 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01933/2.225, allocations: 11.01 MB / 0.7973 GB, free: 69.7 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03176/2.257, allocations: 13.79 MB / 0.8108 GB, free: 55.95 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00331/2.26, allocations: 1.123 MB / 0.8119 GB, free: 54.8 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/2.261, allocations: 62.39 kB / 0.8119 GB, free: 54.74 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004548/2.266, allocations: 211.7 kB / 0.8121 GB, free: 54.54 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/2.267, allocations: 237.4 kB / 0.8124 GB, free: 54.31 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000562/2.268, allocations: 85.31 kB / 0.8124 GB, free: 54.23 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.007902/2.276, allocations: 3.748 MB / 0.8161 GB, free: 50.51 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.277e-06/2.276, allocations: 3.625 kB / 0.8161 GB, free: 50.51 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01117/2.287, allocations: 1.991 MB / 0.818 GB, free: 48.53 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.constantTorque.phi,bodyOfJoint.body.w_a[2]) * 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 (208): * Single equations (assignments): 200 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 30,(3,100.0%) 21} * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/2.289, allocations: 275.1 kB / 0.8183 GB, free: 48.27 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02008/2.309, allocations: 10.62 MB / 0.8287 GB, free: 37.65 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/2.309, allocations: 4 kB / 0.8287 GB, free: 37.65 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008452/2.317, allocations: 4.134 MB / 0.8327 GB, free: 33.48 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004744/2.322, allocations: 0.7306 MB / 0.8334 GB, free: 32.76 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2639/2.586, allocations: 19.52 MB / 0.8525 GB, free: 147.9 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01176/2.598, allocations: 5.093 MB / 0.8575 GB, free: 147 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002238/2.6, allocations: 421.9 kB / 0.8579 GB, free: 147 MB / 442.8 MB Notification: Performance of SimCode: time 1.618e-06/2.6, allocations: 2.656 kB / 0.8579 GB, free: 147 MB / 442.8 MB Notification: Performance of Templates: time 0.5814/3.181, allocations: 244 MB / 1.096 GB, free: 69.6 MB / 442.8 MB