Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.body.Q.1.|body1.body.Q.2.|body1.body.Q.3.|body1.body.Q.4.|body1.body.frame_a.r_0.1.|body1.body.frame_a.r_0.2.|body1.body.frame_a.r_0.3.|body1.body.w_a.1.|body1.body.w_a.2.|body1.body.w_a.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.body.Q.1.|body2.body.Q.2.|body2.body.Q.3.|body2.body.Q.4.|body2.body.frame_a.r_0.1.|body2.body.frame_a.r_0.2.|body2.body.frame_a.r_0.3.|body2.body.w_a.1.|body2.body.w_a.2.|body2.body.w_a.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.body.Q.1.|body3.body.Q.2.|body3.body.Q.3.|body3.body.Q.4.|body3.body.frame_a.r_0.1.|body3.body.frame_a.r_0.2.|body3.body.frame_a.r_0.3.|body3.body.w_a.1.|body3.body.w_a.2.|body3.body.w_a.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|pointMass.r_0.1.|pointMass.r_0.2.|pointMass.r_0.3.|pointMass.v_0.1.|pointMass.v_0.2.|pointMass.v_0.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.063/2.063, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004389, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3642, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.5272, allocations: 88.68 MB / 420.5 MB, free: 5.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.5276, allocations: 75.97 kB / 420.5 MB, free: 5.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.723/1.251, allocations: 103.6 MB / 0.5119 GB, free: 84.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.887e-06/1.251, allocations: 0 / 0.5119 GB, free: 84.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004166/1.251, allocations: 88.59 kB / 0.512 GB, free: 84.99 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: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.05641/1.308, allocations: 6.9 MB / 0.5187 GB, free: 78.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.308, allocations: 12.03 kB / 0.5187 GB, free: 78.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05607/1.364, allocations: 7.301 MB / 0.5259 GB, free: 71.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06823/1.432, allocations: 18.21 MB / 0.5436 GB, free: 53.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004377/1.432, allocations: 312.1 kB / 0.5439 GB, free: 53.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003117/1.436, allocations: 443.6 kB / 0.5444 GB, free: 52.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03061/1.466, allocations: 10.63 MB / 0.5547 GB, free: 41.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004238/1.467, allocations: 83.22 kB / 0.5548 GB, free: 40.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002146/1.469, allocations: 203.9 kB / 0.555 GB, free: 40.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002655/1.472, allocations: 1.053 MB / 0.5561 GB, free: 39.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02639/1.498, allocations: 9.265 MB / 0.5651 GB, free: 30.41 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.08592/1.584, allocations: 51.17 MB / 0.6151 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01559/1.6, allocations: 3.847 MB / 0.6188 GB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/1.6, allocations: 25.75 kB / 0.6188 GB, free: 5.555 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/1.6, allocations: 58.73 kB / 0.6189 GB, free: 5.488 MB / 426.7 MB Notification: Performance of pre-optimization done (n=188): time 5.69e-06/1.6, allocations: 4 kB / 0.6189 GB, free: 5.484 MB / 426.7 MB Notification: Performance of matching and sorting (n=216): time 0.4016/2.002, allocations: 22.7 MB / 0.6411 GB, free: 100.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005032/2.007, allocations: 6.226 MB / 0.6472 GB, free: 94.46 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01287/2.02, allocations: 5.116 MB / 0.6522 GB, free: 94.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007763/2.021, allocations: 54.69 kB / 0.6522 GB, free: 94.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003496/2.024, allocations: 3.342 MB / 0.6555 GB, free: 92.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001949/2.026, allocations: 0.9104 MB / 0.6564 GB, free: 91.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/2.027, allocations: 142.1 kB / 0.6565 GB, free: 91.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005485/2.028, allocations: 0.6195 MB / 0.6571 GB, free: 91.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008231/2.036, allocations: 3.064 MB / 0.6601 GB, free: 91.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/2.047, allocations: 7.4 MB / 0.6673 GB, free: 84.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/2.058, allocations: 4.595 MB / 0.6718 GB, free: 83.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002204/2.059, allocations: 45.16 kB / 0.6718 GB, free: 83.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.04658/2.105, allocations: 12.88 MB / 0.6844 GB, free: 79.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/2.105, allocations: 70.19 kB / 0.6845 GB, free: 79.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02696/2.132, allocations: 6.261 MB / 0.6906 GB, free: 77.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02322/2.156, allocations: 3.485 MB / 0.694 GB, free: 76.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009975/2.166, allocations: 1.7 MB / 0.6957 GB, free: 75.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/2.182, allocations: 11.99 MB / 0.7074 GB, free: 64.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01265/2.195, allocations: 0.7753 MB / 0.7081 GB, free: 63.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/2.197, allocations: 457 kB / 0.7086 GB, free: 63.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 694 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (870): * Single equations (assignments): 845 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.00755/2.205, allocations: 2.347 MB / 0.7109 GB, free: 61.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/2.206, allocations: 454.1 kB / 0.7113 GB, free: 60.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/2.209, allocations: 0.6099 MB / 0.7119 GB, free: 60.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02768/2.237, allocations: 6.026 MB / 0.7178 GB, free: 55.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.86e-05/2.237, allocations: 8 kB / 0.7178 GB, free: 55.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-05/2.237, allocations: 13.42 kB / 0.7178 GB, free: 55.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03378/2.271, allocations: 10.42 MB / 0.728 GB, free: 46.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/2.271, allocations: 8.188 kB / 0.728 GB, free: 46.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004324/2.275, allocations: 443.3 kB / 0.7284 GB, free: 45.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02372/2.299, allocations: 3.603 MB / 0.7319 GB, free: 42.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000883/2.3, allocations: 87.91 kB / 0.732 GB, free: 42.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/2.321, allocations: 13.91 MB / 0.7456 GB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004686/2.326, allocations: 5.91 MB / 0.7514 GB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03625/2.362, allocations: 10.28 MB / 0.7614 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003995/2.366, allocations: 0.9129 MB / 0.7623 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002371/2.368, allocations: 67.97 kB / 0.7624 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006843/2.375, allocations: 335.4 kB / 0.7627 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/2.376, allocations: 191.5 kB / 0.7629 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003753/2.377, allocations: 71.94 kB / 0.7629 GB, free: 8.938 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009116/2.386, allocations: 3.221 MB / 0.7661 GB, free: 5.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.91e-07/2.386, allocations: 0 / 0.7661 GB, free: 5.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01097/2.397, allocations: 1.593 MB / 0.7676 GB, free: 4.148 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (156): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/2.398, allocations: 217.8 kB / 0.7679 GB, free: 3.938 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02671/2.425, allocations: 9.162 MB / 0.7768 GB, free: 10.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/2.425, allocations: 0 / 0.7768 GB, free: 10.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0163/2.441, allocations: 4.683 MB / 0.7814 GB, free: 5.625 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007162/2.449, allocations: 0.6385 MB / 0.782 GB, free: 5.004 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3511/2.8, allocations: 16.62 MB / 0.7982 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01036/2.81, allocations: 3.791 MB / 0.8019 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002362/2.813, allocations: 377.6 kB / 0.8023 GB, free: 103.4 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/2.813, allocations: 0 / 0.8023 GB, free: 103.4 MB / 442.7 MB Notification: Performance of Templates: time 1.384/4.197, allocations: 335.7 MB / 1.13 GB, free: 136.8 MB / 474.7 MB