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.581/1.581, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003407, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0754/0.07576, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.32/0.3958, allocations: 73.89 MB / 346.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.05195/0.4478, allocations: 17.28 MB / 363.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01929/0.4671, allocations: 383 kB / 364.2 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0175/0.4847, allocations: 3.799 MB / 368 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04692/0.5316, allocations: 10.35 MB / 378.3 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007211/0.5389, allocations: 1.256 MB / 379.6 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.5491, allocations: 4.011 MB / 383.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01888/0.568, allocations: 9.477 MB / 393.1 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/0.5718, allocations: 1.772 MB / 394.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004666/0.5765, allocations: 2.235 MB / 397.1 MB, free: 304 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.5781, allocations: 260 kB / 397.3 MB, free: 44 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.5821, allocations: 1.287 MB / 398.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004135/0.5863, allocations: 2.724 MB / 401.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002236/0.5885, allocations: 1.435 MB / 402.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.6046, allocations: 10.12 MB / 412.9 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6046, allocations: 0 / 412.9 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6046, allocations: 0 / 412.9 MB, free: 444 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003447/0.605, allocations: 0 / 412.9 MB, free: 444 kB / 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.02354/0.6285, allocations: 7.104 MB / 420 MB, free: 9.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.6286, allocations: 8.031 kB / 420 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/0.6457, allocations: 2.728 MB / 422.7 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01387/0.6596, allocations: 4.622 MB / 427.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005669/0.6602, allocations: 455.7 kB / 427.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003307/0.6635, allocations: 0.6947 MB / 428.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4752/1.139, allocations: 18.18 MB / 446.7 MB, free: 120.6 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004373/1.139, allocations: 62.84 kB / 446.7 MB, free: 120.5 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002131/1.141, allocations: 277.7 kB / 447 MB, free: 120.5 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008071/1.149, allocations: 3.008 MB / 450 MB, free: 120.2 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04852/1.198, allocations: 15.18 MB / 465.2 MB, free: 114.5 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.1136/1.312, allocations: 66.21 MB / 0.519 GB, free: 50.8 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03843/1.35, allocations: 7.712 MB / 0.5265 GB, free: 42.94 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03116/1.381, allocations: 14.18 MB / 0.5403 GB, free: 28.39 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/1.381, allocations: 64.44 kB / 0.5404 GB, free: 28.32 MB / 362.8 MB Notification: Performance of pre-optimization done (n=251): time 6.803e-06/1.381, allocations: 4 kB / 0.5404 GB, free: 28.31 MB / 362.8 MB Notification: Performance of matching and sorting (n=297): time 0.4217/1.803, allocations: 33.05 MB / 0.5727 GB, free: 112.8 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/1.803, allocations: 168.5 kB / 0.5728 GB, free: 112.7 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/1.816, allocations: 6.079 MB / 0.5788 GB, free: 110.7 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006938/1.817, allocations: 67.94 kB / 0.5788 GB, free: 110.7 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004042/1.821, allocations: 4.977 MB / 0.5837 GB, free: 107.1 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1.823, allocations: 1.133 MB / 0.5848 GB, free: 106.3 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000934/1.824, allocations: 177.5 kB / 0.585 GB, free: 106.1 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0005928/1.825, allocations: 0.6819 MB / 0.5856 GB, free: 105.6 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008331/1.833, allocations: 3.404 MB / 0.589 GB, free: 104.4 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/1.844, allocations: 8.636 MB / 0.5974 GB, free: 96.14 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.856, allocations: 5.29 MB / 0.6026 GB, free: 94.02 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/1.856, allocations: 53.94 kB / 0.6026 GB, free: 94.02 MB / 362.8 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.04971/1.906, allocations: 13.9 MB / 0.6162 GB, free: 87.16 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.906, allocations: 84 kB / 0.6163 GB, free: 87.08 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002075/1.907, allocations: 188 kB / 0.6165 GB, free: 86.9 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/1.918, allocations: 2.26 MB / 0.6187 GB, free: 84.62 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01229/1.931, allocations: 2.036 MB / 0.6206 GB, free: 82.58 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03317/1.964, allocations: 20.86 MB / 0.641 GB, free: 60.84 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009536/1.973, allocations: 0.4924 MB / 0.6415 GB, free: 60.34 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/1.975, allocations: 0.5117 MB / 0.642 GB, free: 59.83 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.007274/1.982, allocations: 3.374 MB / 0.6453 GB, free: 56.45 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/1.983, allocations: 0.5282 MB / 0.6458 GB, free: 55.91 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02195/2.005, allocations: 7.195 MB / 0.6528 GB, free: 48.6 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.192e-05/2.006, allocations: 15.94 kB / 0.6529 GB, free: 48.59 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/2.006, allocations: 0 / 0.6529 GB, free: 48.59 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003693/2.009, allocations: 1.021 MB / 0.6538 GB, free: 47.54 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001668/2.011, allocations: 59.97 kB / 0.6539 GB, free: 47.48 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004653/2.016, allocations: 184.3 kB / 0.6541 GB, free: 47.3 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008344/2.016, allocations: 229.6 kB / 0.6543 GB, free: 47.07 MB / 362.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02367/2.04, allocations: 7.242 MB / 0.6614 GB, free: 39.86 MB / 362.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01636/2.057, allocations: 8.159 MB / 0.6693 GB, free: 31.63 MB / 362.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004766/2.061, allocations: 2.409 MB / 0.6717 GB, free: 29.22 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.00745/2.069, allocations: 3.804 MB / 0.6754 GB, free: 25.41 MB / 362.8 MB Notification: Performance of Backend: time 1.242e-06/2.069, allocations: 0 / 0.6754 GB, free: 25.41 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.01947/2.088, allocations: 7.423 MB / 0.6827 GB, free: 17.97 MB / 362.8 MB Notification: Performance of SimCode: time 0.2785/2.367, allocations: 18.45 MB / 0.7007 GB, free: 99.7 MB / 362.8 MB Notification: Performance of Templates: time 0.2102/2.577, allocations: 77.15 MB / 0.776 GB, free: 45.95 MB / 362.8 MB