Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003621, allocations: 15.98 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 44.5 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5346/0.638, allocations: 92.4 MB / 400.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003751/0.6385, allocations: 92.59 kB / 401 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5221/1.161, allocations: 117.5 MB / 0.5063 GB, free: 1.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.816e-06/1.161, allocations: 0 / 0.5063 GB, free: 1.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004978/1.161, allocations: 124 kB / 0.5065 GB, free: 1.238 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: 2063 * Number of variables: 2063 Notification: Performance of Generate backend data structure: time 0.0315/1.193, allocations: 6.492 MB / 0.5128 GB, free: 10.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.193, allocations: 8.031 kB / 0.5128 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005562/1.198, allocations: 1.038 MB / 0.5138 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02391/1.222, allocations: 2.784 MB / 0.5165 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3274/1.55, allocations: 7.653 MB / 0.524 GB, free: 69.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009404/1.551, allocations: 454.5 kB / 0.5244 GB, free: 69.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004977/1.556, allocations: 0.5984 MB / 0.525 GB, free: 69.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06119/1.617, allocations: 15.7 MB / 0.5404 GB, free: 65.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005777/1.618, allocations: 85.47 kB / 0.5404 GB, free: 65.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003281/1.621, allocations: 290.8 kB / 0.5407 GB, free: 65.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003879/1.625, allocations: 1.474 MB / 0.5422 GB, free: 65.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04234/1.667, allocations: 13.47 MB / 0.5553 GB, free: 65.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1176/1.785, allocations: 70.28 MB / 0.6239 GB, free: 37.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03175/1.817, allocations: 7.327 MB / 0.6311 GB, free: 34.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/1.819, allocations: 1.281 MB / 0.6323 GB, free: 33.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.799e-05/1.819, allocations: 67.59 kB / 0.6324 GB, free: 33.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 9.688e-06/1.819, allocations: 3 kB / 0.6324 GB, free: 33.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=378): time 0.3266/2.145, allocations: 50.23 MB / 0.6815 GB, free: 1.301 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/2.146, allocations: 174.2 kB / 0.6816 GB, free: 1.102 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3161/2.462, allocations: 4.748 MB / 0.6863 GB, free: 80.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00131/2.463, allocations: 81.77 kB / 0.6863 GB, free: 80.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003793/2.467, allocations: 3.803 MB / 0.6901 GB, free: 79.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002983/2.47, allocations: 1.371 MB / 0.6914 GB, free: 78.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/2.472, allocations: 163.3 kB / 0.6916 GB, free: 78.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007695/2.473, allocations: 0.656 MB / 0.6922 GB, free: 78.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01217/2.485, allocations: 4.514 MB / 0.6966 GB, free: 78.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01795/2.503, allocations: 8.748 MB / 0.7051 GB, free: 72.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02147/2.524, allocations: 6.231 MB / 0.7112 GB, free: 72.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002688/2.525, allocations: 38.66 kB / 0.7113 GB, free: 72.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.07843/2.603, allocations: 18.85 MB / 0.7297 GB, free: 72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/2.603, allocations: 64.47 kB / 0.7297 GB, free: 72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002382/2.604, allocations: 148.5 kB / 0.7299 GB, free: 72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03317/2.637, allocations: 6.598 MB / 0.7363 GB, free: 71.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01138/2.648, allocations: 1.751 MB / 0.738 GB, free: 71.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09422/2.742, allocations: 37.39 MB / 0.7745 GB, free: 54.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/2.754, allocations: 0.5759 MB / 0.7751 GB, free: 54.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002374/2.756, allocations: 460.6 kB / 0.7755 GB, free: 54.75 MB / 426.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 (900): * Single equations (assignments): 892 * 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 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009543/2.766, allocations: 3.002 MB / 0.7785 GB, free: 53.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/2.768, allocations: 0.4887 MB / 0.779 GB, free: 53.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05161/2.819, allocations: 13.78 MB / 0.7924 GB, free: 43.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.493e-05/2.819, allocations: 40.55 kB / 0.7925 GB, free: 43.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-05/2.819, allocations: 24 kB / 0.7925 GB, free: 43.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.486e-05/2.819, allocations: 22.42 kB / 0.7925 GB, free: 43.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08434/2.904, allocations: 26.36 MB / 0.8182 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.199e-05/2.904, allocations: 4 kB / 0.8182 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005152/2.909, allocations: 0.5211 MB / 0.8187 GB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03351/2.943, allocations: 6.333 MB / 0.8249 GB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/2.944, allocations: 70.39 kB / 0.825 GB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3959/3.34, allocations: 34.01 MB / 0.8582 GB, free: 68.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/3.34, allocations: 7.438 kB / 0.8582 GB, free: 68.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0615/3.402, allocations: 20.3 MB / 0.878 GB, free: 66.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004912/3.406, allocations: 1.347 MB / 0.8794 GB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002517/3.409, allocations: 68.94 kB / 0.8794 GB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00706/3.416, allocations: 343.2 kB / 0.8798 GB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002274/3.418, allocations: 268.2 kB / 0.88 GB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001143/3.42, allocations: 105 kB / 0.8801 GB, free: 66.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009302/3.429, allocations: 3.317 MB / 0.8833 GB, free: 65.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.11e-07/3.429, allocations: 2.75 kB / 0.8833 GB, free: 65.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01311/3.442, allocations: 1.88 MB / 0.8852 GB, free: 65.76 MB / 426.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 (231): * Single equations (assignments): 223 * 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0652/3.507, allocations: 21.64 MB / 0.9063 GB, free: 56.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02973/3.537, allocations: 11.9 MB / 0.9179 GB, free: 52.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/3.537, allocations: 3.469 kB / 0.9179 GB, free: 52.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01576/3.553, allocations: 5.717 MB / 0.9235 GB, free: 49.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006181/3.559, allocations: 0.6141 MB / 0.9241 GB, free: 49.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5732/4.133, allocations: 167.5 MB / 1.088 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01286/4.145, allocations: 4.694 MB / 1.092 GB, free: 26.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007443/4.153, allocations: 2.823 MB / 1.095 GB, free: 26.45 MB / 458.7 MB Notification: Performance of SimCode: time 1.223e-06/4.153, allocations: 0 / 1.095 GB, free: 26.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.585/10.74, allocations: 257.4 MB / 1.346 GB, free: 107 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat