Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.727/1.727, allocations: 171.1 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.00037, allocations: 8 kB / 233.8 MB, free: 0.9688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08795, allocations: 38.77 MB / 272.6 MB, free: 10.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4267/0.5147, allocations: 100.6 MB / 373.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.5151, allocations: 91.95 kB / 373.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.782/1.297, allocations: 136.9 MB / 0.4982 GB, free: 42.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.297, allocations: 4 kB / 0.4982 GB, free: 42.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004634/1.298, allocations: 148 kB / 0.4984 GB, free: 42.71 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03782/1.336, allocations: 7.687 MB / 0.5059 GB, free: 34.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.336, allocations: 8.031 kB / 0.5059 GB, free: 34.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02242/1.358, allocations: 2.88 MB / 0.5087 GB, free: 32.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02754/1.386, allocations: 7.673 MB / 0.5162 GB, free: 24.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007079/1.386, allocations: 0.5695 MB / 0.5168 GB, free: 23.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004285/1.391, allocations: 0.7536 MB / 0.5175 GB, free: 22.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06074/1.451, allocations: 18.5 MB / 0.5356 GB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005178/1.452, allocations: 83.17 kB / 0.5356 GB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003798/1.456, allocations: 355.8 kB / 0.536 GB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004095/1.46, allocations: 1.703 MB / 0.5376 GB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3227/1.783, allocations: 15.17 MB / 0.5525 GB, free: 45.73 MB / 346.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.1468/1.929, allocations: 75.77 MB / 0.6265 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04579/1.975, allocations: 7.653 MB / 0.6339 GB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03933/2.015, allocations: 14.2 MB / 0.6478 GB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.183e-05/2.015, allocations: 66.55 kB / 0.6479 GB, free: 6.176 MB / 362.7 MB Notification: Performance of pre-optimization done (n=251): time 7.073e-06/2.015, allocations: 0 / 0.6479 GB, free: 6.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=297): time 0.1614/2.176, allocations: 32.82 MB / 0.6799 GB, free: 11.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/2.176, allocations: 162.5 kB / 0.6801 GB, free: 11.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01646/2.193, allocations: 5.83 MB / 0.6858 GB, free: 6.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008501/2.194, allocations: 65.7 kB / 0.6858 GB, free: 6.199 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005621/2.199, allocations: 4.829 MB / 0.6905 GB, free: 1.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002441/2.202, allocations: 1.135 MB / 0.6916 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001672/2.204, allocations: 180 kB / 0.6918 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.2836/2.487, allocations: 0.6873 MB / 0.6925 GB, free: 92.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01018/2.498, allocations: 3.352 MB / 0.6958 GB, free: 92.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01322/2.511, allocations: 8.643 MB / 0.7042 GB, free: 85.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/2.524, allocations: 5.241 MB / 0.7093 GB, free: 85.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002647/2.525, allocations: 60.64 kB / 0.7094 GB, free: 85.68 MB / 394.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.04425/2.569, allocations: 13.8 MB / 0.7228 GB, free: 84.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/2.569, allocations: 85.69 kB / 0.7229 GB, free: 84.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002982/2.569, allocations: 185.4 kB / 0.7231 GB, free: 84.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01244/2.582, allocations: 2.273 MB / 0.7253 GB, free: 84.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01385/2.596, allocations: 2.086 MB / 0.7274 GB, free: 84.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03496/2.631, allocations: 20.81 MB / 0.7477 GB, free: 72.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/2.642, allocations: 0.5118 MB / 0.7482 GB, free: 71.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002133/2.644, allocations: 0.5069 MB / 0.7487 GB, free: 71.9 MB / 394.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.009722/2.653, allocations: 3.374 MB / 0.752 GB, free: 70.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/2.655, allocations: 0.524 MB / 0.7525 GB, free: 70.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02323/2.678, allocations: 7.16 MB / 0.7595 GB, free: 67.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.65e-05/2.678, allocations: 46.95 kB / 0.7595 GB, free: 67.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-05/2.678, allocations: 10.62 kB / 0.7595 GB, free: 67.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.34e-05/2.678, allocations: 13.5 kB / 0.7595 GB, free: 67.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04595/2.724, allocations: 15.37 MB / 0.7746 GB, free: 61.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/2.724, allocations: 2.562 kB / 0.7746 GB, free: 61.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005613/2.73, allocations: 0.5186 MB / 0.7751 GB, free: 61.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0117/2.742, allocations: 2.078 MB / 0.7771 GB, free: 60.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007872/2.743, allocations: 63.34 kB / 0.7772 GB, free: 60.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0357/2.778, allocations: 23.18 MB / 0.7998 GB, free: 38.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.778, allocations: 0 / 0.7998 GB, free: 38.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03115/2.81, allocations: 10.99 MB / 0.8105 GB, free: 29.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004745/2.814, allocations: 1.012 MB / 0.8115 GB, free: 28.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002492/2.817, allocations: 48 kB / 0.8115 GB, free: 28.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007516/2.824, allocations: 194 kB / 0.8117 GB, free: 28.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001573/2.826, allocations: 191 kB / 0.8119 GB, free: 27.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005351/2.827, allocations: 75.09 kB / 0.812 GB, free: 27.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01217/2.839, allocations: 3.618 MB / 0.8155 GB, free: 24.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.465e-06/2.839, allocations: 0 / 0.8155 GB, free: 24.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01663/2.856, allocations: 1.743 MB / 0.8172 GB, free: 23.16 MB / 394.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.002077/2.858, allocations: 261.7 kB / 0.8175 GB, free: 22.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02986/2.888, allocations: 9.255 MB / 0.8265 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.888, allocations: 0 / 0.8265 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2878/3.175, allocations: 4.173 MB / 0.8306 GB, free: 79.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006823/3.182, allocations: 0.7278 MB / 0.8313 GB, free: 79.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05592/3.238, allocations: 19.78 MB / 0.8506 GB, free: 72.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01528/3.254, allocations: 5.279 MB / 0.8558 GB, free: 71.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002857/3.257, allocations: 415.7 kB / 0.8562 GB, free: 71.13 MB / 394.7 MB Notification: Performance of SimCode: time 7.22e-07/3.257, allocations: 0 / 0.8562 GB, free: 71.13 MB / 394.7 MB Notification: Performance of Templates: time 1.199/4.456, allocations: 325.1 MB / 1.174 GB, free: 97.23 MB / 426.7 MB