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.563/1.563, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003634, allocations: 12 kB / 233.2 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06814/0.06853, allocations: 38.76 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.2738/0.3424, allocations: 73.89 MB / 345.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04529/0.3877, allocations: 17.27 MB / 363.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01707/0.4048, allocations: 387 kB / 363.5 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01223/0.4171, allocations: 3.799 MB / 367.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03615/0.4533, allocations: 10.35 MB / 377.6 MB, free: 3.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006147/0.4595, allocations: 1.26 MB / 378.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009028/0.4685, allocations: 4.028 MB / 382.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01741/0.486, allocations: 9.476 MB / 392.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004046/0.4901, allocations: 1.771 MB / 394.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004273/0.4944, allocations: 2.25 MB / 396.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.4957, allocations: 256 kB / 396.7 MB, free: 464 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.4994, allocations: 1.287 MB / 397.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004018/0.5035, allocations: 2.712 MB / 400.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.5057, allocations: 1.442 MB / 402.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01453/0.5203, allocations: 10.12 MB / 412.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.1e-06/0.5204, allocations: 0 / 412.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.728e-06/0.5204, allocations: 0 / 412.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002555/0.5206, allocations: 0 / 412.2 MB, free: 0.8516 MB / 330.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.01773/0.5384, allocations: 7.116 MB / 419.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5384, allocations: 8.031 kB / 419.3 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.5509, allocations: 2.72 MB / 422.1 MB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.5625, allocations: 4.626 MB / 426.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005424/0.563, allocations: 451.7 kB / 427.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002591/0.5656, allocations: 0.6909 MB / 427.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4161/0.9818, allocations: 18.24 MB / 446 MB, free: 119.7 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002982/0.9821, allocations: 65.19 kB / 446.1 MB, free: 119.7 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001593/0.9837, allocations: 277.9 kB / 446.4 MB, free: 119.7 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006366/0.9901, allocations: 2.997 MB / 449.4 MB, free: 119.4 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04189/1.032, allocations: 15.18 MB / 464.6 MB, free: 113.7 MB / 362.8 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.09358/1.126, allocations: 66.22 MB / 0.5183 GB, free: 50.15 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02929/1.155, allocations: 7.695 MB / 0.5259 GB, free: 42.3 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0254/1.18, allocations: 14.17 MB / 0.5397 GB, free: 27.77 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/1.181, allocations: 64.5 kB / 0.5398 GB, free: 27.7 MB / 362.8 MB Notification: Performance of pre-optimization done (n=251): time 6.852e-06/1.181, allocations: 0 / 0.5398 GB, free: 27.7 MB / 362.8 MB Notification: Performance of matching and sorting (n=297): time 0.3047/1.485, allocations: 33.06 MB / 0.572 GB, free: 111.9 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/1.485, allocations: 161.3 kB / 0.5722 GB, free: 111.7 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/1.497, allocations: 6.081 MB / 0.5781 GB, free: 109.6 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005177/1.498, allocations: 67.33 kB / 0.5782 GB, free: 109.6 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003328/1.501, allocations: 4.804 MB / 0.5829 GB, free: 105.8 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001463/1.503, allocations: 1.138 MB / 0.584 GB, free: 105 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006952/1.504, allocations: 175.8 kB / 0.5842 GB, free: 104.8 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0005388/1.504, allocations: 0.6912 MB / 0.5848 GB, free: 104.4 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006931/1.511, allocations: 3.405 MB / 0.5882 GB, free: 103.1 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00941/1.521, allocations: 8.673 MB / 0.5966 GB, free: 94.85 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009646/1.53, allocations: 5.285 MB / 0.6018 GB, free: 92.73 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000138/1.53, allocations: 53.81 kB / 0.6019 GB, free: 92.73 MB / 362.8 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03234/1.563, allocations: 13.71 MB / 0.6152 GB, free: 86.19 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/1.563, allocations: 88.22 kB / 0.6153 GB, free: 86.11 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001997/1.563, allocations: 184 kB / 0.6155 GB, free: 85.93 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008238/1.571, allocations: 2.268 MB / 0.6177 GB, free: 83.65 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008041/1.579, allocations: 2.039 MB / 0.6197 GB, free: 81.61 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02599/1.606, allocations: 20.85 MB / 0.6401 GB, free: 59.88 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008367/1.614, allocations: 0.4923 MB / 0.6405 GB, free: 59.38 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/1.615, allocations: 0.5251 MB / 0.6411 GB, free: 58.86 MB / 362.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.006671/1.622, allocations: 3.372 MB / 0.6443 GB, free: 55.48 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/1.623, allocations: 0.5321 MB / 0.6449 GB, free: 54.94 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/1.639, allocations: 7.187 MB / 0.6519 GB, free: 47.63 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.873e-05/1.639, allocations: 40.7 kB / 0.6519 GB, free: 47.59 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.132e-05/1.639, allocations: 16 kB / 0.6519 GB, free: 47.58 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-05/1.639, allocations: 19.88 kB / 0.652 GB, free: 47.56 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03409/1.673, allocations: 15.45 MB / 0.667 GB, free: 31.98 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/1.673, allocations: 0 / 0.667 GB, free: 31.98 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/1.677, allocations: 491.2 kB / 0.6675 GB, free: 31.5 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008009/1.685, allocations: 2.087 MB / 0.6696 GB, free: 29.39 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005361/1.685, allocations: 55.98 kB / 0.6696 GB, free: 29.34 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02789/1.713, allocations: 23.22 MB / 0.6923 GB, free: 4.945 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.017e-06/1.713, allocations: 7.938 kB / 0.6923 GB, free: 4.938 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02377/1.737, allocations: 11.04 MB / 0.7031 GB, free: 9.73 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003288/1.74, allocations: 1.033 MB / 0.7041 GB, free: 8.672 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/1.742, allocations: 48 kB / 0.7041 GB, free: 8.625 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003413/1.745, allocations: 183.7 kB / 0.7043 GB, free: 8.445 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007554/1.746, allocations: 189.9 kB / 0.7045 GB, free: 8.262 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003383/1.746, allocations: 79.98 kB / 0.7046 GB, free: 8.184 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.2163/1.963, allocations: 3.802 MB / 0.7083 GB, free: 109.5 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.278e-06/1.963, allocations: 0 / 0.7083 GB, free: 109.5 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.01001/1.973, allocations: 1.747 MB / 0.71 GB, free: 109.5 MB / 378.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.001133/1.974, allocations: 255.9 kB / 0.7102 GB, free: 109.4 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.01896/1.993, allocations: 9.316 MB / 0.7193 GB, free: 107.4 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 6.889e-06/1.993, allocations: 0 / 0.7193 GB, free: 107.4 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008514/2.001, allocations: 4.199 MB / 0.7234 GB, free: 105.2 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004954/2.006, allocations: 0.7347 MB / 0.7241 GB, free: 104.9 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/2.042, allocations: 19.66 MB / 0.7433 GB, free: 94.83 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009647/2.052, allocations: 5.284 MB / 0.7485 GB, free: 93.03 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/2.054, allocations: 421.5 kB / 0.7489 GB, free: 93.02 MB / 378.8 MB Notification: Performance of SimCode: time 1.585e-06/2.054, allocations: 0 / 0.7489 GB, free: 93.02 MB / 378.8 MB Notification: Performance of Templates: time 0.8039/2.858, allocations: 325.4 MB / 1.067 GB, free: 62.45 MB / 394.8 MB