Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.782/1.782, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.000358, allocations: 8 kB / 233.3 MB, free: 0.8398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08513, allocations: 38.77 MB / 272.1 MB, free: 9.98 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.4671, allocations: 91.77 MB / 363.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/0.4675, allocations: 91.94 kB / 364 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7411/1.209, allocations: 123 MB / 486.9 MB, free: 65.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.209, allocations: 0 / 486.9 MB, free: 65.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004252/1.209, allocations: 131.9 kB / 487.1 MB, free: 64.96 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.02729/1.236, allocations: 6.807 MB / 493.9 MB, free: 58.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.237, allocations: 8.031 kB / 493.9 MB, free: 58.06 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00491/1.241, allocations: 1.084 MB / 495 MB, free: 56.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02193/1.263, allocations: 2.815 MB / 497.8 MB, free: 54.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02444/1.288, allocations: 7.802 MB / 0.4937 GB, free: 46.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005568/1.289, allocations: 480.7 kB / 0.4942 GB, free: 45.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003656/1.292, allocations: 0.6286 MB / 0.4948 GB, free: 45.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04827/1.341, allocations: 16.34 MB / 0.5108 GB, free: 27.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004554/1.341, allocations: 87.19 kB / 0.5108 GB, free: 27.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003023/1.344, allocations: 307.9 kB / 0.5111 GB, free: 27.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003467/1.348, allocations: 1.509 MB / 0.5126 GB, free: 25.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04188/1.39, allocations: 13.88 MB / 0.5262 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3897/1.779, allocations: 73.45 MB / 0.5979 GB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03288/1.812, allocations: 7.581 MB / 0.6053 GB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001948/1.814, allocations: 1.282 MB / 0.6065 GB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02993/1.844, allocations: 5.658 MB / 0.6121 GB, free: 12.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=297): time 1.127e-05/1.844, allocations: 1.438 kB / 0.6121 GB, free: 12.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=388): time 0.3031/2.147, allocations: 50.23 MB / 0.6611 GB, free: 2.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/2.148, allocations: 163.1 kB / 0.6613 GB, free: 1.992 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/2.162, allocations: 4.903 MB / 0.6661 GB, free: 13.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001426/2.163, allocations: 81.7 kB / 0.6661 GB, free: 13.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006114/2.169, allocations: 4.065 MB / 0.6701 GB, free: 9.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003557/2.173, allocations: 1.427 MB / 0.6715 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002124/2.175, allocations: 172 kB / 0.6717 GB, free: 7.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.001008/2.176, allocations: 0.6742 MB / 0.6723 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01315/2.189, allocations: 4.639 MB / 0.6769 GB, free: 2.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2871/2.476, allocations: 9.107 MB / 0.6858 GB, free: 81.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01663/2.493, allocations: 6.462 MB / 0.6921 GB, free: 81.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003618/2.494, allocations: 46.56 kB / 0.6921 GB, free: 81.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.07028/2.564, allocations: 19.38 MB / 0.711 GB, free: 80.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001932/2.564, allocations: 105 kB / 0.7111 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002588/2.564, allocations: 157.7 kB / 0.7113 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03311/2.597, allocations: 6.692 MB / 0.7178 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01165/2.609, allocations: 1.839 MB / 0.7196 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09332/2.703, allocations: 37.41 MB / 0.7561 GB, free: 59.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/2.714, allocations: 0.5908 MB / 0.7567 GB, free: 58.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002641/2.717, allocations: 498.6 kB / 0.7572 GB, free: 58.32 MB / 378.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.01067/2.728, allocations: 3.134 MB / 0.7603 GB, free: 55.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001647/2.73, allocations: 0.5132 MB / 0.7608 GB, free: 55.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05154/2.781, allocations: 13.97 MB / 0.7744 GB, free: 44.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.317e-05/2.781, allocations: 41.64 kB / 0.7744 GB, free: 44.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.21e-05/2.781, allocations: 24 kB / 0.7745 GB, free: 44.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/2.781, allocations: 20.52 kB / 0.7745 GB, free: 44.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0879/2.869, allocations: 26.91 MB / 0.8008 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.335e-05/2.869, allocations: 4 kB / 0.8008 GB, free: 19.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004866/2.874, allocations: 0.5385 MB / 0.8013 GB, free: 18.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03254/2.907, allocations: 6.292 MB / 0.8074 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0014/2.908, allocations: 77.3 kB / 0.8075 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3722/3.281, allocations: 36.02 MB / 0.8427 GB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/3.281, allocations: 8.531 kB / 0.8427 GB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0606/3.341, allocations: 20.46 MB / 0.8627 GB, free: 69.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00491/3.346, allocations: 1.388 MB / 0.864 GB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002183/3.348, allocations: 70.78 kB / 0.8641 GB, free: 68.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006815/3.355, allocations: 345.3 kB / 0.8644 GB, free: 68.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002206/3.358, allocations: 276.7 kB / 0.8647 GB, free: 68.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006705/3.358, allocations: 102.2 kB / 0.8648 GB, free: 68.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008969/3.367, allocations: 3.512 MB / 0.8682 GB, free: 67.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.01e-07/3.367, allocations: 0 / 0.8682 GB, free: 67.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01317/3.381, allocations: 1.964 MB / 0.8701 GB, free: 67.05 MB / 378.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.06454/3.445, allocations: 22 MB / 0.8916 GB, free: 54.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0295/3.475, allocations: 12.36 MB / 0.9037 GB, free: 43.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/3.475, allocations: 0 / 0.9037 GB, free: 43.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0145/3.489, allocations: 5.743 MB / 0.9093 GB, free: 38.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00566/3.495, allocations: 0.6446 MB / 0.9099 GB, free: 37.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3834/3.878, allocations: 140.8 MB / 1.047 GB, free: 20.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01276/3.891, allocations: 4.882 MB / 1.052 GB, free: 19.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00751/3.899, allocations: 2.963 MB / 1.055 GB, free: 19.7 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/3.899, allocations: 0 / 1.055 GB, free: 19.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.35/10.25, allocations: 266.3 MB / 1.315 GB, free: 114.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling_res.mat does not exist to compare? outputFormat=mat