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.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_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 171.2 MB / 186.1 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005927/0.0005925, allocations: 8 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1058, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.5021, allocations: 86.65 MB / 358.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/0.5025, allocations: 89.89 kB / 358.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7027/1.205, allocations: 117.4 MB / 476.3 MB, free: 70.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.526e-06/1.205, allocations: 0 / 476.3 MB, free: 70.28 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004035/1.206, allocations: 124.4 kB / 476.4 MB, free: 70.27 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.02846/1.234, allocations: 6.486 MB / 482.9 MB, free: 67.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/1.234, allocations: 14.5 kB / 482.9 MB, free: 67.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005927/1.24, allocations: 1.039 MB / 484 MB, free: 67.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02247/1.263, allocations: 2.775 MB / 486.7 MB, free: 66.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0261/1.289, allocations: 7.662 MB / 494.4 MB, free: 63.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006041/1.289, allocations: 456.5 kB / 494.8 MB, free: 63.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004216/1.294, allocations: 0.6002 MB / 495.4 MB, free: 63.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0505/1.344, allocations: 15.69 MB / 0.4992 GB, free: 48.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006041/1.345, allocations: 79.25 kB / 0.4992 GB, free: 48.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003517/1.348, allocations: 293.7 kB / 0.4995 GB, free: 48.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003644/1.352, allocations: 1.474 MB / 0.501 GB, free: 46.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0426/1.395, allocations: 13.47 MB / 0.5141 GB, free: 33.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4123/1.807, allocations: 70.25 MB / 0.5827 GB, free: 36.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03311/1.84, allocations: 7.312 MB / 0.5899 GB, free: 36.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002136/1.843, allocations: 1.279 MB / 0.5911 GB, free: 34.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.592e-05/1.843, allocations: 73.89 kB / 0.5912 GB, free: 34.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 8.276e-06/1.843, allocations: 0 / 0.5912 GB, free: 34.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=377): time 0.3008/2.144, allocations: 50.5 MB / 0.6405 GB, free: 28.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/2.144, allocations: 167 kB / 0.6406 GB, free: 28.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01722/2.161, allocations: 4.611 MB / 0.6452 GB, free: 24.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001642/2.163, allocations: 81.7 kB / 0.6452 GB, free: 24.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00536/2.168, allocations: 3.967 MB / 0.6491 GB, free: 20.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003562/2.172, allocations: 1.366 MB / 0.6504 GB, free: 19.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002201/2.174, allocations: 161.1 kB / 0.6506 GB, free: 19.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.001083/2.175, allocations: 0.6486 MB / 0.6512 GB, free: 18.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01671/2.192, allocations: 4.517 MB / 0.6556 GB, free: 14.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02122/2.213, allocations: 8.751 MB / 0.6642 GB, free: 4.691 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02247/2.236, allocations: 6.219 MB / 0.6703 GB, free: 14.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001992/2.236, allocations: 44 kB / 0.6703 GB, free: 14.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.08881/2.325, allocations: 19.04 MB / 0.6889 GB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/2.325, allocations: 68 kB / 0.689 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002967/2.325, allocations: 148 kB / 0.6891 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03681/2.362, allocations: 6.653 MB / 0.6956 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/2.374, allocations: 1.755 MB / 0.6973 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.375/2.749, allocations: 37.24 MB / 0.7337 GB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/2.761, allocations: 0.5664 MB / 0.7342 GB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002504/2.763, allocations: 468.8 kB / 0.7347 GB, free: 110.6 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.009463/2.773, allocations: 2.988 MB / 0.7376 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001867/2.775, allocations: 0.4926 MB / 0.7381 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05145/2.826, allocations: 13.78 MB / 0.7515 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.29e-05/2.826, allocations: 40.62 kB / 0.7516 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.318e-05/2.826, allocations: 24.72 kB / 0.7516 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.467e-05/2.826, allocations: 19.94 kB / 0.7516 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08681/2.913, allocations: 26.35 MB / 0.7773 GB, free: 96.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.574e-05/2.913, allocations: 10.58 kB / 0.7774 GB, free: 96.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004722/2.918, allocations: 0.5296 MB / 0.7779 GB, free: 95.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03466/2.953, allocations: 6.323 MB / 0.784 GB, free: 94.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001683/2.954, allocations: 72.05 kB / 0.7841 GB, free: 94.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1175/3.072, allocations: 34.02 MB / 0.8173 GB, free: 67.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/3.072, allocations: 9.344 kB / 0.8173 GB, free: 67.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07126/3.143, allocations: 20.31 MB / 0.8372 GB, free: 46.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005109/3.149, allocations: 1.344 MB / 0.8385 GB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001912/3.15, allocations: 64.92 kB / 0.8385 GB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006497/3.157, allocations: 343.5 kB / 0.8389 GB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001725/3.159, allocations: 273.3 kB / 0.8391 GB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005785/3.159, allocations: 98.98 kB / 0.8392 GB, free: 44.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007777/3.167, allocations: 3.317 MB / 0.8425 GB, free: 41.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.92e-07/3.167, allocations: 0 / 0.8425 GB, free: 41.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01162/3.179, allocations: 1.883 MB / 0.8443 GB, free: 39.68 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.3519/3.531, allocations: 21.63 MB / 0.8654 GB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03098/3.562, allocations: 11.95 MB / 0.8771 GB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/3.562, allocations: 2.5 kB / 0.8771 GB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01581/3.578, allocations: 5.718 MB / 0.8827 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006031/3.584, allocations: 0.617 MB / 0.8833 GB, free: 107 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5128/4.097, allocations: 166.7 MB / 1.046 GB, free: 144.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01126/4.108, allocations: 4.687 MB / 1.051 GB, free: 144 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01109/4.119, allocations: 2.451 MB / 1.053 GB, free: 143.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006541/4.126, allocations: 2.764 MB / 1.056 GB, free: 143.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.293e-06/4.126, allocations: 0 / 1.056 GB, free: 143.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6497/4.775, allocations: 150.3 MB / 1.203 GB, free: 128.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/4.776, allocations: 221.8 kB / 1.203 GB, free: 128.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/12.5, allocations: 0 / 1.203 GB, free: 128.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat