Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.802/1.802, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 11.98 kB / 233.9 MB, free: 2.367 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08734, allocations: 38.77 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4034/0.4908, allocations: 100.6 MB / 373.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/0.4912, allocations: 96.56 kB / 373.3 MB, free: 5.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8559/1.347, allocations: 136.9 MB / 0.4983 GB, free: 53.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.476e-06/1.347, allocations: 7.938 kB / 0.4983 GB, free: 53.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004818/1.348, allocations: 152 kB / 0.4985 GB, free: 53.36 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.03746/1.385, allocations: 7.679 MB / 0.506 GB, free: 45.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.385, allocations: 8.031 kB / 0.506 GB, free: 45.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02271/1.408, allocations: 2.876 MB / 0.5088 GB, free: 42.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02794/1.436, allocations: 7.688 MB / 0.5163 GB, free: 34.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007464/1.437, allocations: 0.5617 MB / 0.5168 GB, free: 34.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004196/1.441, allocations: 0.7536 MB / 0.5176 GB, free: 33.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06061/1.502, allocations: 18.44 MB / 0.5356 GB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005489/1.502, allocations: 87.19 kB / 0.5357 GB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00374/1.506, allocations: 351.8 kB / 0.536 GB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004006/1.51, allocations: 1.707 MB / 0.5377 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3761/1.886, allocations: 15.17 MB / 0.5525 GB, free: 48.46 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.1264/2.013, allocations: 75.76 MB / 0.6265 GB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04064/2.053, allocations: 7.659 MB / 0.634 GB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03879/2.092, allocations: 14.22 MB / 0.6478 GB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/2.092, allocations: 60.59 kB / 0.6479 GB, free: 11.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=251): time 7.634e-06/2.092, allocations: 2.844 kB / 0.6479 GB, free: 11.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=297): time 0.2076/2.3, allocations: 33.37 MB / 0.6805 GB, free: 7.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/2.3, allocations: 162.5 kB / 0.6806 GB, free: 7.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01508/2.315, allocations: 5.83 MB / 0.6863 GB, free: 1.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007933/2.316, allocations: 69.7 kB / 0.6864 GB, free: 1.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2743/2.59, allocations: 5 MB / 0.6913 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001989/2.593, allocations: 1.134 MB / 0.6924 GB, free: 80.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/2.594, allocations: 178.4 kB / 0.6926 GB, free: 80.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0009441/2.595, allocations: 0.6789 MB / 0.6932 GB, free: 80.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01032/2.605, allocations: 3.355 MB / 0.6965 GB, free: 80.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01416/2.619, allocations: 8.608 MB / 0.7049 GB, free: 73.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/2.634, allocations: 5.238 MB / 0.71 GB, free: 73.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003648/2.634, allocations: 52.69 kB / 0.7101 GB, free: 73.82 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.04413/2.678, allocations: 14 MB / 0.7237 GB, free: 72.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001893/2.678, allocations: 88.42 kB / 0.7238 GB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003242/2.679, allocations: 185.1 kB / 0.724 GB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/2.691, allocations: 2.266 MB / 0.7262 GB, free: 72.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01351/2.704, allocations: 2.092 MB / 0.7283 GB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0342/2.738, allocations: 20.81 MB / 0.7486 GB, free: 58.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01039/2.749, allocations: 0.4977 MB / 0.7491 GB, free: 57.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002189/2.751, allocations: 0.5147 MB / 0.7496 GB, free: 57.86 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 () * 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.00935/2.761, allocations: 3.374 MB / 0.7529 GB, free: 56.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/2.762, allocations: 0.5285 MB / 0.7534 GB, free: 55.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02425/2.786, allocations: 7.162 MB / 0.7604 GB, free: 52.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.27e-05/2.786, allocations: 44.94 kB / 0.7604 GB, free: 52.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.304e-05/2.786, allocations: 8.438 kB / 0.7604 GB, free: 52.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-05/2.786, allocations: 14.03 kB / 0.7604 GB, free: 52.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04728/2.834, allocations: 15.38 MB / 0.7755 GB, free: 44.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/2.834, allocations: 0 / 0.7755 GB, free: 44.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005696/2.84, allocations: 0.5221 MB / 0.776 GB, free: 44.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01149/2.851, allocations: 2.073 MB / 0.778 GB, free: 42.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007574/2.852, allocations: 58.27 kB / 0.7781 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03645/2.888, allocations: 23.19 MB / 0.8007 GB, free: 20.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/2.888, allocations: 0 / 0.8007 GB, free: 20.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03072/2.919, allocations: 10.98 MB / 0.8114 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004116/2.923, allocations: 1.019 MB / 0.8124 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002079/2.925, allocations: 48.86 kB / 0.8125 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005464/2.931, allocations: 186.7 kB / 0.8126 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/2.932, allocations: 191.1 kB / 0.8128 GB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000378/2.933, allocations: 83.27 kB / 0.8129 GB, free: 9.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009197/2.942, allocations: 3.609 MB / 0.8164 GB, free: 6.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.942, allocations: 0 / 0.8164 GB, free: 6.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01199/2.954, allocations: 1.747 MB / 0.8181 GB, free: 5.121 MB / 378.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.001536/2.956, allocations: 255.6 kB / 0.8184 GB, free: 4.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.3268/3.282, allocations: 9.408 MB / 0.8276 GB, free: 84.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/3.282, allocations: 0 / 0.8276 GB, free: 84.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01208/3.294, allocations: 4.174 MB / 0.8316 GB, free: 83.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006558/3.301, allocations: 0.7385 MB / 0.8324 GB, free: 83.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04885/3.35, allocations: 18.95 MB / 0.8509 GB, free: 76.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01366/3.364, allocations: 5.287 MB / 0.856 GB, free: 75.31 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01876/3.383, allocations: 2.732 MB / 0.8587 GB, free: 75.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/3.385, allocations: 346 kB / 0.859 GB, free: 75.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/3.385, allocations: 0 / 0.859 GB, free: 75.09 MB / 394.7 MB Notification: Performance of Templates: time 0.1846/3.57, allocations: 66.54 MB / 0.924 GB, free: 41.9 MB / 394.7 MB