Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointRRP.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.606/2.606, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.522e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3647, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.5523, allocations: 101.6 MB / 459.7 MB, free: 9.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.5527, allocations: 75.97 kB / 459.8 MB, free: 9.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6477/1.2, allocations: 70.31 MB / 0.5177 GB, free: 51.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.2, allocations: 0 / 0.5177 GB, free: 51.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002175/1.201, allocations: 76 kB / 0.5178 GB, free: 51.04 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01462/1.215, allocations: 3.879 MB / 0.5215 GB, free: 47.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/1.215, allocations: 8.031 kB / 0.5216 GB, free: 47.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006419/1.222, allocations: 0.7202 MB / 0.5223 GB, free: 46.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008703/1.231, allocations: 2.571 MB / 0.5248 GB, free: 43.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/1.231, allocations: 136 kB / 0.5249 GB, free: 43.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001985/1.233, allocations: 248 kB / 0.5251 GB, free: 43.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0138/1.247, allocations: 5.716 MB / 0.5307 GB, free: 37.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/1.267, allocations: 7.423 MB / 0.538 GB, free: 29.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000166/1.268, allocations: 15.88 kB / 0.538 GB, free: 29.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/1.269, allocations: 12 kB / 0.538 GB, free: 29.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002321/1.271, allocations: 0.8082 MB / 0.5388 GB, free: 29.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05453/1.326, allocations: 27.64 MB / 0.5658 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/1.329, allocations: 1.31 MB / 0.5671 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/1.331, allocations: 0.8382 MB / 0.5679 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01426/1.346, allocations: 6.312 MB / 0.574 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/1.346, allocations: 39.12 kB / 0.5741 GB, free: 7.652 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 4.819e-06/1.346, allocations: 0 / 0.5741 GB, free: 7.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=79): time 0.0272/1.373, allocations: 5.71 MB / 0.5797 GB, free: 1.875 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/1.373, allocations: 162.8 kB / 0.5798 GB, free: 1.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006455/1.38, allocations: 2.044 MB / 0.5818 GB, free: 15.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002593/1.38, allocations: 29.7 kB / 0.5818 GB, free: 15.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003852/1.384, allocations: 2.609 MB / 0.5844 GB, free: 12.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007539/1.385, allocations: 324.2 kB / 0.5847 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004449/1.385, allocations: 7.938 kB / 0.5847 GB, free: 12.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000545/1.386, allocations: 483.1 kB / 0.5852 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/1.389, allocations: 0.9331 MB / 0.5861 GB, free: 11.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006572/1.396, allocations: 3.344 MB / 0.5893 GB, free: 6.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006064/1.402, allocations: 1.717 MB / 0.591 GB, free: 4.906 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/1.402, allocations: 28 kB / 0.591 GB, free: 4.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01513/1.417, allocations: 3.69 MB / 0.5946 GB, free: 1.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/1.418, allocations: 44 kB / 0.5947 GB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/1.418, allocations: 84 kB / 0.5948 GB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/1.418, allocations: 128 kB / 0.5949 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008954/1.427, allocations: 0.9403 MB / 0.5958 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000258/1.427, allocations: 175.2 kB / 0.596 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005451/1.433, allocations: 139.4 kB / 0.5961 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009143/1.434, allocations: 244 kB / 0.5963 GB, free: 15.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (498): * Single equations (assignments): 497 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008352/1.435, allocations: 336 kB / 0.5967 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002802/1.437, allocations: 1.023 MB / 0.5977 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/1.438, allocations: 205.4 kB / 0.5979 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/1.441, allocations: 0.9439 MB / 0.5988 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/1.441, allocations: 8 kB / 0.5988 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/1.441, allocations: 4 kB / 0.5988 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/1.441, allocations: 7.922 kB / 0.5988 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.453, allocations: 4.713 MB / 0.6034 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/1.454, allocations: 23.94 kB / 0.6034 GB, free: 7.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.455, allocations: 252.5 kB / 0.6037 GB, free: 7.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.763e-05/1.455, allocations: 28 kB / 0.6037 GB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/1.456, allocations: 31.98 kB / 0.6037 GB, free: 7.535 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.707e-05/1.456, allocations: 39.86 kB / 0.6038 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.113e-05/1.456, allocations: 27.88 kB / 0.6038 GB, free: 7.469 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005133/1.461, allocations: 3.578 MB / 0.6073 GB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.462, allocations: 306.2 kB / 0.6076 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005326/1.462, allocations: 27.98 kB / 0.6076 GB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/1.464, allocations: 39.92 kB / 0.6076 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/1.465, allocations: 135.5 kB / 0.6078 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.465, allocations: 63.98 kB / 0.6078 GB, free: 2.453 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003891/1.469, allocations: 1.355 MB / 0.6091 GB, free: 1.086 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.372e-06/1.469, allocations: 0 / 0.6091 GB, free: 1.086 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005482/1.474, allocations: 0.5898 MB / 0.6097 GB, free: 0.4961 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007767/1.482, allocations: 9.384 MB / 0.6189 GB, free: 6.512 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006081/1.488, allocations: 2.219 MB / 0.6211 GB, free: 4.316 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.243e-05/1.488, allocations: 4.281 kB / 0.6211 GB, free: 4.312 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.49, allocations: 0.571 MB / 0.6216 GB, free: 3.746 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/1.492, allocations: 237.9 kB / 0.6218 GB, free: 3.512 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.35/1.842, allocations: 7.423 MB / 0.6291 GB, free: 118.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007206/1.85, allocations: 3.022 MB / 0.632 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003845/1.854, allocations: 1.598 MB / 0.6336 GB, free: 118.1 MB / 458.7 MB Notification: Performance of SimCode: time 3.016e-06/1.854, allocations: 0 / 0.6336 GB, free: 118.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.402/5.255, allocations: 60.05 MB / 0.6922 GB, free: 87.85 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat