Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.RollingWheel,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 171.2 MB / 186.1 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004906, allocations: 12 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09413/0.09467, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3917/0.4865, allocations: 78.61 MB / 350.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/0.4869, allocations: 89.75 kB / 350.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2882/0.7751, allocations: 61.18 MB / 412 MB, free: 3.023 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7752, allocations: 0 / 412 MB, free: 3.023 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001785/0.7754, allocations: 48 kB / 412.1 MB, free: 2.977 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01527/0.7907, allocations: 3.17 MB / 415.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.7908, allocations: 15.97 kB / 415.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003018/0.7938, allocations: 0.536 MB / 415.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.8103, allocations: 1.989 MB / 417.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/0.8254, allocations: 3.557 MB / 421.3 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.8258, allocations: 205.5 kB / 421.5 MB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/0.8278, allocations: 283.8 kB / 421.8 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/0.8531, allocations: 7.949 MB / 429.7 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002128/0.8534, allocations: 55.47 kB / 429.8 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.2425/1.096, allocations: 142.6 kB / 429.9 MB, free: 79.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/1.098, allocations: 0.7726 MB / 430.7 MB, free: 79.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/1.119, allocations: 6.549 MB / 437.3 MB, free: 79.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05539/1.174, allocations: 41.38 MB / 478.6 MB, free: 52.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/1.185, allocations: 2.959 MB / 481.6 MB, free: 50.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009388/1.186, allocations: 0.6315 MB / 482.2 MB, free: 50.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/1.186, allocations: 52.59 kB / 482.3 MB, free: 50.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 5.169e-06/1.186, allocations: 3.875 kB / 482.3 MB, free: 50.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.1397/1.326, allocations: 23.13 MB / 0.4936 GB, free: 44.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/1.326, allocations: 144.9 kB / 0.4937 GB, free: 44.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007556/1.334, allocations: 2.91 MB / 0.4966 GB, free: 42.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005653/1.334, allocations: 45.7 kB / 0.4966 GB, free: 42.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002196/1.336, allocations: 2.319 MB / 0.4989 GB, free: 40.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001116/1.338, allocations: 0.6025 MB / 0.4995 GB, free: 40.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008386/1.338, allocations: 105.3 kB / 0.4996 GB, free: 40.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000502/1.339, allocations: 0.531 MB / 0.5001 GB, free: 39.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005662/1.345, allocations: 2.395 MB / 0.5024 GB, free: 37.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007648/1.352, allocations: 5.553 MB / 0.5078 GB, free: 30.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007647/1.36, allocations: 3.569 MB / 0.5113 GB, free: 27.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.007e-05/1.36, allocations: 32 kB / 0.5113 GB, free: 27.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04368/1.404, allocations: 11.49 MB / 0.5226 GB, free: 16.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.465e-05/1.404, allocations: 52 kB / 0.5226 GB, free: 16.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/1.404, allocations: 116 kB / 0.5227 GB, free: 16.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02594/1.43, allocations: 4.157 MB / 0.5268 GB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006856/1.437, allocations: 1.17 MB / 0.5279 GB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03799/1.475, allocations: 14.26 MB / 0.5418 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006793/1.482, allocations: 351.3 kB / 0.5422 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001527/1.483, allocations: 325.1 kB / 0.5425 GB, free: 12.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[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],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (616): * Single equations (assignments): 606 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005165/1.489, allocations: 1.599 MB / 0.5441 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009893/1.49, allocations: 276.4 kB / 0.5443 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0358/1.525, allocations: 6.968 MB / 0.5511 GB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-05/1.526, allocations: 20.31 kB / 0.5511 GB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.123e-05/1.526, allocations: 8 kB / 0.5512 GB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.972e-05/1.526, allocations: 19.58 kB / 0.5512 GB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3119/1.838, allocations: 14.65 MB / 0.5655 GB, free: 86.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/1.838, allocations: 1.281 kB / 0.5655 GB, free: 86.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002215/1.84, allocations: 231.8 kB / 0.5657 GB, free: 86.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03144/1.871, allocations: 4.761 MB / 0.5703 GB, free: 86.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008559/1.872, allocations: 50.27 kB / 0.5704 GB, free: 86.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04013/1.912, allocations: 14.38 MB / 0.5844 GB, free: 84.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.913, allocations: 0.8438 kB / 0.5844 GB, free: 84.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04101/1.954, allocations: 11.14 MB / 0.5953 GB, free: 80.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.955, allocations: 348.5 kB / 0.5957 GB, free: 80.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/1.956, allocations: 41.22 kB / 0.5957 GB, free: 80.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003827/1.96, allocations: 197.4 kB / 0.5959 GB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008227/1.961, allocations: 110 kB / 0.596 GB, free: 80.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002594/1.961, allocations: 48.94 kB / 0.596 GB, free: 80.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005099/1.966, allocations: 2.03 MB / 0.598 GB, free: 80 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.966, allocations: 0 / 0.598 GB, free: 80 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006384/1.972, allocations: 0.9176 MB / 0.5989 GB, free: 79.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[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 (104): * Single equations (assignments): 94 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0417/2.014, allocations: 11.96 MB / 0.6106 GB, free: 75.71 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.019/2.033, allocations: 6.876 MB / 0.6173 GB, free: 70.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/2.033, allocations: 0 / 0.6173 GB, free: 70.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01064/2.044, allocations: 3.228 MB / 0.6205 GB, free: 68.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/2.047, allocations: 319.7 kB / 0.6208 GB, free: 67.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3573/2.405, allocations: 109.5 MB / 0.7277 GB, free: 54.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/2.408, allocations: 2.554 MB / 0.7302 GB, free: 53.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00657/2.415, allocations: 1.616 MB / 0.7317 GB, free: 53.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002836/2.418, allocations: 1.27 MB / 0.733 GB, free: 53.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/2.418, allocations: 0 / 0.733 GB, free: 53.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2031/2.621, allocations: 75.49 MB / 0.8067 GB, free: 4.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003321/2.621, allocations: 210.4 kB / 0.8069 GB, free: 4.332 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.052/7.673, allocations: 3.938 kB / 0.8069 GB, free: 4.328 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat