Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.624/1.624, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003812, allocations: 12 kB / 233.2 MB, free: 3.066 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07005/0.07046, allocations: 38.76 MB / 271.9 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2717/0.3422, allocations: 70.52 MB / 342.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04461/0.3868, allocations: 16.63 MB / 359.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01623/0.4031, allocations: 367.1 kB / 359.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01175/0.4149, allocations: 3.624 MB / 363.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03515/0.4501, allocations: 9.931 MB / 373 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006204/0.4563, allocations: 1.205 MB / 374.2 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008722/0.4651, allocations: 3.765 MB / 378 MB, free: 3.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01798/0.4831, allocations: 9.455 MB / 387.4 MB, free: 9.723 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.4873, allocations: 1.756 MB / 389.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004143/0.4915, allocations: 2.056 MB / 391.2 MB, free: 5.898 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.4928, allocations: 224 kB / 391.4 MB, free: 5.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.4966, allocations: 1.342 MB / 392.8 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004004/0.5007, allocations: 2.568 MB / 395.3 MB, free: 1.762 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002378/0.5031, allocations: 1.333 MB / 396.7 MB, free: 428 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.5176, allocations: 9.516 MB / 406.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.811e-06/0.5176, allocations: 0 / 406.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.841e-06/0.5176, allocations: 0 / 406.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002474/0.5179, allocations: 0 / 406.2 MB, free: 6.879 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.02022/0.5381, allocations: 7.138 MB / 413.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5382, allocations: 12.03 kB / 413.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/0.5502, allocations: 2.611 MB / 416 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.5618, allocations: 4.528 MB / 420.5 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005473/0.5624, allocations: 427.1 kB / 420.9 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002304/0.5647, allocations: 0.5699 MB / 421.5 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04378/0.6085, allocations: 16.85 MB / 438.3 MB, free: 5.672 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002792/0.6088, allocations: 55.52 kB / 438.4 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001614/0.6105, allocations: 263.8 kB / 438.6 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005255/0.6158, allocations: 2.545 MB / 441.2 MB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4122/1.028, allocations: 14.43 MB / 455.6 MB, free: 119.4 MB / 362.8 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.08802/1.116, allocations: 62.94 MB / 0.5064 GB, free: 62.86 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02579/1.142, allocations: 7.619 MB / 0.5138 GB, free: 55.09 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02897/1.171, allocations: 16.15 MB / 0.5296 GB, free: 38.59 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/1.171, allocations: 64.55 kB / 0.5297 GB, free: 38.52 MB / 362.8 MB Notification: Performance of pre-optimization done (n=260): time 7.131e-06/1.171, allocations: 4 kB / 0.5297 GB, free: 38.51 MB / 362.8 MB Notification: Performance of matching and sorting (n=326): time 0.3453/1.516, allocations: 43.52 MB / 0.5722 GB, free: 112.9 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03216/1.549, allocations: 17.04 MB / 0.5888 GB, free: 103.5 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.559, allocations: 5.95 MB / 0.5946 GB, free: 101.7 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006671/1.56, allocations: 74.73 kB / 0.5947 GB, free: 101.6 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003066/1.563, allocations: 4.555 MB / 0.5991 GB, free: 98.55 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001696/1.565, allocations: 1.231 MB / 0.6003 GB, free: 97.65 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009414/1.566, allocations: 182.8 kB / 0.6005 GB, free: 97.52 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0006247/1.566, allocations: 0.6917 MB / 0.6012 GB, free: 97.04 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008408/1.575, allocations: 4.058 MB / 0.6052 GB, free: 95.25 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/1.586, allocations: 9.284 MB / 0.6142 GB, free: 86.05 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/1.597, allocations: 6.004 MB / 0.6201 GB, free: 82.13 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/1.597, allocations: 52 kB / 0.6201 GB, free: 82.08 MB / 362.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.04248/1.64, allocations: 17.24 MB / 0.637 GB, free: 64.77 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/1.64, allocations: 84 kB / 0.6371 GB, free: 64.69 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002063/1.64, allocations: 180 kB / 0.6372 GB, free: 64.52 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/1.658, allocations: 4.591 MB / 0.6417 GB, free: 59.94 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008104/1.666, allocations: 2 MB / 0.6437 GB, free: 57.94 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05343/1.72, allocations: 35.04 MB / 0.6779 GB, free: 21.98 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009117/1.729, allocations: 0.5396 MB / 0.6784 GB, free: 21.44 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.73, allocations: 0.5546 MB / 0.679 GB, free: 20.89 MB / 362.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.006698/1.737, allocations: 3.24 MB / 0.6821 GB, free: 17.64 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/1.738, allocations: 0.5283 MB / 0.6826 GB, free: 17.1 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02508/1.763, allocations: 9.876 MB / 0.6923 GB, free: 7.09 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-05/1.764, allocations: 48 kB / 0.6923 GB, free: 7.043 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.2708/2.034, allocations: 8.437 MB / 0.7006 GB, free: 95.33 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.238e-05/2.034, allocations: 17.47 kB / 0.7006 GB, free: 95.33 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05578/2.09, allocations: 22.56 MB / 0.7226 GB, free: 89.25 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-05/2.09, allocations: 7 kB / 0.7226 GB, free: 89.25 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003108/2.093, allocations: 458.9 kB / 0.723 GB, free: 89.22 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01407/2.108, allocations: 3.287 MB / 0.7263 GB, free: 88.59 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007615/2.108, allocations: 60.95 kB / 0.7263 GB, free: 88.56 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04636/2.155, allocations: 25.2 MB / 0.7509 GB, free: 72.85 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01862/2.173, allocations: 11.04 MB / 0.7617 GB, free: 61.66 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03006/2.204, allocations: 13.78 MB / 0.7752 GB, free: 48.01 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003215/2.207, allocations: 1.128 MB / 0.7763 GB, free: 47.05 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001183/2.208, allocations: 61.56 kB / 0.7763 GB, free: 46.99 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004034/2.212, allocations: 211.7 kB / 0.7765 GB, free: 46.79 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/2.213, allocations: 232 kB / 0.7767 GB, free: 46.56 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003723/2.213, allocations: 89.23 kB / 0.7768 GB, free: 46.48 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.006638/2.22, allocations: 3.749 MB / 0.7805 GB, free: 42.76 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.092e-06/2.22, allocations: 0 / 0.7805 GB, free: 42.76 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.01026/2.23, allocations: 1.982 MB / 0.7824 GB, free: 40.79 MB / 362.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.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.001184/2.232, allocations: 270.8 kB / 0.7827 GB, free: 40.54 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.01872/2.25, allocations: 10.62 MB / 0.7931 GB, free: 29.88 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/2.25, allocations: 0 / 0.7931 GB, free: 29.88 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007647/2.258, allocations: 4.128 MB / 0.7971 GB, free: 25.7 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/2.263, allocations: 0.7534 MB / 0.7978 GB, free: 24.96 MB / 362.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:260:5-270:3:writable] Warning: Variable joint.phi has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03427/2.297, allocations: 19.5 MB / 0.8169 GB, free: 5.328 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009608/2.307, allocations: 5.079 MB / 0.8218 GB, free: 220 kB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002239/2.309, allocations: 431.4 kB / 0.8222 GB, free: 15.79 MB / 378.8 MB Notification: Performance of SimCode: time 1.733e-06/2.309, allocations: 0 / 0.8222 GB, free: 15.79 MB / 378.8 MB Notification: Performance of Templates: time 0.7494/3.059, allocations: 243.9 MB / 1.06 GB, free: 57.98 MB / 394.8 MB