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.RollingWheelSetPulling.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.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.662/1.662, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 8 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08706/0.08747, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3961/0.4836, allocations: 91.78 MB / 363.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/0.484, allocations: 86.58 kB / 364 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7155/1.2, allocations: 123 MB / 487 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.937e-06/1.2, allocations: 0 / 487 MB, free: 70.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000462/1.2, allocations: 133.3 kB / 487.1 MB, free: 70.04 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: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.03168/1.232, allocations: 6.799 MB / 493.9 MB, free: 65.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/1.232, allocations: 10.62 kB / 493.9 MB, free: 65.62 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006642/1.239, allocations: 1.089 MB / 495 MB, free: 64.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02261/1.261, allocations: 2.812 MB / 497.8 MB, free: 63.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02566/1.287, allocations: 7.807 MB / 0.4938 GB, free: 56.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000603/1.288, allocations: 481.8 kB / 0.4942 GB, free: 55.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003778/1.291, allocations: 0.6335 MB / 0.4948 GB, free: 55.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05105/1.342, allocations: 16.34 MB / 0.5108 GB, free: 37.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005247/1.343, allocations: 83.25 kB / 0.5109 GB, free: 37.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003458/1.347, allocations: 306.7 kB / 0.5112 GB, free: 37.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003707/1.35, allocations: 1.514 MB / 0.5126 GB, free: 35.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04322/1.394, allocations: 13.87 MB / 0.5262 GB, free: 21.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4054/1.799, allocations: 73.46 MB / 0.5979 GB, free: 31.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03349/1.833, allocations: 7.577 MB / 0.6053 GB, free: 30.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/1.835, allocations: 1.284 MB / 0.6066 GB, free: 29.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02936/1.864, allocations: 5.65 MB / 0.6121 GB, free: 29.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 8.466e-06/1.864, allocations: 0 / 0.6121 GB, free: 29.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.2772/2.141, allocations: 49.41 MB / 0.6603 GB, free: 16.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/2.141, allocations: 167.7 kB / 0.6605 GB, free: 16.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/2.153, allocations: 4.901 MB / 0.6653 GB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001278/2.154, allocations: 81.7 kB / 0.6654 GB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00454/2.159, allocations: 4.228 MB / 0.6695 GB, free: 8.602 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002644/2.161, allocations: 1.429 MB / 0.6709 GB, free: 7.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/2.163, allocations: 172 kB / 0.6711 GB, free: 7.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005417/2.163, allocations: 0.6627 MB / 0.6717 GB, free: 6.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01113/2.174, allocations: 4.639 MB / 0.6762 GB, free: 2.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01666/2.191, allocations: 9.108 MB / 0.6851 GB, free: 6.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/2.208, allocations: 6.461 MB / 0.6914 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001646/2.208, allocations: 44 kB / 0.6915 GB, free: 0.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.3463/2.555, allocations: 19.57 MB / 0.7106 GB, free: 93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/2.555, allocations: 106.3 kB / 0.7107 GB, free: 92.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003/2.555, allocations: 155.8 kB / 0.7108 GB, free: 92.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03622/2.592, allocations: 6.69 MB / 0.7174 GB, free: 92.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01279/2.604, allocations: 1.842 MB / 0.7192 GB, free: 92.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09241/2.697, allocations: 37.41 MB / 0.7557 GB, free: 83.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/2.708, allocations: 0.5957 MB / 0.7563 GB, free: 83.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/2.711, allocations: 493.1 kB / 0.7568 GB, free: 83.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 711 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (948): * Single equations (assignments): 939 * Array equations: 3 * Algorithm blocks: 1 * 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%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009955/2.721, allocations: 3.132 MB / 0.7598 GB, free: 82.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/2.723, allocations: 0.5185 MB / 0.7603 GB, free: 82.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05409/2.777, allocations: 13.97 MB / 0.774 GB, free: 77.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.04e-05/2.777, allocations: 43.48 kB / 0.774 GB, free: 77.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.528e-05/2.777, allocations: 27.44 kB / 0.774 GB, free: 77.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.698e-05/2.777, allocations: 18.14 kB / 0.774 GB, free: 77.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1082/2.885, allocations: 26.9 MB / 0.8003 GB, free: 60.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.239e-05/2.885, allocations: 4 kB / 0.8003 GB, free: 60.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004972/2.89, allocations: 0.5438 MB / 0.8009 GB, free: 59.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03265/2.923, allocations: 6.298 MB / 0.807 GB, free: 53.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001363/2.925, allocations: 71.98 kB / 0.8071 GB, free: 53.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08347/3.008, allocations: 36.02 MB / 0.8423 GB, free: 17.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/3.008, allocations: 4 kB / 0.8423 GB, free: 17.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3444/3.353, allocations: 20.47 MB / 0.8622 GB, free: 93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005407/3.358, allocations: 1.383 MB / 0.8636 GB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002427/3.361, allocations: 70.44 kB / 0.8637 GB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007135/3.368, allocations: 343 kB / 0.864 GB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002135/3.37, allocations: 283.6 kB / 0.8643 GB, free: 92.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008177/3.371, allocations: 102.5 kB / 0.8644 GB, free: 92.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01172/3.382, allocations: 3.508 MB / 0.8678 GB, free: 92.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.12e-07/3.382, allocations: 0 / 0.8678 GB, free: 92.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01746/3.4, allocations: 1.964 MB / 0.8697 GB, free: 92.72 MB / 394.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: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 232 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(7,77.6%) 102,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07936/3.479, allocations: 22 MB / 0.8912 GB, free: 87.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.031/3.51, allocations: 12.36 MB / 0.9032 GB, free: 82.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/3.51, allocations: 3.375 kB / 0.9033 GB, free: 82.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01526/3.526, allocations: 5.735 MB / 0.9089 GB, free: 80.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006404/3.532, allocations: 0.648 MB / 0.9095 GB, free: 79.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3738/3.906, allocations: 140.1 MB / 1.046 GB, free: 31.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0133/3.919, allocations: 4.877 MB / 1.051 GB, free: 31.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01598/3.935, allocations: 2.561 MB / 1.054 GB, free: 31.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01049/3.946, allocations: 2.912 MB / 1.056 GB, free: 31.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/3.946, allocations: 0 / 1.056 GB, free: 31.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6474/4.593, allocations: 154.4 MB / 1.207 GB, free: 77.21 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003145/4.594, allocations: 267.8 kB / 1.207 GB, free: 76.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/12.6, allocations: 3.906 kB / 1.207 GB, free: 76.86 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat