Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09158, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.3797/0.4713, allocations: 73.9 MB / 383 MB, free: 7.809 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04524/0.5166, allocations: 17.29 MB / 400.3 MB, free: 6.965 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01786/0.5345, allocations: 384.1 kB / 400.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01348/0.548, allocations: 3.798 MB / 404.4 MB, free: 4.816 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03945/0.5876, allocations: 10.36 MB / 414.8 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00734/0.5949, allocations: 1.228 MB / 416 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009563/0.6046, allocations: 4.013 MB / 420 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01908/0.6237, allocations: 9.484 MB / 429.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004727/0.6285, allocations: 1.761 MB / 431.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005219/0.6337, allocations: 2.239 MB / 433.5 MB, free: 8.336 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001768/0.6356, allocations: 256 kB / 433.8 MB, free: 8.086 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/0.6405, allocations: 1.292 MB / 435.1 MB, free: 7.004 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004815/0.6454, allocations: 2.72 MB / 437.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.6485, allocations: 1.442 MB / 439.2 MB, free: 3.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01655/0.6651, allocations: 10.12 MB / 449.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6652, allocations: 0 / 449.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6652, allocations: 0 / 449.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003863/0.6656, allocations: 0 / 449.3 MB, free: 9.367 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.02356/0.6891, allocations: 7.098 MB / 456.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6892, allocations: 12.03 kB / 456.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/0.7066, allocations: 2.719 MB / 459.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.721, allocations: 4.628 MB / 463.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005675/0.7216, allocations: 455.1 kB / 464.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003373/0.725, allocations: 0.6875 MB / 464.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05619/0.7812, allocations: 18.2 MB / 483.1 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000322/0.7816, allocations: 71.36 kB / 483.2 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/0.7839, allocations: 271.2 kB / 483.5 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008107/0.792, allocations: 3.003 MB / 486.5 MB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0521/0.8442, allocations: 15.17 MB / 0.4899 GB, free: 4.391 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.6257/1.47, allocations: 66.22 MB / 0.5546 GB, free: 118.1 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03879/1.509, allocations: 7.714 MB / 0.5621 GB, free: 116.8 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03323/1.542, allocations: 14.16 MB / 0.5759 GB, free: 108.8 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/1.542, allocations: 57.31 kB / 0.576 GB, free: 108.8 MB / 426.8 MB Notification: Performance of pre-optimization done (n=251): time 8.847e-06/1.542, allocations: 0 / 0.576 GB, free: 108.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=297): time 0.1417/1.684, allocations: 33.06 MB / 0.6082 GB, free: 80.85 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/1.684, allocations: 166.5 kB / 0.6084 GB, free: 80.66 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.695, allocations: 6.08 MB / 0.6143 GB, free: 74.56 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006976/1.696, allocations: 70.48 kB / 0.6144 GB, free: 74.49 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003723/1.699, allocations: 4.973 MB / 0.6193 GB, free: 69.52 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001637/1.701, allocations: 1.13 MB / 0.6204 GB, free: 68.39 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/1.702, allocations: 177.4 kB / 0.6205 GB, free: 68.22 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000564/1.703, allocations: 0.686 MB / 0.6212 GB, free: 67.53 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008015/1.711, allocations: 3.398 MB / 0.6245 GB, free: 64.12 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/1.722, allocations: 8.638 MB / 0.633 GB, free: 52.9 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/1.733, allocations: 5.3 MB / 0.6381 GB, free: 47.61 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/1.733, allocations: 52 kB / 0.6382 GB, free: 47.56 MB / 426.8 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.0387/1.772, allocations: 13.9 MB / 0.6518 GB, free: 33.59 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/1.772, allocations: 84.97 kB / 0.6518 GB, free: 33.51 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002245/1.772, allocations: 192.6 kB / 0.652 GB, free: 33.33 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/1.784, allocations: 2.262 MB / 0.6542 GB, free: 31.05 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01223/1.796, allocations: 2.035 MB / 0.6562 GB, free: 29.01 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03397/1.83, allocations: 20.84 MB / 0.6766 GB, free: 7.258 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009381/1.84, allocations: 0.4967 MB / 0.6771 GB, free: 6.762 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/1.841, allocations: 0.52 MB / 0.6776 GB, free: 6.246 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.007689/1.849, allocations: 3.373 MB / 0.6809 GB, free: 2.859 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.85, allocations: 0.5244 MB / 0.6814 GB, free: 2.328 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2889/2.139, allocations: 7.203 MB / 0.6884 GB, free: 137.6 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.556e-05/2.139, allocations: 14.48 kB / 0.6884 GB, free: 137.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/2.139, allocations: 1.375 kB / 0.6884 GB, free: 137.6 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003638/2.143, allocations: 1.013 MB / 0.6894 GB, free: 137.5 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001685/2.145, allocations: 50.59 kB / 0.6895 GB, free: 137.5 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005213/2.15, allocations: 186.6 kB / 0.6896 GB, free: 137.5 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/2.151, allocations: 231.2 kB / 0.6899 GB, free: 137.5 MB / 426.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02595/2.177, allocations: 7.247 MB / 0.6969 GB, free: 135.3 MB / 426.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01705/2.194, allocations: 8.155 MB / 0.7049 GB, free: 132.1 MB / 426.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005159/2.2, allocations: 2.406 MB / 0.7073 GB, free: 131.2 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.008335/2.208, allocations: 3.806 MB / 0.711 GB, free: 129.9 MB / 426.8 MB Notification: Performance of Backend: time 1.082e-06/2.208, allocations: 0 / 0.711 GB, free: 129.9 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01991/2.228, allocations: 7.419 MB / 0.7182 GB, free: 126.8 MB / 426.8 MB Notification: Performance of SimCode: time 0.0384/2.266, allocations: 18.47 MB / 0.7362 GB, free: 110.4 MB / 426.8 MB Notification: Performance of Templates: time 0.2023/2.469, allocations: 77.15 MB / 0.8116 GB, free: 33.25 MB / 426.8 MB