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.PrismaticConstraint.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.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_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 2.139/2.139, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.09847, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5502, allocations: 106.3 MB / 415.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.5505, allocations: 91.92 kB / 415.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.884/1.435, allocations: 136.9 MB / 0.5394 GB, free: 68.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.406e-06/1.435, allocations: 0 / 0.5394 GB, free: 68.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005614/1.435, allocations: 149.6 kB / 0.5396 GB, free: 68.9 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.0377/1.473, allocations: 7.681 MB / 0.5471 GB, free: 66.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.473, allocations: 10.09 kB / 0.5471 GB, free: 66.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02254/1.496, allocations: 2.879 MB / 0.5499 GB, free: 65.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02795/1.524, allocations: 7.688 MB / 0.5574 GB, free: 64.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000701/1.524, allocations: 0.566 MB / 0.558 GB, free: 64.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003919/1.528, allocations: 0.7523 MB / 0.5587 GB, free: 64.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06281/1.591, allocations: 18.43 MB / 0.5767 GB, free: 61.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009678/1.592, allocations: 79.41 kB / 0.5768 GB, free: 61.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005244/1.597, allocations: 358.1 kB / 0.5771 GB, free: 61.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005983/1.603, allocations: 1.708 MB / 0.5788 GB, free: 61.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09738/1.701, allocations: 15.18 MB / 0.5936 GB, free: 59.45 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.1263/1.827, allocations: 75.77 MB / 0.6676 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04071/1.868, allocations: 7.667 MB / 0.6751 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.333/2.201, allocations: 14.19 MB / 0.6889 GB, free: 78.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/2.201, allocations: 64.81 kB / 0.689 GB, free: 78.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=251): time 8.015e-06/2.201, allocations: 3 kB / 0.689 GB, free: 78.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=297): time 0.1571/2.358, allocations: 32.77 MB / 0.721 GB, free: 72.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/2.358, allocations: 157.7 kB / 0.7212 GB, free: 72.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01788/2.376, allocations: 5.83 MB / 0.7269 GB, free: 72.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009932/2.377, allocations: 71.7 kB / 0.7269 GB, free: 72.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006162/2.384, allocations: 5.001 MB / 0.7318 GB, free: 69.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002433/2.386, allocations: 1.142 MB / 0.7329 GB, free: 68.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/2.388, allocations: 174.4 kB / 0.7331 GB, free: 68.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009962/2.389, allocations: 0.6824 MB / 0.7338 GB, free: 68.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01222/2.401, allocations: 3.361 MB / 0.737 GB, free: 68.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01684/2.418, allocations: 8.602 MB / 0.7454 GB, free: 61.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01707/2.435, allocations: 5.246 MB / 0.7506 GB, free: 59.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002271/2.435, allocations: 55.72 kB / 0.7506 GB, free: 59.62 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.04687/2.482, allocations: 13.99 MB / 0.7643 GB, free: 54.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/2.482, allocations: 90.62 kB / 0.7644 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002915/2.483, allocations: 184.5 kB / 0.7645 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01214/2.495, allocations: 2.273 MB / 0.7668 GB, free: 54.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01344/2.508, allocations: 2.087 MB / 0.7688 GB, free: 54.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03472/2.543, allocations: 20.81 MB / 0.7891 GB, free: 40.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/2.554, allocations: 0.5048 MB / 0.7896 GB, free: 40.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002044/2.556, allocations: 0.5166 MB / 0.7901 GB, free: 40 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.009136/2.565, allocations: 3.362 MB / 0.7934 GB, free: 37.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/2.566, allocations: 0.5284 MB / 0.7939 GB, free: 36.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02301/2.589, allocations: 7.16 MB / 0.8009 GB, free: 30.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.319e-05/2.589, allocations: 51.03 kB / 0.801 GB, free: 30.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.663e-05/2.589, allocations: 12 kB / 0.801 GB, free: 30.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.189e-05/2.59, allocations: 11.14 kB / 0.801 GB, free: 30.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04751/2.637, allocations: 15.38 MB / 0.816 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-05/2.637, allocations: 0 / 0.816 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005655/2.643, allocations: 0.5238 MB / 0.8165 GB, free: 17.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01174/2.655, allocations: 2.077 MB / 0.8185 GB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008183/2.655, allocations: 56.23 kB / 0.8186 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4192/3.075, allocations: 23.22 MB / 0.8413 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/3.075, allocations: 1.562 kB / 0.8413 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0336/3.108, allocations: 10.97 MB / 0.852 GB, free: 77.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004279/3.113, allocations: 1.016 MB / 0.853 GB, free: 77.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002101/3.115, allocations: 47.92 kB / 0.853 GB, free: 77.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005636/3.12, allocations: 192.9 kB / 0.8532 GB, free: 77.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/3.122, allocations: 193.9 kB / 0.8534 GB, free: 77.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004625/3.122, allocations: 79.08 kB / 0.8535 GB, free: 77.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01076/3.133, allocations: 3.622 MB / 0.857 GB, free: 77.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.132e-06/3.133, allocations: 0 / 0.857 GB, free: 77.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01258/3.146, allocations: 1.735 MB / 0.8587 GB, free: 77.45 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.001622/3.148, allocations: 259 kB / 0.8589 GB, free: 77.37 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02284/3.17, allocations: 9.267 MB / 0.868 GB, free: 76.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/3.17, allocations: 0 / 0.868 GB, free: 76.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01131/3.182, allocations: 4.171 MB / 0.8721 GB, free: 75.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006651/3.188, allocations: 0.7332 MB / 0.8728 GB, free: 75.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04813/3.237, allocations: 18.97 MB / 0.8913 GB, free: 68.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01354/3.25, allocations: 5.282 MB / 0.8965 GB, free: 67.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01441/3.265, allocations: 2.727 MB / 0.8991 GB, free: 67.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00239/3.267, allocations: 356.2 kB / 0.8995 GB, free: 67.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.513e-06/3.267, allocations: 0 / 0.8995 GB, free: 67.21 MB / 442.7 MB Notification: Performance of Templates: time 0.1883/3.455, allocations: 66.51 MB / 0.9644 GB, free: 33.1 MB / 442.7 MB