Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetDriving",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003497, allocations: 12 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3667, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.5747, allocations: 92.4 MB / 401 MB, free: 224 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/0.5751, allocations: 91.95 kB / 401.1 MB, free: 132 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7916/1.367, allocations: 117.5 MB / 0.5064 GB, free: 6.199 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.356e-06/1.367, allocations: 0 / 0.5064 GB, free: 6.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005214/1.367, allocations: 120 kB / 0.5065 GB, free: 6.082 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: 2063 * Number of variables: 2063 Notification: Performance of Generate backend data structure: time 0.03558/1.403, allocations: 6.488 MB / 0.5128 GB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/1.403, allocations: 12.02 kB / 0.5128 GB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006135/1.409, allocations: 1.042 MB / 0.5139 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03026/1.44, allocations: 2.773 MB / 0.5166 GB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03738/1.477, allocations: 7.656 MB / 0.524 GB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001065/1.478, allocations: 456 kB / 0.5245 GB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005213/1.483, allocations: 0.6012 MB / 0.5251 GB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06297/1.546, allocations: 15.7 MB / 0.5404 GB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005079/1.547, allocations: 83.23 kB / 0.5405 GB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003203/1.55, allocations: 291.9 kB / 0.5408 GB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004204/1.554, allocations: 1.474 MB / 0.5422 GB, free: 84 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04656/1.601, allocations: 13.47 MB / 0.5553 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.401/2.002, allocations: 70.27 MB / 0.624 GB, free: 26.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.031/2.033, allocations: 7.317 MB / 0.6311 GB, free: 25.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001959/2.035, allocations: 1.291 MB / 0.6324 GB, free: 23.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/2.035, allocations: 65.78 kB / 0.6324 GB, free: 23.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=287): time 7.914e-06/2.035, allocations: 0 / 0.6324 GB, free: 23.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=378): time 0.2894/2.325, allocations: 50.24 MB / 0.6815 GB, free: 1.039 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/2.325, allocations: 166.1 kB / 0.6817 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02479/2.35, allocations: 5.307 MB / 0.6868 GB, free: 14.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001258/2.351, allocations: 84.52 kB / 0.6869 GB, free: 14.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004705/2.356, allocations: 3.965 MB / 0.6908 GB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002829/2.359, allocations: 1.372 MB / 0.6921 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/2.36, allocations: 164 kB / 0.6923 GB, free: 9.203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007293/2.361, allocations: 0.6451 MB / 0.6929 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01355/2.374, allocations: 4.52 MB / 0.6973 GB, free: 4.023 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01828/2.393, allocations: 8.75 MB / 0.7059 GB, free: 9.246 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0173/2.41, allocations: 6.223 MB / 0.712 GB, free: 3.129 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001566/2.41, allocations: 44 kB / 0.712 GB, free: 3.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.3832/2.793, allocations: 19.03 MB / 0.7306 GB, free: 89.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/2.794, allocations: 72.05 kB / 0.7307 GB, free: 89.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002397/2.794, allocations: 149.4 kB / 0.7308 GB, free: 89.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03356/2.827, allocations: 6.587 MB / 0.7372 GB, free: 89.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/2.839, allocations: 1.756 MB / 0.7389 GB, free: 89.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08747/2.926, allocations: 37.39 MB / 0.7755 GB, free: 79.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0109/2.937, allocations: 0.5741 MB / 0.776 GB, free: 79.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002506/2.94, allocations: 468.8 kB / 0.7765 GB, free: 79.69 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.00976/2.95, allocations: 2.991 MB / 0.7794 GB, free: 78.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00164/2.951, allocations: 0.4889 MB / 0.7799 GB, free: 78.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0509/3.002, allocations: 13.78 MB / 0.7933 GB, free: 71.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.636e-05/3.002, allocations: 36 kB / 0.7934 GB, free: 71.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-05/3.002, allocations: 32.5 kB / 0.7934 GB, free: 71.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.004e-05/3.002, allocations: 20.98 kB / 0.7934 GB, free: 71.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08875/3.091, allocations: 26.35 MB / 0.8191 GB, free: 50.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.393e-05/3.091, allocations: 4 kB / 0.8191 GB, free: 50.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004825/3.096, allocations: 0.5282 MB / 0.8197 GB, free: 50.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03319/3.129, allocations: 6.331 MB / 0.8258 GB, free: 44.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001357/3.131, allocations: 75.94 kB / 0.8259 GB, free: 44.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08417/3.215, allocations: 34 MB / 0.8591 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/3.215, allocations: 6.625 kB / 0.8591 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4209/3.636, allocations: 20.3 MB / 0.8789 GB, free: 98.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005325/3.641, allocations: 1.351 MB / 0.8803 GB, free: 98.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00225/3.644, allocations: 63.81 kB / 0.8803 GB, free: 98.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007009/3.651, allocations: 341.7 kB / 0.8807 GB, free: 98.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001978/3.653, allocations: 275.7 kB / 0.8809 GB, free: 98.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006723/3.653, allocations: 101.4 kB / 0.881 GB, free: 98.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008457/3.662, allocations: 3.314 MB / 0.8843 GB, free: 98.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.72e-07/3.662, allocations: 0 / 0.8843 GB, free: 98.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0115/3.673, allocations: 1.887 MB / 0.8861 GB, free: 98.47 MB / 442.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.06389/3.737, allocations: 21.64 MB / 0.9072 GB, free: 96.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02902/3.766, allocations: 11.89 MB / 0.9188 GB, free: 94.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/3.766, allocations: 0 / 0.9188 GB, free: 94.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01557/3.782, allocations: 5.714 MB / 0.9244 GB, free: 92.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00766/3.79, allocations: 0.6177 MB / 0.925 GB, free: 91.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.613/4.403, allocations: 166.8 MB / 1.088 GB, free: 85.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01129/4.414, allocations: 4.688 MB / 1.092 GB, free: 84.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01175/4.426, allocations: 2.46 MB / 1.095 GB, free: 84.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007464/4.433, allocations: 2.762 MB / 1.098 GB, free: 84.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.462e-06/4.434, allocations: 2.188 kB / 1.098 GB, free: 84.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7034/5.137, allocations: 150.3 MB / 1.244 GB, free: 108.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/5.137, allocations: 229.1 kB / 1.245 GB, free: 108.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/13.4, allocations: 3.938 kB / 1.245 GB, free: 108.4 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat does not exist to compare? outputFormat=mat