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.RollingWheelSetPulling.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.RollingWheelSetPulling,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 194.9 MB / 211.1 MB, free: 7.578 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8 kB / 264.1 MB, free: 2.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4301, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.6221, allocations: 97.05 MB / 405.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.6225, allocations: 87.95 kB / 405.7 MB, free: 11.37 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.7727/1.395, allocations: 123.2 MB / 0.5165 GB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.827e-06/1.395, allocations: 0 / 0.5165 GB, free: 12.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005171/1.396, allocations: 132 kB / 0.5166 GB, free: 11.89 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2155 * Number of variables: 2155 Notification: Performance of Generate backend data structure: time 0.03065/1.426, allocations: 6.84 MB / 0.5233 GB, free: 4.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.426, allocations: 12.03 kB / 0.5233 GB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00544/1.432, allocations: 1.091 MB / 0.5244 GB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02311/1.455, allocations: 2.823 MB / 0.5271 GB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02845/1.484, allocations: 7.81 MB / 0.5348 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007987/1.484, allocations: 484.7 kB / 0.5352 GB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003979/1.488, allocations: 0.6324 MB / 0.5359 GB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0558/1.544, allocations: 16.36 MB / 0.5518 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004763/1.545, allocations: 87.19 kB / 0.5519 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003214/1.548, allocations: 303.9 kB / 0.5522 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004194/1.552, allocations: 1.501 MB / 0.5537 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3383/1.891, allocations: 13.89 MB / 0.5672 GB, free: 58.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1163/2.007, allocations: 73.49 MB / 0.639 GB, free: 18.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03299/2.04, allocations: 7.631 MB / 0.6465 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/2.042, allocations: 1.279 MB / 0.6477 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03012/2.073, allocations: 5.668 MB / 0.6532 GB, free: 12.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=300): time 1.338e-05/2.073, allocations: 0 / 0.6532 GB, free: 12.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=395): time 0.3361/2.409, allocations: 54.6 MB / 0.7066 GB, free: 8.953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/2.409, allocations: 171.1 kB / 0.7067 GB, free: 8.754 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01411/2.423, allocations: 4.913 MB / 0.7115 GB, free: 3.941 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001372/2.425, allocations: 85.7 kB / 0.7116 GB, free: 3.852 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.309/2.734, allocations: 4.219 MB / 0.7157 GB, free: 89.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003633/2.737, allocations: 1.454 MB / 0.7171 GB, free: 89.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002384/2.74, allocations: 176.4 kB / 0.7173 GB, free: 89.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001147/2.741, allocations: 0.6715 MB / 0.718 GB, free: 88.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01327/2.754, allocations: 4.716 MB / 0.7226 GB, free: 88.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01674/2.771, allocations: 9.179 MB / 0.7315 GB, free: 83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01607/2.787, allocations: 6.551 MB / 0.7379 GB, free: 82.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00022/2.787, allocations: 46.94 kB / 0.738 GB, free: 82.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.06925/2.857, allocations: 19.73 MB / 0.7572 GB, free: 81.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000221/2.857, allocations: 102.6 kB / 0.7573 GB, free: 81.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002708/2.857, allocations: 161.3 kB / 0.7575 GB, free: 81.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0338/2.891, allocations: 6.736 MB / 0.7641 GB, free: 81.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0121/2.903, allocations: 1.849 MB / 0.7659 GB, free: 81.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09648/3, allocations: 37.35 MB / 0.8023 GB, free: 62.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/3.012, allocations: 0.5934 MB / 0.8029 GB, free: 61.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002746/3.014, allocations: 496.8 kB / 0.8034 GB, free: 61.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (956): * Single equations (assignments): 947 * 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 {(8,71.9%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01023/3.025, allocations: 3.146 MB / 0.8065 GB, free: 58.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00201/3.027, allocations: 0.5206 MB / 0.807 GB, free: 58.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07596/3.103, allocations: 14.12 MB / 0.8208 GB, free: 47.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001049/3.103, allocations: 40 kB / 0.8208 GB, free: 47.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00014/3.103, allocations: 31.69 kB / 0.8208 GB, free: 47.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001199/3.103, allocations: 18.33 kB / 0.8209 GB, free: 47.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09984/3.203, allocations: 27.14 MB / 0.8474 GB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.505e-05/3.203, allocations: 4 kB / 0.8474 GB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004978/3.208, allocations: 0.5514 MB / 0.8479 GB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03221/3.24, allocations: 6.36 MB / 0.8541 GB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001434/3.242, allocations: 79.22 kB / 0.8542 GB, free: 19.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4159/3.658, allocations: 35.88 MB / 0.8892 GB, free: 76.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/3.658, allocations: 9 kB / 0.8892 GB, free: 76.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0616/3.719, allocations: 20.69 MB / 0.9095 GB, free: 75.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005577/3.725, allocations: 1.412 MB / 0.9108 GB, free: 74.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002067/3.727, allocations: 70.66 kB / 0.9109 GB, free: 74.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008513/3.736, allocations: 349.7 kB / 0.9112 GB, free: 74.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002683/3.739, allocations: 278.4 kB / 0.9115 GB, free: 74.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009413/3.74, allocations: 108.7 kB / 0.9116 GB, free: 74.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.02122/3.761, allocations: 3.512 MB / 0.915 GB, free: 73.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.182e-06/3.761, allocations: 3.781 kB / 0.915 GB, free: 73.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.03399/3.795, allocations: 1.975 MB / 0.917 GB, free: 73.05 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 238 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 100,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.073/3.868, allocations: 22.32 MB / 0.9388 GB, free: 63.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03097/3.899, allocations: 12.5 MB / 0.951 GB, free: 58.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/3.899, allocations: 11.28 kB / 0.951 GB, free: 58.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01529/3.914, allocations: 5.877 MB / 0.9567 GB, free: 53.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006102/3.92, allocations: 0.6575 MB / 0.9574 GB, free: 53.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.412/4.332, allocations: 140.4 MB / 1.095 GB, free: 19.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/4.343, allocations: 4.894 MB / 1.099 GB, free: 18.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01147/4.355, allocations: 2.587 MB / 1.102 GB, free: 18.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007409/4.362, allocations: 2.941 MB / 1.105 GB, free: 18.47 MB / 442.7 MB Notification: Performance of SimCode: time 1.392e-06/4.362, allocations: 0 / 1.105 GB, free: 18.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6755/5.038, allocations: 155.5 MB / 1.257 GB, free: 98.93 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/5.038, allocations: 281.5 kB / 1.257 GB, free: 98.56 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.571/13.61, allocations: 0 / 1.257 GB, free: 98.56 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat