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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.572/1.572, allocations: 171.3 MB / 179.2 MB, free: 7.508 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.834e-05, allocations: 4 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06985/0.06989, allocations: 38.77 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4, allocations: 99.88 MB / 361.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4003, allocations: 90.05 kB / 361.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6577/1.058, allocations: 132.7 MB / 494 MB, free: 57.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.038e-06/1.058, allocations: 0 / 494 MB, free: 57.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003877/1.058, allocations: 147.9 kB / 494.1 MB, free: 57.69 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.02554/1.084, allocations: 7.252 MB / 0.4896 GB, free: 50.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.084, allocations: 8.031 kB / 0.4896 GB, free: 50.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01675/1.101, allocations: 2.876 MB / 0.4924 GB, free: 47.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02117/1.122, allocations: 7.64 MB / 0.4999 GB, free: 39.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/1.122, allocations: 248 kB / 0.5001 GB, free: 39.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002933/1.125, allocations: 451.8 kB / 0.5006 GB, free: 39.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02247/1.148, allocations: 10.64 MB / 0.511 GB, free: 28.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03332/1.181, allocations: 15.31 MB / 0.5259 GB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003815/1.182, allocations: 87.19 kB / 0.526 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002457/1.184, allocations: 39.98 kB / 0.526 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00278/1.187, allocations: 1.602 MB / 0.5276 GB, free: 10.21 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.526/1.713, allocations: 74.1 MB / 0.6 GB, free: 14.04 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006604/1.72, allocations: 4.095 MB / 0.604 GB, free: 12.91 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00438/1.724, allocations: 2.59 MB / 0.6065 GB, free: 11.8 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/1.725, allocations: 0.9045 MB / 0.6074 GB, free: 11.02 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/1.726, allocations: 62.28 kB / 0.6074 GB, free: 10.96 MB / 346.8 MB Notification: Performance of pre-optimization done (n=257): time 7.512e-06/1.726, allocations: 2.812 kB / 0.6074 GB, free: 10.96 MB / 346.8 MB Notification: Performance of matching and sorting (n=303): time 0.08871/1.814, allocations: 29.77 MB / 0.6365 GB, free: 15.49 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.814, allocations: 163.1 kB / 0.6367 GB, free: 15.32 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.825, allocations: 4.503 MB / 0.6411 GB, free: 13.32 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006093/1.825, allocations: 25.7 kB / 0.6411 GB, free: 13.29 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005148/1.831, allocations: 4.937 MB / 0.6459 GB, free: 8.844 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001848/1.832, allocations: 1.123 MB / 0.647 GB, free: 7.836 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007662/1.833, allocations: 0 / 0.647 GB, free: 7.836 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0007943/1.834, allocations: 0.6954 MB / 0.6477 GB, free: 7.238 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01265/1.847, allocations: 3.176 MB / 0.6508 GB, free: 4.363 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02286/1.87, allocations: 8.556 MB / 0.6591 GB, free: 9.73 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02046/1.89, allocations: 5.14 MB / 0.6642 GB, free: 5.328 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003334/1.891, allocations: 60 kB / 0.6642 GB, free: 5.27 MB / 378.8 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=1191) (initialization): time 0.05121/1.942, allocations: 12.67 MB / 0.6766 GB, free: 10.39 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/1.942, allocations: 88 kB / 0.6767 GB, free: 10.3 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002907/1.942, allocations: 195.5 kB / 0.6769 GB, free: 10.12 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009363/1.952, allocations: 2.241 MB / 0.6791 GB, free: 8.457 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009832/1.962, allocations: 2.151 MB / 0.6812 GB, free: 6.605 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2616/2.223, allocations: 19.16 MB / 0.6999 GB, free: 83.66 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009113/2.232, allocations: 339.8 kB / 0.7002 GB, free: 83.66 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001838/2.234, allocations: 0.5321 MB / 0.7007 GB, free: 83.66 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * 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 (1108): * Single equations (assignments): 1097 * 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.002576/2.237, allocations: 0.5967 MB / 0.7013 GB, free: 83.51 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/2.238, allocations: 0.49 MB / 0.7018 GB, free: 83.51 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/2.257, allocations: 6.832 MB / 0.7085 GB, free: 82.89 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/2.257, allocations: 44.83 kB / 0.7085 GB, free: 82.89 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.894e-05/2.257, allocations: 9.594 kB / 0.7085 GB, free: 82.89 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.123e-05/2.257, allocations: 18.12 kB / 0.7085 GB, free: 82.89 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03501/2.292, allocations: 13.86 MB / 0.7221 GB, free: 81.65 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-05/2.292, allocations: 0 / 0.7221 GB, free: 81.65 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004079/2.296, allocations: 0.5297 MB / 0.7226 GB, free: 81.65 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008904/2.305, allocations: 2.044 MB / 0.7246 GB, free: 81.58 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006407/2.306, allocations: 14.61 kB / 0.7246 GB, free: 81.58 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02712/2.333, allocations: 21.4 MB / 0.7455 GB, free: 67.3 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/2.333, allocations: 10.45 kB / 0.7455 GB, free: 67.3 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02357/2.357, allocations: 10.8 MB / 0.756 GB, free: 62.85 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003077/2.36, allocations: 0.9689 MB / 0.757 GB, free: 62.41 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/2.361, allocations: 10.14 kB / 0.757 GB, free: 62.41 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003956/2.365, allocations: 147.9 kB / 0.7571 GB, free: 62.41 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009886/2.366, allocations: 198 kB / 0.7573 GB, free: 62.38 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003354/2.366, allocations: 78.73 kB / 0.7574 GB, free: 62.36 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.006847/2.373, allocations: 2.994 MB / 0.7603 GB, free: 61.27 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.637e-06/2.373, allocations: 0 / 0.7603 GB, free: 61.27 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01121/2.384, allocations: 1.531 MB / 0.7618 GB, free: 61.26 MB / 394.8 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 (220): * Single equations (assignments): 207 * 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.001245/2.386, allocations: 221.7 kB / 0.762 GB, free: 61.16 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01698/2.403, allocations: 8.725 MB / 0.7706 GB, free: 57.93 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/2.403, allocations: 4 kB / 0.7706 GB, free: 57.92 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007784/2.411, allocations: 4.011 MB / 0.7745 GB, free: 55.8 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/2.415, allocations: 0.5987 MB / 0.7751 GB, free: 55.57 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/2.45, allocations: 13.99 MB / 0.7887 GB, free: 43.94 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/2.462, allocations: 5.282 MB / 0.7939 GB, free: 40.05 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/2.465, allocations: 401.8 kB / 0.7943 GB, free: 39.66 MB / 394.8 MB Notification: Performance of SimCode: time 1.94e-06/2.465, allocations: 0 / 0.7943 GB, free: 39.66 MB / 394.8 MB Notification: Performance of Templates: time 0.8926/3.357, allocations: 322 MB / 1.109 GB, free: 9.688 MB / 410.8 MB