Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.000351, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08033/0.0807, allocations: 44.51 MB / 308.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.3322/0.4129, allocations: 73.89 MB / 382.2 MB, free: 7.184 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04035/0.4533, allocations: 17.3 MB / 399.5 MB, free: 6.398 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01731/0.4706, allocations: 386.3 kB / 399.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.482, allocations: 3.806 MB / 403.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03316/0.5152, allocations: 10.35 MB / 414.1 MB, free: 1.172 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005764/0.5211, allocations: 1.245 MB / 415.3 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008012/0.5291, allocations: 4.015 MB / 419.3 MB, free: 0 / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0171/0.5463, allocations: 9.47 MB / 428.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004165/0.5505, allocations: 1.789 MB / 430.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004433/0.5549, allocations: 2.237 MB / 432.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.5563, allocations: 262.8 kB / 433.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004059/0.5604, allocations: 1.278 MB / 434.4 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004177/0.5646, allocations: 2.723 MB / 437.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.567, allocations: 1.436 MB / 438.5 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01573/0.5828, allocations: 10.12 MB / 448.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.397e-06/0.5828, allocations: 0 / 448.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.732e-06/0.5828, allocations: 0 / 448.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002824/0.5831, allocations: 8 kB / 448.7 MB, free: 9.516 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.01871/0.6019, allocations: 7.098 MB / 455.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.6019, allocations: 8.031 kB / 455.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.6149, allocations: 2.727 MB / 458.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/0.6272, allocations: 4.633 MB / 463.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006017/0.6278, allocations: 449.3 kB / 463.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002725/0.6306, allocations: 0.6886 MB / 464.2 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04806/0.6787, allocations: 18.25 MB / 482.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002935/0.679, allocations: 67.36 kB / 482.6 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001757/0.6808, allocations: 278.7 kB / 482.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006114/0.6869, allocations: 2.998 MB / 485.8 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04415/0.7311, allocations: 15.18 MB / 0.4893 GB, free: 4.508 MB / 394.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.5526/1.284, allocations: 66.22 MB / 0.5539 GB, free: 117.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03099/1.315, allocations: 7.702 MB / 0.5615 GB, free: 116 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0286/1.343, allocations: 14.16 MB / 0.5753 GB, free: 108 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/1.344, allocations: 68.38 kB / 0.5753 GB, free: 107.9 MB / 426.8 MB Notification: Performance of pre-optimization done (n=251): time 6.867e-06/1.344, allocations: 0 / 0.5753 GB, free: 107.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=297): time 0.1128/1.456, allocations: 33.06 MB / 0.6076 GB, free: 80.07 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.456, allocations: 161.8 kB / 0.6078 GB, free: 79.89 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/1.467, allocations: 6.081 MB / 0.6137 GB, free: 73.79 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005599/1.468, allocations: 71.42 kB / 0.6138 GB, free: 73.72 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003197/1.471, allocations: 4.801 MB / 0.6185 GB, free: 68.93 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001439/1.473, allocations: 1.138 MB / 0.6196 GB, free: 67.8 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008573/1.474, allocations: 177.4 kB / 0.6198 GB, free: 67.62 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0006134/1.474, allocations: 0.6868 MB / 0.6204 GB, free: 66.93 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006895/1.481, allocations: 3.402 MB / 0.6238 GB, free: 63.52 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009529/1.491, allocations: 8.677 MB / 0.6322 GB, free: 52.26 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009664/1.5, allocations: 5.286 MB / 0.6374 GB, free: 46.98 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001725/1.501, allocations: 56 kB / 0.6374 GB, free: 46.92 MB / 426.8 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03184/1.532, allocations: 13.7 MB / 0.6508 GB, free: 33.16 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/1.533, allocations: 95.89 kB / 0.6509 GB, free: 33.07 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000208/1.533, allocations: 184 kB / 0.6511 GB, free: 32.89 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0083/1.541, allocations: 2.268 MB / 0.6533 GB, free: 30.61 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00852/1.55, allocations: 2.027 MB / 0.6553 GB, free: 28.58 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02745/1.577, allocations: 20.85 MB / 0.6756 GB, free: 6.836 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008358/1.586, allocations: 0.5 MB / 0.6761 GB, free: 6.336 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/1.587, allocations: 0.517 MB / 0.6766 GB, free: 5.82 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * 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 (1069): * Single equations (assignments): 1056 * Array equations: 6 * 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.007155/1.594, allocations: 3.372 MB / 0.6799 GB, free: 2.434 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.596, allocations: 0.5245 MB / 0.6804 GB, free: 1.902 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2533/1.849, allocations: 7.205 MB / 0.6875 GB, free: 137 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.529e-05/1.849, allocations: 41.19 kB / 0.6875 GB, free: 137 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.628e-05/1.849, allocations: 11.25 kB / 0.6875 GB, free: 137 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.554e-05/1.849, allocations: 17.62 kB / 0.6875 GB, free: 137 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03755/1.887, allocations: 15.45 MB / 0.7026 GB, free: 131.2 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.551e-05/1.887, allocations: 0 / 0.7026 GB, free: 131.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003866/1.891, allocations: 488.5 kB / 0.7031 GB, free: 131.2 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008936/1.9, allocations: 2.082 MB / 0.7051 GB, free: 130.7 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006441/1.9, allocations: 57.12 kB / 0.7052 GB, free: 130.7 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03013/1.93, allocations: 23.24 MB / 0.7279 GB, free: 113.8 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.877e-06/1.931, allocations: 3.281 kB / 0.7279 GB, free: 113.8 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/1.953, allocations: 11.03 MB / 0.7387 GB, free: 104 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003001/1.956, allocations: 1.019 MB / 0.7397 GB, free: 103.3 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/1.958, allocations: 55.94 kB / 0.7397 GB, free: 103.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003618/1.961, allocations: 180.7 kB / 0.7399 GB, free: 103 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009104/1.962, allocations: 189.4 kB / 0.7401 GB, free: 102.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003484/1.962, allocations: 78.25 kB / 0.7401 GB, free: 102.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.007225/1.97, allocations: 3.81 MB / 0.7439 GB, free: 98.96 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.017e-06/1.97, allocations: 3.844 kB / 0.7439 GB, free: 98.96 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.009428/1.979, allocations: 1.746 MB / 0.7456 GB, free: 97.23 MB / 426.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 () * 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.001132/1.98, allocations: 258.3 kB / 0.7458 GB, free: 96.99 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.017/1.997, allocations: 9.328 MB / 0.7549 GB, free: 87.7 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.06e-06/1.997, allocations: 3.562 kB / 0.7549 GB, free: 87.7 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007722/2.005, allocations: 4.195 MB / 0.759 GB, free: 83.43 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/2.01, allocations: 0.7539 MB / 0.7598 GB, free: 82.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03476/2.044, allocations: 19.64 MB / 0.7789 GB, free: 63.22 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009764/2.054, allocations: 5.279 MB / 0.7841 GB, free: 57.91 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001994/2.056, allocations: 419.4 kB / 0.7845 GB, free: 57.5 MB / 426.8 MB Notification: Performance of SimCode: time 1.886e-06/2.056, allocations: 0 / 0.7845 GB, free: 57.5 MB / 426.8 MB Notification: Performance of Templates: time 0.9514/3.008, allocations: 325.4 MB / 1.102 GB, free: 74.46 MB / 458.8 MB