Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.64/1.64, allocations: 171.2 MB / 186.8 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 12 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.0828, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3661/0.449, allocations: 86.65 MB / 358.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/0.4494, allocations: 89.27 kB / 358.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7451/1.194, allocations: 117.4 MB / 476.3 MB, free: 69.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.876e-06/1.195, allocations: 3.938 kB / 476.3 MB, free: 69.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004267/1.195, allocations: 123.9 kB / 476.4 MB, free: 69.43 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: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.02744/1.222, allocations: 6.496 MB / 482.9 MB, free: 66.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.222, allocations: 9.656 kB / 482.9 MB, free: 66.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004981/1.227, allocations: 1.039 MB / 483.9 MB, free: 66.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02196/1.249, allocations: 2.779 MB / 486.7 MB, free: 66.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02425/1.274, allocations: 7.664 MB / 494.4 MB, free: 63.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005734/1.274, allocations: 456.3 kB / 494.8 MB, free: 63.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003723/1.278, allocations: 0.5948 MB / 495.4 MB, free: 63.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04786/1.326, allocations: 15.7 MB / 0.4991 GB, free: 48.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004677/1.327, allocations: 86.8 kB / 0.4992 GB, free: 48.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00323/1.33, allocations: 285 kB / 0.4995 GB, free: 48.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003495/1.333, allocations: 1.475 MB / 0.5009 GB, free: 47.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04141/1.375, allocations: 13.47 MB / 0.5141 GB, free: 33.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4235/1.798, allocations: 70.25 MB / 0.5827 GB, free: 36.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03285/1.831, allocations: 7.317 MB / 0.5898 GB, free: 35.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001971/1.833, allocations: 1.284 MB / 0.5911 GB, free: 34.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.405e-05/1.833, allocations: 65.7 kB / 0.5912 GB, free: 34.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 7.695e-06/1.833, allocations: 0 / 0.5912 GB, free: 34.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=377): time 0.2991/2.133, allocations: 50.51 MB / 0.6405 GB, free: 28.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/2.133, allocations: 163 kB / 0.6406 GB, free: 27.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/2.145, allocations: 4.611 MB / 0.6451 GB, free: 24.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001336/2.146, allocations: 81.7 kB / 0.6452 GB, free: 23.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003694/2.15, allocations: 3.805 MB / 0.6489 GB, free: 20.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002937/2.153, allocations: 1.376 MB / 0.6503 GB, free: 19.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001956/2.155, allocations: 160 kB / 0.6504 GB, free: 19.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0008095/2.156, allocations: 0.652 MB / 0.6511 GB, free: 18.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01191/2.168, allocations: 4.518 MB / 0.6555 GB, free: 14.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01478/2.182, allocations: 8.747 MB / 0.664 GB, free: 4.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/2.198, allocations: 6.227 MB / 0.6701 GB, free: 14.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000146/2.198, allocations: 40 kB / 0.6701 GB, free: 14.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.07325/2.271, allocations: 18.85 MB / 0.6885 GB, free: 12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/2.272, allocations: 68.97 kB / 0.6886 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002493/2.272, allocations: 148.7 kB / 0.6887 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03616/2.308, allocations: 6.649 MB / 0.6952 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01339/2.321, allocations: 1.762 MB / 0.697 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.393/2.714, allocations: 37.23 MB / 0.7333 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/2.726, allocations: 0.5671 MB / 0.7339 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002467/2.729, allocations: 460.4 kB / 0.7343 GB, free: 110 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (899): * Single equations (assignments): 891 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,73.4%) 101,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009861/2.738, allocations: 2.998 MB / 0.7372 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002193/2.741, allocations: 0.4954 MB / 0.7377 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05252/2.793, allocations: 13.77 MB / 0.7512 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/2.793, allocations: 37.97 kB / 0.7512 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001072/2.794, allocations: 26.3 kB / 0.7512 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001068/2.794, allocations: 18.8 kB / 0.7513 GB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1055/2.899, allocations: 26.36 MB / 0.777 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.807e-05/2.899, allocations: 7.578 kB / 0.777 GB, free: 95.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004774/2.904, allocations: 0.5215 MB / 0.7775 GB, free: 95.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03238/2.936, allocations: 6.329 MB / 0.7837 GB, free: 94.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00136/2.938, allocations: 69.06 kB / 0.7838 GB, free: 94.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0819/3.02, allocations: 34.01 MB / 0.817 GB, free: 67.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/3.02, allocations: 5.969 kB / 0.817 GB, free: 67.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06224/3.082, allocations: 20.31 MB / 0.8368 GB, free: 46.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005079/3.087, allocations: 1.342 MB / 0.8381 GB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002593/3.09, allocations: 67.11 kB / 0.8382 GB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007094/3.097, allocations: 347.5 kB / 0.8385 GB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002325/3.099, allocations: 268.9 kB / 0.8388 GB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001049/3.101, allocations: 104.9 kB / 0.8389 GB, free: 44.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009325/3.11, allocations: 3.317 MB / 0.8421 GB, free: 41.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.212e-06/3.11, allocations: 1.219 kB / 0.8421 GB, free: 41.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01322/3.123, allocations: 1.881 MB / 0.844 GB, free: 39.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * 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 (230): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,67.9%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3444/3.468, allocations: 21.63 MB / 0.8651 GB, free: 108 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03141/3.499, allocations: 11.95 MB / 0.8768 GB, free: 107.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/3.499, allocations: 3.969 kB / 0.8768 GB, free: 107.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01574/3.515, allocations: 5.721 MB / 0.8823 GB, free: 106.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006144/3.521, allocations: 0.6245 MB / 0.883 GB, free: 106.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4893/4.01, allocations: 167.5 MB / 1.047 GB, free: 144.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01402/4.025, allocations: 4.694 MB / 1.051 GB, free: 143.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008187/4.033, allocations: 2.811 MB / 1.054 GB, free: 143.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.963e-06/4.033, allocations: 5.375 kB / 1.054 GB, free: 143.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.848/9.881, allocations: 257.3 MB / 1.305 GB, free: 63.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat