Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 194.9 MB / 211.7 MB, free: 2.852 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005496/0.0005497, allocations: 8 kB / 264.5 MB, free: 12.89 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.135, allocations: 44.51 MB / 309.1 MB, free: 316 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4985/0.6335, allocations: 106.9 MB / 415.9 MB, free: 10.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004793/0.6341, allocations: 94.33 kB / 416 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8416/1.476, allocations: 128.1 MB / 0.5314 GB, free: 68.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.476, allocations: 0 / 0.5314 GB, free: 68.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005153/1.476, allocations: 139.1 kB / 0.5315 GB, free: 68.77 MB / 410.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.03865/1.515, allocations: 7.521 MB / 0.5389 GB, free: 66.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.515, allocations: 9.625 kB / 0.5389 GB, free: 66.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02185/1.537, allocations: 2.766 MB / 0.5416 GB, free: 65.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02718/1.564, allocations: 7.536 MB / 0.549 GB, free: 64.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007593/1.565, allocations: 0.5153 MB / 0.5495 GB, free: 64.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004059/1.569, allocations: 0.6859 MB / 0.5501 GB, free: 64.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05563/1.625, allocations: 17.26 MB / 0.567 GB, free: 61.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005579/1.625, allocations: 79.09 kB / 0.5671 GB, free: 61.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003557/1.629, allocations: 329.5 kB / 0.5674 GB, free: 61.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003487/1.632, allocations: 1.501 MB / 0.5688 GB, free: 61.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04713/1.68, allocations: 14.52 MB / 0.583 GB, free: 61.18 MB / 410.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.1222/1.802, allocations: 73.29 MB / 0.6546 GB, free: 24.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03709/1.839, allocations: 7.64 MB / 0.6621 GB, free: 17.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05417/1.893, allocations: 15.92 MB / 0.6776 GB, free: 3.871 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.255e-05/1.893, allocations: 60.5 kB / 0.6777 GB, free: 3.805 MB / 426.7 MB Notification: Performance of pre-optimization done (n=261): time 9.328e-06/1.893, allocations: 0 / 0.6777 GB, free: 3.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=335): time 0.6423/2.536, allocations: 45.95 MB / 0.7225 GB, free: 77.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03926/2.575, allocations: 16.1 MB / 0.7383 GB, free: 73.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/2.588, allocations: 5.701 MB / 0.7438 GB, free: 72.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001082/2.589, allocations: 79.28 kB / 0.7439 GB, free: 72.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004436/2.594, allocations: 4.736 MB / 0.7485 GB, free: 69.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002318/2.596, allocations: 1.256 MB / 0.7498 GB, free: 68.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/2.597, allocations: 180.9 kB / 0.7499 GB, free: 68.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007087/2.598, allocations: 0.6937 MB / 0.7506 GB, free: 68.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01052/2.609, allocations: 4.111 MB / 0.7546 GB, free: 66.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01413/2.623, allocations: 9.307 MB / 0.7637 GB, free: 58.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/2.637, allocations: 6.06 MB / 0.7696 GB, free: 56.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001869/2.637, allocations: 57.09 kB / 0.7697 GB, free: 56.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06304/2.7, allocations: 17.95 MB / 0.7872 GB, free: 47.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/2.701, allocations: 87.75 kB / 0.7873 GB, free: 47.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002899/2.701, allocations: 184 kB / 0.7875 GB, free: 47.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0346/2.735, allocations: 4.989 MB / 0.7923 GB, free: 43.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0125/2.748, allocations: 2.002 MB / 0.7943 GB, free: 42.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07869/2.827, allocations: 38.26 MB / 0.8317 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01512/2.842, allocations: 0.5439 MB / 0.8322 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003517/2.846, allocations: 0.5668 MB / 0.8327 GB, free: 7.438 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * 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 (1047): * Single equations (assignments): 1036 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0143/2.86, allocations: 3.255 MB / 0.8359 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.3379/3.198, allocations: 0.5246 MB / 0.8364 GB, free: 68.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04289/3.241, allocations: 10.47 MB / 0.8467 GB, free: 68.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000129/3.241, allocations: 41.03 kB / 0.8467 GB, free: 68.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03566/3.277, allocations: 9.57 MB / 0.856 GB, free: 67.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001151/3.277, allocations: 17.72 kB / 0.8561 GB, free: 67.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0727/3.35, allocations: 23.52 MB / 0.879 GB, free: 66.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.436e-05/3.35, allocations: 3.719 kB / 0.879 GB, free: 66.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004679/3.354, allocations: 462.6 kB / 0.8795 GB, free: 66.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02149/3.376, allocations: 3.675 MB / 0.8831 GB, free: 66.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001011/3.377, allocations: 67.52 kB / 0.8831 GB, free: 66.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06265/3.44, allocations: 28.24 MB / 0.9107 GB, free: 52.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03036/3.47, allocations: 12.65 MB / 0.9231 GB, free: 45.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04554/3.516, allocations: 14.26 MB / 0.937 GB, free: 39.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004698/3.52, allocations: 1.145 MB / 0.9381 GB, free: 38.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002217/3.523, allocations: 61.56 kB / 0.9382 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007088/3.53, allocations: 220.9 kB / 0.9384 GB, free: 38.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001829/3.532, allocations: 248.9 kB / 0.9386 GB, free: 38.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006087/3.532, allocations: 98.55 kB / 0.9387 GB, free: 38.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009064/3.541, allocations: 3.548 MB / 0.9422 GB, free: 35.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.903e-06/3.541, allocations: 0 / 0.9422 GB, free: 35.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01344/3.555, allocations: 2.036 MB / 0.9442 GB, free: 33.27 MB / 426.7 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 (204): * Single equations (assignments): 196 * 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%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001841/3.557, allocations: 266.9 kB / 0.9444 GB, free: 33.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02474/3.582, allocations: 10.79 MB / 0.955 GB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/3.582, allocations: 3.188 kB / 0.955 GB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01019/3.592, allocations: 4.227 MB / 0.9591 GB, free: 20.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006694/3.599, allocations: 0.7463 MB / 0.9598 GB, free: 19.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04334/3.642, allocations: 18.98 MB / 0.9784 GB, free: 2.309 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02123/3.663, allocations: 5.61 MB / 0.9838 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01619/3.68, allocations: 2.738 MB / 0.9865 GB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002832/3.682, allocations: 359.4 kB / 0.9868 GB, free: 12.55 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/3.682, allocations: 0 / 0.9868 GB, free: 12.55 MB / 442.7 MB Notification: Performance of Templates: time 0.6505/4.333, allocations: 88.09 MB / 1.073 GB, free: 57.8 MB / 442.7 MB