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.PrismaticConstraint.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.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.712/1.712, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.16e-05, allocations: 0 / 228.8 MB, free: 15.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2379, allocations: 38.78 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3225/0.5605, allocations: 100.5 MB / 368.1 MB, free: 78.36 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.5608, allocations: 87.58 kB / 368.2 MB, free: 78.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6792/1.24, allocations: 136.1 MB / 0.4925 GB, free: 38.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.24, allocations: 0 / 0.4925 GB, free: 38.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004208/1.241, allocations: 147.4 kB / 0.4926 GB, free: 38.02 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.0258/1.266, allocations: 7.248 MB / 0.4997 GB, free: 35.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.266, allocations: 10.59 kB / 0.4997 GB, free: 35.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01798/1.284, allocations: 2.877 MB / 0.5025 GB, free: 34.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0224/1.307, allocations: 7.648 MB / 0.51 GB, free: 34.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006576/1.308, allocations: 0.5591 MB / 0.5105 GB, free: 34.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003227/1.311, allocations: 0.7562 MB / 0.5113 GB, free: 34.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06916/1.38, allocations: 18.17 MB / 0.529 GB, free: 30.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008205/1.381, allocations: 79.84 kB / 0.5291 GB, free: 30.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004813/1.386, allocations: 352.4 kB / 0.5294 GB, free: 30.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005484/1.391, allocations: 1.605 MB / 0.531 GB, free: 30.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05363/1.445, allocations: 14.84 MB / 0.5455 GB, free: 29.5 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or 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.3399/1.785, allocations: 75.54 MB / 0.6192 GB, free: 59.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03097/1.816, allocations: 7.578 MB / 0.6266 GB, free: 58.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005882/1.822, allocations: 3.225 MB / 0.6298 GB, free: 58.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02971/1.852, allocations: 14.07 MB / 0.6435 GB, free: 55.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/1.852, allocations: 62.27 kB / 0.6436 GB, free: 55.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=251): time 7.213e-06/1.852, allocations: 0 / 0.6436 GB, free: 55.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=297): time 0.1122/1.964, allocations: 29.77 MB / 0.6727 GB, free: 50.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.964, allocations: 161.5 kB / 0.6728 GB, free: 50.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01172/1.976, allocations: 5.131 MB / 0.6778 GB, free: 49.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006109/1.976, allocations: 67.77 kB / 0.6779 GB, free: 49.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003656/1.98, allocations: 4.842 MB / 0.6826 GB, free: 47.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001636/1.982, allocations: 1.138 MB / 0.6837 GB, free: 46.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/1.983, allocations: 174.1 kB / 0.6839 GB, free: 46.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0009015/1.984, allocations: 0.6828 MB / 0.6846 GB, free: 45.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007324/1.991, allocations: 3.279 MB / 0.6878 GB, free: 44.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/2.001, allocations: 8.538 MB / 0.6961 GB, free: 36.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/2.012, allocations: 5.224 MB / 0.7012 GB, free: 34.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001631/2.012, allocations: 54.34 kB / 0.7013 GB, free: 34.66 MB / 378.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.03253/2.044, allocations: 13.63 MB / 0.7146 GB, free: 25.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/2.045, allocations: 84 kB / 0.7147 GB, free: 25.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002144/2.045, allocations: 188 kB / 0.7148 GB, free: 25.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008506/2.053, allocations: 2.26 MB / 0.717 GB, free: 23.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00939/2.063, allocations: 2.084 MB / 0.7191 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02647/2.089, allocations: 20.16 MB / 0.7388 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00936/2.099, allocations: 0.5079 MB / 0.7393 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/2.101, allocations: 0.5125 MB / 0.7398 GB, free: 2.086 MB / 378.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 () * 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.00288/2.103, allocations: 0.793 MB / 0.7405 GB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/2.105, allocations: 0.5245 MB / 0.741 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01992/2.125, allocations: 7.091 MB / 0.748 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.692e-05/2.125, allocations: 43.8 kB / 0.748 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-05/2.125, allocations: 12 kB / 0.748 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.02e-05/2.125, allocations: 13.64 kB / 0.748 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2753/2.401, allocations: 15.61 MB / 0.7633 GB, free: 66.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/2.401, allocations: 2.25 kB / 0.7633 GB, free: 66.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004304/2.405, allocations: 0.5099 MB / 0.7638 GB, free: 66.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009467/2.414, allocations: 2.08 MB / 0.7658 GB, free: 66.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006374/2.415, allocations: 54.61 kB / 0.7659 GB, free: 66.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02983/2.445, allocations: 22.48 MB / 0.7878 GB, free: 55.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.235e-06/2.445, allocations: 3.406 kB / 0.7878 GB, free: 55.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02396/2.469, allocations: 10.97 MB / 0.7985 GB, free: 53.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/2.472, allocations: 1.016 MB / 0.7995 GB, free: 53.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001562/2.474, allocations: 51.41 kB / 0.7996 GB, free: 53.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004059/2.478, allocations: 187.3 kB / 0.7998 GB, free: 53.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/2.479, allocations: 191.3 kB / 0.7999 GB, free: 53.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004546/2.48, allocations: 75.89 kB / 0.8 GB, free: 53.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.008486/2.488, allocations: 3.562 MB / 0.8035 GB, free: 53.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.236e-06/2.488, allocations: 0 / 0.8035 GB, free: 53.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01117/2.499, allocations: 1.74 MB / 0.8052 GB, free: 53.62 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 () * 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.001376/2.501, allocations: 263 kB / 0.8054 GB, free: 53.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01844/2.519, allocations: 9.113 MB / 0.8143 GB, free: 51.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.519, allocations: 3.75 kB / 0.8143 GB, free: 51.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008145/2.527, allocations: 4.113 MB / 0.8184 GB, free: 49.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005327/2.533, allocations: 0.7345 MB / 0.8191 GB, free: 49.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03747/2.57, allocations: 14.13 MB / 0.8329 GB, free: 44.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0121/2.582, allocations: 5.276 MB / 0.838 GB, free: 42.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/2.585, allocations: 419.9 kB / 0.8384 GB, free: 42.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.682e-06/2.585, allocations: 0 / 0.8384 GB, free: 42.31 MB / 394.7 MB Notification: Performance of Templates: time 0.9212/3.506, allocations: 325.1 MB / 1.156 GB, free: 41.22 MB / 426.7 MB