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.PrismaticConstraint.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.PrismaticConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.v_0.1.|bodyOfConstraint.v_0.2.|bodyOfConstraint.v_0.3.|constraint.frame_b.r_0.1.|constraint.frame_b.r_0.2.|constraint.frame_b.r_0.3.|jointPrismatic_x.s|jointPrismatic_x.v|jointPrismatic_y.s|jointPrismatic_y.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 12 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0824/0.0828, allocations: 44.5 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.4565, allocations: 106.3 MB / 414.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4568, allocations: 90.7 kB / 414.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.729/1.186, allocations: 136 MB / 0.5379 GB, free: 66.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.516e-06/1.186, allocations: 3.719 kB / 0.5379 GB, free: 66.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004767/1.186, allocations: 149 kB / 0.5381 GB, free: 66.08 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.02873/1.215, allocations: 7.666 MB / 0.5455 GB, free: 63.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.215, allocations: 11.75 kB / 0.5456 GB, free: 63.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03367/1.249, allocations: 2.878 MB / 0.5484 GB, free: 62.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0451/1.294, allocations: 7.684 MB / 0.5559 GB, free: 61.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001197/1.295, allocations: 0.5717 MB / 0.5564 GB, free: 61.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005554/1.301, allocations: 0.7475 MB / 0.5572 GB, free: 61.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04853/1.349, allocations: 18.31 MB / 0.575 GB, free: 58.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004059/1.35, allocations: 78.78 kB / 0.5751 GB, free: 58.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002813/1.353, allocations: 358.6 kB / 0.5755 GB, free: 58.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002848/1.356, allocations: 1.605 MB / 0.577 GB, free: 58.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03926/1.395, allocations: 15.06 MB / 0.5917 GB, free: 57.52 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.1051/1.5, allocations: 75.43 MB / 0.6654 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02735/1.528, allocations: 7.639 MB / 0.6729 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2808/1.808, allocations: 14.08 MB / 0.6866 GB, free: 76.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/1.808, allocations: 65.69 kB / 0.6867 GB, free: 76.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=251): time 7.568e-06/1.808, allocations: 1.25 kB / 0.6867 GB, free: 76.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=297): time 0.1183/1.927, allocations: 32.91 MB / 0.7188 GB, free: 70.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/1.927, allocations: 155.5 kB / 0.719 GB, free: 70.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.938, allocations: 5.198 MB / 0.724 GB, free: 70.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000616/1.938, allocations: 71.2 kB / 0.7241 GB, free: 70.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003481/1.942, allocations: 4.83 MB / 0.7288 GB, free: 67.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.943, allocations: 1.132 MB / 0.7299 GB, free: 67.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008724/1.944, allocations: 181.8 kB / 0.7301 GB, free: 67.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005849/1.945, allocations: 0.6807 MB / 0.7308 GB, free: 66.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007082/1.952, allocations: 3.356 MB / 0.734 GB, free: 66.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009999/1.962, allocations: 8.608 MB / 0.7425 GB, free: 60 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009697/1.972, allocations: 5.248 MB / 0.7476 GB, free: 58.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00016/1.972, allocations: 53.81 kB / 0.7476 GB, free: 58.82 MB / 426.7 MB Warning: The linear system: 1 : bodyOfConstraint.v_0[1] = 0.2148655148851041 * freeMotionScalarInit.v_rel_a_1 + (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 2 : 0.0 = 0.8191520442889918 * bodyOfConstraint.v_0[1] + (-0.09960050292505122) * bodyOfConstraint.v_0[2] + 0.5648625214636235 * bodyOfConstraint.v_0[3] 3 : bodyOfConstraint.v_0[2] = 0.9663834860128886 * freeMotionScalarInit.v_rel_a_1 + 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 4 : bodyOfConstraint.v_0[3] = (-0.1411940808771254) * freeMotionScalarInit.v_rel_a_1 + 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 [ 0.0 , -0.2148655148851041 , 0.0 , 1.0 ; -0.5648625214636235 , 0.0 , 0.09960050292505122 , -0.8191520442889918 ; 0.0 , -0.9663834860128886 , 1.0 , 0.0 ; 1.0 , 0.1411940808771254 , 0.0 , 0.0 ] * [ bodyOfConstraint.v_0[3] ; freeMotionScalarInit.v_rel_a_1 ; bodyOfConstraint.v_0[2] ; bodyOfConstraint.v_0[1] ] = [ (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 ; -0.0 ; 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 ; 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 ] might be structurally or numerically singular for variable bodyOfConstraint.v_0[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=1155) (initialization): time 0.03386/2.006, allocations: 13.8 MB / 0.7611 GB, free: 54.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/2.006, allocations: 86.97 kB / 0.7612 GB, free: 54.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002281/2.006, allocations: 184.5 kB / 0.7614 GB, free: 54.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008825/2.015, allocations: 2.264 MB / 0.7636 GB, free: 53.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008879/2.024, allocations: 2.094 MB / 0.7656 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02814/2.052, allocations: 20.81 MB / 0.7859 GB, free: 39.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009383/2.062, allocations: 0.5075 MB / 0.7864 GB, free: 39.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/2.064, allocations: 0.5225 MB / 0.7869 GB, free: 39.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 60 (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],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1072): * Single equations (assignments): 1061 * 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 {(4,75.0%) 5,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.00857/2.072, allocations: 3.363 MB / 0.7902 GB, free: 37.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/2.074, allocations: 0.5244 MB / 0.7907 GB, free: 36.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/2.091, allocations: 7.163 MB / 0.7977 GB, free: 31.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.529e-05/2.091, allocations: 39.42 kB / 0.7978 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-05/2.091, allocations: 15.94 kB / 0.7978 GB, free: 30.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.557e-05/2.091, allocations: 10.31 kB / 0.7978 GB, free: 30.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0354/2.126, allocations: 15.38 MB / 0.8128 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-05/2.127, allocations: 0 / 0.8128 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003753/2.13, allocations: 0.5174 MB / 0.8133 GB, free: 18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008277/2.139, allocations: 2.084 MB / 0.8154 GB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006684/2.139, allocations: 57.27 kB / 0.8154 GB, free: 16.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2972/2.437, allocations: 23.25 MB / 0.8381 GB, free: 78.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.437, allocations: 0.5469 kB / 0.8381 GB, free: 78.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02576/2.462, allocations: 11.08 MB / 0.8489 GB, free: 77.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003601/2.466, allocations: 1.015 MB / 0.8499 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001779/2.468, allocations: 49.45 kB / 0.85 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004355/2.472, allocations: 190.4 kB / 0.8502 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/2.473, allocations: 191.8 kB / 0.8503 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005407/2.474, allocations: 80.67 kB / 0.8504 GB, free: 77.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009347/2.483, allocations: 3.617 MB / 0.8539 GB, free: 76.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.941e-06/2.483, allocations: 0 / 0.8539 GB, free: 76.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01129/2.495, allocations: 1.738 MB / 0.8556 GB, free: 76.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (bodyOfJoint.v_0[2],bodyOfJoint.v_0[3],bodyOfJoint.body.frame_a.r_0[2],bodyOfJoint.body.frame_a.r_0[3],bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * 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 (214): * Single equations (assignments): 201 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 6,(1,100.0%) 3,(4,75.0%) 5,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/2.496, allocations: 263.4 kB / 0.8559 GB, free: 76.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01945/2.515, allocations: 9.256 MB / 0.8649 GB, free: 75.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.516, allocations: 3.781 kB / 0.8649 GB, free: 75.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008743/2.524, allocations: 4.174 MB / 0.869 GB, free: 74.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005102/2.529, allocations: 0.743 MB / 0.8697 GB, free: 74.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04159/2.571, allocations: 19.72 MB / 0.889 GB, free: 67.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/2.583, allocations: 5.283 MB / 0.8942 GB, free: 66.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/2.586, allocations: 421.5 kB / 0.8946 GB, free: 66.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.616e-06/2.586, allocations: 0 / 0.8946 GB, free: 66.84 MB / 442.7 MB Notification: Performance of Templates: time 0.9754/3.561, allocations: 325.1 MB / 1.212 GB, free: 108.6 MB / 474.7 MB