Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 2.154/2.154, allocations: 234.9 MB / 250.5 MB, free: 10.44 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000713/0.0007132, allocations: 16 kB / 314.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.302, allocations: 54.87 MB / 369.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.124/0.4261, allocations: 52.41 MB / 421.6 MB, free: 6.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05045/0.4766, allocations: 12.57 MB / 434.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01714/0.4938, allocations: 267.3 kB / 434.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01245/0.5063, allocations: 2.644 MB / 437.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0275/0.5338, allocations: 7.535 MB / 444.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004348/0.5382, allocations: 1.006 MB / 445.6 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03822/0.5765, allocations: 18.08 MB / 463.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/0.5867, allocations: 5.517 MB / 469.2 MB, free: 6.484 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.5897, allocations: 1.515 MB / 470.7 MB, free: 4.965 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.5933, allocations: 2.041 MB / 472.8 MB, free: 2.918 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007722/0.5941, allocations: 200 kB / 473 MB, free: 2.723 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.597, allocations: 1.174 MB / 474.1 MB, free: 1.547 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2775/0.8745, allocations: 2.207 MB / 476.3 MB, free: 22.45 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.8762, allocations: 1.105 MB / 477.5 MB, free: 22.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.8862, allocations: 7.55 MB / 485 MB, free: 21.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.357e-06/0.8863, allocations: 1.156 kB / 485 MB, free: 21.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.019e-06/0.8863, allocations: 0 / 485 MB, free: 21.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002567/0.8866, allocations: 0 / 485 MB, free: 21.9 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.01803/0.9046, allocations: 6.179 MB / 491.2 MB, free: 19.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.9047, allocations: 8.562 kB / 491.2 MB, free: 19.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1816/1.086, allocations: 14.69 MB / 0.494 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/1.098, allocations: 4.527 MB / 0.4984 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002581/1.098, allocations: 312 kB / 0.4987 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/1.1, allocations: 428.9 kB / 0.4991 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02956/1.129, allocations: 13.96 MB / 0.5128 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001956/1.13, allocations: 53.94 kB / 0.5128 GB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007326/1.13, allocations: 194.5 kB / 0.513 GB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003595/1.134, allocations: 2.416 MB / 0.5154 GB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03048/1.164, allocations: 11.75 MB / 0.5268 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08772/1.252, allocations: 53.26 MB / 0.5789 GB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/1.274, allocations: 5.832 MB / 0.5845 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03034/1.305, allocations: 14.96 MB / 0.5992 GB, free: 11.94 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/1.305, allocations: 60.55 kB / 0.5992 GB, free: 11.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 7.84e-06/1.305, allocations: 0 / 0.5992 GB, free: 11.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.1108/1.416, allocations: 26.64 MB / 0.6252 GB, free: 1.172 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001889/1.416, allocations: 268 kB / 0.6255 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.426, allocations: 5.29 MB / 0.6307 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005167/1.427, allocations: 65.7 kB / 0.6307 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003961/1.431, allocations: 3.794 MB / 0.6344 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/1.433, allocations: 0.9901 MB / 0.6354 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007209/1.433, allocations: 148 kB / 0.6355 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000647/1.434, allocations: 0.6168 MB / 0.6361 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0061/1.44, allocations: 2.696 MB / 0.6388 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/1.451, allocations: 7.029 MB / 0.6456 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009094/1.46, allocations: 4.23 MB / 0.6498 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001138/1.46, allocations: 46.53 kB / 0.6498 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.2893/1.749, allocations: 9.826 MB / 0.6594 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/1.75, allocations: 71.34 kB / 0.6595 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002021/1.75, allocations: 153.6 kB / 0.6596 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/1.752, allocations: 0.7336 MB / 0.6603 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008053/1.76, allocations: 1.767 MB / 0.6621 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008922/1.769, allocations: 6.455 MB / 0.6684 GB, free: 192.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007142/1.776, allocations: 404.6 kB / 0.6687 GB, free: 192.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/1.778, allocations: 445.8 kB / 0.6692 GB, free: 192.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (909): * Single equations (assignments): 904 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005757/1.783, allocations: 2.625 MB / 0.6717 GB, free: 191.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/1.784, allocations: 465 kB / 0.6722 GB, free: 191.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008831/1.793, allocations: 4.372 MB / 0.6764 GB, free: 189.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.603e-05/1.793, allocations: 32.02 kB / 0.6765 GB, free: 189.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.793, allocations: 3.875 kB / 0.6765 GB, free: 189.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.578e-05/1.793, allocations: 10.64 kB / 0.6765 GB, free: 189.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.817, allocations: 10.85 MB / 0.6871 GB, free: 185.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/1.817, allocations: 0 / 0.6871 GB, free: 185.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/1.82, allocations: 0.4949 MB / 0.6876 GB, free: 184.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/1.822, allocations: 485.7 kB / 0.688 GB, free: 184.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003013/1.823, allocations: 45.97 kB / 0.6881 GB, free: 184.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007652/1.83, allocations: 5.814 MB / 0.6938 GB, free: 178.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.381e-06/1.83, allocations: 0 / 0.6938 GB, free: 178.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/1.843, allocations: 7.59 MB / 0.7012 GB, free: 172.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/1.845, allocations: 0.8539 MB / 0.702 GB, free: 171.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009302/1.846, allocations: 39.61 kB / 0.702 GB, free: 171.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003017/1.849, allocations: 167.4 kB / 0.7022 GB, free: 171.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005492/1.85, allocations: 147.9 kB / 0.7023 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/1.85, allocations: 79.55 kB / 0.7024 GB, free: 171.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006033/1.856, allocations: 3.351 MB / 0.7057 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.55e-07/1.856, allocations: 0 / 0.7057 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007612/1.864, allocations: 1.322 MB / 0.707 GB, free: 167.1 MB / 0.5105 GB 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 (224): * Single equations (assignments): 219 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007405/1.865, allocations: 201.6 kB / 0.7072 GB, free: 166.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0114/1.876, allocations: 6.72 MB / 0.7137 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.876, allocations: 2.75 kB / 0.7137 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003753/1.88, allocations: 2.363 MB / 0.716 GB, free: 158 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/1.883, allocations: 0.5567 MB / 0.7166 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/1.909, allocations: 15.22 MB / 0.7315 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006736/1.916, allocations: 4.222 MB / 0.7356 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/1.918, allocations: 383.4 kB / 0.7359 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.609e-06/1.918, allocations: 0 / 0.7359 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.4207/2.339, allocations: 118.9 MB / 0.8521 GB, free: 192.7 MB / 0.5105 GB