Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004815, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09682, allocations: 44.51 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5432, allocations: 97.03 MB / 405.6 MB, free: 16.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004068/0.5437, allocations: 92.94 kB / 405.7 MB, free: 16.71 MB / 314.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.5637/1.107, allocations: 123.2 MB / 0.5165 GB, free: 8.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.108, allocations: 0 / 0.5165 GB, free: 8.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005215/1.108, allocations: 128 kB / 0.5166 GB, free: 8.707 MB / 410.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.03141/1.139, allocations: 6.836 MB / 0.5233 GB, free: 1.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/1.14, allocations: 15.97 kB / 0.5233 GB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005696/1.145, allocations: 1.087 MB / 0.5244 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3174/1.463, allocations: 2.816 MB / 0.5271 GB, free: 65.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02716/1.49, allocations: 7.818 MB / 0.5347 GB, free: 64.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007437/1.491, allocations: 478.7 kB / 0.5352 GB, free: 64.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004002/1.495, allocations: 0.6343 MB / 0.5358 GB, free: 64.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05431/1.549, allocations: 16.35 MB / 0.5518 GB, free: 61.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005942/1.55, allocations: 89.3 kB / 0.5519 GB, free: 61.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003686/1.554, allocations: 307.5 kB / 0.5522 GB, free: 61.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004847/1.558, allocations: 1.507 MB / 0.5536 GB, free: 61.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05624/1.615, allocations: 13.89 MB / 0.5672 GB, free: 61.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1199/1.735, allocations: 73.5 MB / 0.639 GB, free: 29.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03288/1.768, allocations: 7.622 MB / 0.6464 GB, free: 26.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/1.77, allocations: 1.277 MB / 0.6477 GB, free: 25.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02984/1.8, allocations: 5.67 MB / 0.6532 GB, free: 21.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 1.013e-05/1.8, allocations: 6.312 kB / 0.6532 GB, free: 21.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=395): time 0.6493/2.449, allocations: 54.39 MB / 0.7063 GB, free: 74.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/2.449, allocations: 168.7 kB / 0.7065 GB, free: 74.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/2.46, allocations: 4.91 MB / 0.7113 GB, free: 74.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001463/2.462, allocations: 86.86 kB / 0.7114 GB, free: 74.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004515/2.466, allocations: 4.065 MB / 0.7153 GB, free: 72.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002865/2.469, allocations: 1.456 MB / 0.7168 GB, free: 71.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/2.47, allocations: 174 kB / 0.7169 GB, free: 71.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005201/2.471, allocations: 0.6717 MB / 0.7176 GB, free: 70.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/2.482, allocations: 4.711 MB / 0.7222 GB, free: 70.85 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01475/2.497, allocations: 9.186 MB / 0.7311 GB, free: 65.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01545/2.512, allocations: 6.539 MB / 0.7375 GB, free: 65.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001796/2.513, allocations: 47.41 kB / 0.7376 GB, free: 65.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.06615/2.579, allocations: 19.54 MB / 0.7567 GB, free: 61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000178/2.579, allocations: 105 kB / 0.7568 GB, free: 60.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002492/2.579, allocations: 158 kB / 0.7569 GB, free: 60.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03274/2.612, allocations: 6.734 MB / 0.7635 GB, free: 59.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/2.624, allocations: 1.854 MB / 0.7653 GB, free: 59.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08709/2.711, allocations: 37.35 MB / 0.8018 GB, free: 32.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/2.722, allocations: 0.599 MB / 0.8024 GB, free: 32.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00257/2.725, allocations: 494.5 kB / 0.8028 GB, free: 31.64 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.009878/2.735, allocations: 3.155 MB / 0.8059 GB, free: 28.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001864/2.737, allocations: 0.5129 MB / 0.8064 GB, free: 28.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05176/2.788, allocations: 14.13 MB / 0.8202 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-05/2.789, allocations: 40 kB / 0.8202 GB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.078e-05/2.789, allocations: 24 kB / 0.8203 GB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.967e-05/2.789, allocations: 21.81 kB / 0.8203 GB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4529/3.242, allocations: 27.14 MB / 0.8468 GB, free: 65.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.278e-05/3.242, allocations: 6.406 kB / 0.8468 GB, free: 65.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004971/3.247, allocations: 0.5473 MB / 0.8473 GB, free: 65.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03204/3.279, allocations: 6.364 MB / 0.8535 GB, free: 65.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001338/3.28, allocations: 76.7 kB / 0.8536 GB, free: 65.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07899/3.359, allocations: 35.9 MB / 0.8887 GB, free: 62.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/3.359, allocations: 3.375 kB / 0.8887 GB, free: 62.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06043/3.42, allocations: 20.7 MB / 0.9089 GB, free: 54.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005204/3.425, allocations: 1.405 MB / 0.9103 GB, free: 53.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002444/3.427, allocations: 67.97 kB / 0.9103 GB, free: 53.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006976/3.434, allocations: 349.9 kB / 0.9107 GB, free: 53.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002194/3.437, allocations: 282.4 kB / 0.9109 GB, free: 53.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006408/3.437, allocations: 110.9 kB / 0.911 GB, free: 53.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008945/3.446, allocations: 3.509 MB / 0.9145 GB, free: 52.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.02e-07/3.446, allocations: 3.656 kB / 0.9145 GB, free: 52.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01295/3.459, allocations: 1.983 MB / 0.9164 GB, free: 52.37 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.06727/3.527, allocations: 22.31 MB / 0.9382 GB, free: 39.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03085/3.557, allocations: 12.5 MB / 0.9504 GB, free: 28.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/3.558, allocations: 5.5 kB / 0.9504 GB, free: 28.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01635/3.574, allocations: 5.877 MB / 0.9561 GB, free: 23.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006601/3.581, allocations: 0.6502 MB / 0.9568 GB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4187/3.999, allocations: 141.2 MB / 1.095 GB, free: 34.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01377/4.013, allocations: 4.892 MB / 1.099 GB, free: 33.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008196/4.021, allocations: 2.994 MB / 1.102 GB, free: 33.91 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/4.021, allocations: 3.969 kB / 1.102 GB, free: 33.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.87/10.89, allocations: 267.7 MB / 1.364 GB, free: 117.5 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat