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.Elementary.LineForceWithTwoMasses.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.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadModel(Modelica): time 1.596/1.596, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07659/0.07694, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.2949/0.3719, allocations: 60.03 MB / 332.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.03839/0.4103, allocations: 14.14 MB / 346.8 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01226/0.4226, allocations: 307.2 kB / 347.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.4332, allocations: 3.017 MB / 350.1 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03198/0.4652, allocations: 8.607 MB / 358.7 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006223/0.4715, allocations: 1.287 MB / 360 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.05532/0.5269, allocations: 19.16 MB / 379.2 MB, free: 2.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01259/0.5395, allocations: 6.342 MB / 385.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003925/0.5435, allocations: 1.861 MB / 387.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00526/0.5488, allocations: 2.676 MB / 390.1 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.55, allocations: 248 kB / 390.3 MB, free: 7.156 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.5538, allocations: 1.217 MB / 391.5 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004405/0.5582, allocations: 2.778 MB / 394.3 MB, free: 3.152 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002382/0.5606, allocations: 1.314 MB / 395.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.5747, allocations: 8.881 MB / 404.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5748, allocations: 3.938 kB / 404.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.5748, allocations: 0 / 404.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002917/0.5751, allocations: 0 / 404.5 MB, free: 8.922 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.03014/0.6052, allocations: 7.45 MB / 411.9 MB, free: 1.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6053, allocations: 8.031 kB / 411.9 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3461/0.9514, allocations: 15.11 MB / 427.1 MB, free: 2.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02072/0.9722, allocations: 6.198 MB / 433.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004014/0.9726, allocations: 373.4 kB / 433.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/0.9746, allocations: 0.5073 MB / 434.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2608/1.235, allocations: 16.37 MB / 450.5 MB, free: 122.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003237/1.236, allocations: 77.45 kB / 450.6 MB, free: 122.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001104/1.237, allocations: 233.3 kB / 450.8 MB, free: 122.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006958/1.244, allocations: 2.812 MB / 453.6 MB, free: 121.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04265/1.287, allocations: 13.68 MB / 467.3 MB, free: 116.7 MB / 362.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.09815/1.385, allocations: 64.4 MB / 0.5192 GB, free: 54.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0359/1.421, allocations: 7.87 MB / 0.5269 GB, free: 46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03863/1.459, allocations: 18.92 MB / 0.5454 GB, free: 26.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/1.46, allocations: 68.55 kB / 0.5455 GB, free: 26.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 7.134e-06/1.46, allocations: 0 / 0.5455 GB, free: 26.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=367): time 0.5256/1.985, allocations: 53.13 MB / 0.5973 GB, free: 108.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/1.985, allocations: 269.9 kB / 0.5976 GB, free: 107.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/1.997, allocations: 6.545 MB / 0.604 GB, free: 105.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009207/1.998, allocations: 86.67 kB / 0.6041 GB, free: 105.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003703/2.002, allocations: 4.735 MB / 0.6087 GB, free: 101.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001988/2.004, allocations: 1.347 MB / 0.61 GB, free: 100.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009289/2.005, allocations: 182.3 kB / 0.6102 GB, free: 100.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004886/2.005, allocations: 0.6924 MB / 0.6109 GB, free: 99.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008998/2.014, allocations: 3.921 MB / 0.6147 GB, free: 96.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/2.026, allocations: 9.095 MB / 0.6236 GB, free: 85.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/2.039, allocations: 5.781 MB / 0.6292 GB, free: 79.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/2.039, allocations: 52 kB / 0.6293 GB, free: 79.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05328/2.092, allocations: 16.93 MB / 0.6458 GB, free: 62.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/2.092, allocations: 84 kB / 0.6459 GB, free: 62.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001981/2.092, allocations: 180.9 kB / 0.646 GB, free: 62.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02311/2.116, allocations: 4.18 MB / 0.6501 GB, free: 58.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01217/2.128, allocations: 2.062 MB / 0.6521 GB, free: 56.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05483/2.183, allocations: 23.96 MB / 0.6755 GB, free: 31.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/2.193, allocations: 0.515 MB / 0.676 GB, free: 31.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001715/2.195, allocations: 0.5273 MB / 0.6766 GB, free: 30.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1078 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007042/2.202, allocations: 3.122 MB / 0.6796 GB, free: 27.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/2.203, allocations: 0.5707 MB / 0.6802 GB, free: 27.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03633/2.24, allocations: 10.11 MB / 0.69 GB, free: 16.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.644e-05/2.24, allocations: 19.94 kB / 0.6901 GB, free: 16.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/2.24, allocations: 11.12 kB / 0.6901 GB, free: 16.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004212/2.244, allocations: 1.165 MB / 0.6912 GB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/2.246, allocations: 57.02 kB / 0.6913 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005037/2.251, allocations: 215.7 kB / 0.6915 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000982/2.252, allocations: 290 kB / 0.6917 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03518/2.287, allocations: 9.697 MB / 0.7012 GB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2569/2.544, allocations: 10.85 MB / 0.7118 GB, free: 99.61 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006619/2.55, allocations: 3.055 MB / 0.7148 GB, free: 98.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.008276/2.559, allocations: 4.171 MB / 0.7189 GB, free: 97.13 MB / 362.7 MB Notification: Performance of Backend: time 1.162e-06/2.559, allocations: 0 / 0.7189 GB, free: 97.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01961/2.578, allocations: 7.435 MB / 0.7261 GB, free: 94.38 MB / 362.7 MB Notification: Performance of SimCode: time 0.0343/2.613, allocations: 17.78 MB / 0.7435 GB, free: 85.14 MB / 362.7 MB Notification: Performance of Templates: time 0.2139/2.827, allocations: 87.21 MB / 0.8287 GB, free: 0.5156 MB / 362.7 MB