Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 12 kB / 263.8 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08028/0.08066, allocations: 44.51 MB / 308.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.09044/0.1712, allocations: 60.04 MB / 368.4 MB, free: 4.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2616/0.4328, allocations: 14.16 MB / 382.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01343/0.4462, allocations: 312.4 kB / 382.9 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009441/0.4557, allocations: 3.015 MB / 385.9 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02804/0.4838, allocations: 8.616 MB / 394.5 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005209/0.4891, allocations: 1.266 MB / 395.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.03575/0.5249, allocations: 19.18 MB / 414.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.5369, allocations: 6.341 MB / 421.3 MB, free: 9.367 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004369/0.5413, allocations: 1.872 MB / 423.2 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005491/0.5468, allocations: 2.695 MB / 425.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001665/0.5485, allocations: 249.2 kB / 426.1 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004136/0.5527, allocations: 1.209 MB / 427.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004522/0.5573, allocations: 2.777 MB / 430.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002491/0.5598, allocations: 1.314 MB / 431.4 MB, free: 1.508 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.5742, allocations: 8.891 MB / 440.3 MB, free: 9.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.204e-06/0.5742, allocations: 0 / 440.3 MB, free: 9.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.626e-06/0.5743, allocations: 0 / 440.3 MB, free: 9.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002559/0.5745, allocations: 4 kB / 440.3 MB, free: 9.75 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.02264/0.5972, allocations: 7.456 MB / 447.7 MB, free: 2.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.5972, allocations: 12.03 kB / 447.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1857/0.783, allocations: 15.1 MB / 462.9 MB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/0.8001, allocations: 6.196 MB / 469 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004344/0.8006, allocations: 369 kB / 469.4 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/0.8027, allocations: 0.5111 MB / 469.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04043/0.8432, allocations: 16.42 MB / 486.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003428/0.8436, allocations: 79.3 kB / 486.4 MB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001572/0.8452, allocations: 238.8 kB / 486.6 MB, free: 1.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005712/0.8509, allocations: 2.804 MB / 489.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03906/0.89, allocations: 13.69 MB / 0.4914 GB, free: 0.9648 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.3327/1.223, allocations: 64.44 MB / 0.5543 GB, free: 117.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0299/1.253, allocations: 7.854 MB / 0.562 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03647/1.289, allocations: 18.91 MB / 0.5804 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/1.289, allocations: 62.38 kB / 0.5805 GB, free: 103.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 9.726e-06/1.289, allocations: 0 / 0.5805 GB, free: 103.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=367): time 0.2496/1.539, allocations: 53.14 MB / 0.6324 GB, free: 52.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/1.539, allocations: 269.8 kB / 0.6326 GB, free: 52.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02113/1.56, allocations: 6.543 MB / 0.639 GB, free: 45.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007427/1.561, allocations: 82.64 kB / 0.6391 GB, free: 45.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003045/1.564, allocations: 4.539 MB / 0.6435 GB, free: 41.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001694/1.566, allocations: 1.342 MB / 0.6448 GB, free: 39.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000791/1.567, allocations: 189 kB / 0.645 GB, free: 39.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005255/1.567, allocations: 0.6993 MB / 0.6457 GB, free: 39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007682/1.575, allocations: 3.914 MB / 0.6495 GB, free: 35.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.585, allocations: 9.143 MB / 0.6585 GB, free: 23.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.596, allocations: 5.768 MB / 0.6641 GB, free: 17.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001466/1.596, allocations: 56 kB / 0.6641 GB, free: 17.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.04177/1.638, allocations: 16.7 MB / 0.6804 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/1.638, allocations: 91.97 kB / 0.6805 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002/1.638, allocations: 184 kB / 0.6807 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2634/1.901, allocations: 4.173 MB / 0.6848 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008835/1.91, allocations: 2.054 MB / 0.6868 GB, free: 139.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0626/1.973, allocations: 23.97 MB / 0.7102 GB, free: 130.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01782/1.991, allocations: 0.5043 MB / 0.7107 GB, free: 130.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002862/1.994, allocations: 0.5406 MB / 0.7112 GB, free: 130.3 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.01225/2.006, allocations: 3.111 MB / 0.7143 GB, free: 129 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002343/2.008, allocations: 0.5732 MB / 0.7148 GB, free: 129 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0359/2.044, allocations: 10.12 MB / 0.7247 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.126e-05/2.045, allocations: 40 kB / 0.7247 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.493e-05/2.045, allocations: 19.98 kB / 0.7248 GB, free: 121.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-05/2.045, allocations: 15.94 kB / 0.7248 GB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04801/2.093, allocations: 19.82 MB / 0.7441 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/2.093, allocations: 4 kB / 0.7441 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003311/2.096, allocations: 0.5363 MB / 0.7447 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01461/2.111, allocations: 3.661 MB / 0.7482 GB, free: 97.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006906/2.111, allocations: 67.83 kB / 0.7483 GB, free: 97.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03679/2.148, allocations: 20.81 MB / 0.7686 GB, free: 76.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.343e-06/2.148, allocations: 3.938 kB / 0.7686 GB, free: 76.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03257/2.181, allocations: 14.71 MB / 0.783 GB, free: 61.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003316/2.184, allocations: 1.153 MB / 0.7841 GB, free: 60.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/2.186, allocations: 56 kB / 0.7842 GB, free: 60.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003698/2.189, allocations: 216.3 kB / 0.7844 GB, free: 60.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009341/2.19, allocations: 225.9 kB / 0.7846 GB, free: 60.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003834/2.191, allocations: 101.1 kB / 0.7847 GB, free: 60.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007204/2.198, allocations: 4.159 MB / 0.7887 GB, free: 55.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.161e-06/2.198, allocations: 0 / 0.7887 GB, free: 55.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009457/2.207, allocations: 1.873 MB / 0.7906 GB, free: 53.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (270): * Single equations (assignments): 265 * 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,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/2.208, allocations: 236.8 kB / 0.7908 GB, free: 53.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0178/2.226, allocations: 9.978 MB / 0.8005 GB, free: 43.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.463e-06/2.226, allocations: 0 / 0.8005 GB, free: 43.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007031/2.233, allocations: 3.93 MB / 0.8044 GB, free: 39.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/2.237, allocations: 0.7226 MB / 0.8051 GB, free: 39.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/2.271, allocations: 19.37 MB / 0.824 GB, free: 19.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008833/2.28, allocations: 5.019 MB / 0.8289 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002145/2.282, allocations: 455.4 kB / 0.8293 GB, free: 14.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.886e-06/2.282, allocations: 0 / 0.8293 GB, free: 14.29 MB / 426.7 MB Notification: Performance of Templates: time 0.4319/2.714, allocations: 147.1 MB / 0.973 GB, free: 14.43 MB / 426.7 MB