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.Elementary.LineForceWithTwoMasses.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.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadModel(Modelica): time 2.162/2.162, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08628, allocations: 44.52 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.08823/0.1746, allocations: 60.04 MB / 369.1 MB, free: 4.152 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2973/0.4719, allocations: 14.16 MB / 383.3 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0126/0.4845, allocations: 308.4 kB / 383.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.4946, allocations: 3.019 MB / 386.6 MB, free: 7.758 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03082/0.5254, allocations: 8.604 MB / 395.2 MB, free: 5.848 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006081/0.5316, allocations: 1.274 MB / 396.5 MB, free: 5.512 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.05045/0.5821, allocations: 19.17 MB / 415.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01271/0.5948, allocations: 6.342 MB / 422 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00455/0.5994, allocations: 1.872 MB / 423.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005762/0.6052, allocations: 2.683 MB / 426.5 MB, free: 6.004 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001574/0.6068, allocations: 248 kB / 426.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004361/0.6112, allocations: 1.209 MB / 428 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004555/0.6158, allocations: 2.775 MB / 430.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002418/0.6183, allocations: 1.317 MB / 432.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.6325, allocations: 8.894 MB / 441 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6326, allocations: 4.688 kB / 441 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6326, allocations: 0 / 441 MB, free: 9.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000334/0.6329, allocations: 4 kB / 441 MB, free: 9.984 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.03/0.6629, allocations: 7.445 MB / 448.4 MB, free: 3.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.663, allocations: 12.03 kB / 448.4 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3676/1.031, allocations: 15.1 MB / 463.5 MB, free: 4.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/1.051, allocations: 6.192 MB / 469.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004587/1.052, allocations: 373.4 kB / 470.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002578/1.054, allocations: 0.5064 MB / 470.6 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05205/1.106, allocations: 16.38 MB / 487 MB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003269/1.107, allocations: 83.23 kB / 487.1 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/1.108, allocations: 235.4 kB / 487.3 MB, free: 1.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007008/1.115, allocations: 2.804 MB / 490.1 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04711/1.162, allocations: 13.69 MB / 0.492 GB, free: 0.7461 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.3689/1.531, allocations: 64.44 MB / 0.5549 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03647/1.568, allocations: 7.853 MB / 0.5626 GB, free: 116 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03958/1.608, allocations: 18.93 MB / 0.5811 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/1.608, allocations: 66.08 kB / 0.5811 GB, free: 104.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 7.594e-06/1.608, allocations: 0 / 0.5811 GB, free: 104.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=367): time 0.313/1.921, allocations: 53.14 MB / 0.633 GB, free: 53.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/1.921, allocations: 280.3 kB / 0.6333 GB, free: 53.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01167/1.932, allocations: 6.544 MB / 0.6397 GB, free: 46.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000915/1.933, allocations: 81.7 kB / 0.6398 GB, free: 46.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003699/1.937, allocations: 4.735 MB / 0.6444 GB, free: 41.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001996/1.939, allocations: 1.344 MB / 0.6457 GB, free: 40.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009886/1.94, allocations: 184 kB / 0.6459 GB, free: 40.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005003/1.941, allocations: 0.6907 MB / 0.6465 GB, free: 39.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00916/1.95, allocations: 3.922 MB / 0.6504 GB, free: 35.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/1.962, allocations: 9.102 MB / 0.6593 GB, free: 23.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/1.974, allocations: 5.78 MB / 0.6649 GB, free: 18.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/1.975, allocations: 52 kB / 0.6649 GB, free: 18.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05339/2.028, allocations: 16.92 MB / 0.6815 GB, free: 1.086 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/2.028, allocations: 84 kB / 0.6816 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/2.028, allocations: 180 kB / 0.6817 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2895/2.318, allocations: 4.18 MB / 0.6858 GB, free: 140.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01323/2.331, allocations: 2.054 MB / 0.6878 GB, free: 140.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05734/2.389, allocations: 23.97 MB / 0.7112 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01133/2.4, allocations: 0.5067 MB / 0.7117 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/2.402, allocations: 0.5364 MB / 0.7122 GB, free: 131 MB / 426.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.007341/2.409, allocations: 3.114 MB / 0.7153 GB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/2.411, allocations: 0.5714 MB / 0.7158 GB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03831/2.449, allocations: 10.11 MB / 0.7257 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.415e-05/2.449, allocations: 19.92 kB / 0.7257 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/2.449, allocations: 4 kB / 0.7257 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004257/2.454, allocations: 1.158 MB / 0.7269 GB, free: 121.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00218/2.456, allocations: 65.33 kB / 0.7269 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005921/2.462, allocations: 215.7 kB / 0.7271 GB, free: 121.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001344/2.463, allocations: 290 kB / 0.7274 GB, free: 120.8 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03564/2.499, allocations: 9.697 MB / 0.7369 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0228/2.522, allocations: 10.86 MB / 0.7475 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006299/2.528, allocations: 3.062 MB / 0.7505 GB, free: 97.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00887/2.537, allocations: 4.167 MB / 0.7546 GB, free: 93.08 MB / 426.7 MB Notification: Performance of Backend: time 1.252e-06/2.537, allocations: 0 / 0.7546 GB, free: 93.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01956/2.557, allocations: 7.434 MB / 0.7618 GB, free: 85.75 MB / 426.7 MB Notification: Performance of SimCode: time 0.03571/2.592, allocations: 17.78 MB / 0.7792 GB, free: 68.11 MB / 426.7 MB Notification: Performance of Templates: time 0.4857/3.078, allocations: 87.22 MB / 0.8644 GB, free: 122.1 MB / 426.7 MB