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/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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.537/2.537, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007238/0.0007239, allocations: 16 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3934, allocations: 54.85 MB / 369.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.6047, allocations: 102.4 MB / 471.7 MB, free: 4.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.6051, allocations: 83.89 kB / 471.8 MB, free: 4.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6437/1.249, allocations: 72.04 MB / 0.5311 GB, free: 41.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.249, allocations: 0 / 0.5311 GB, free: 41.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002336/1.249, allocations: 80 kB / 0.5312 GB, free: 41.2 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.01609/1.265, allocations: 4.081 MB / 0.5351 GB, free: 37.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.265, allocations: 11.97 kB / 0.5352 GB, free: 37.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00337/1.269, allocations: 0.7044 MB / 0.5358 GB, free: 36.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006664/1.275, allocations: 0.7242 MB / 0.5366 GB, free: 35.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008515/1.284, allocations: 2.571 MB / 0.5391 GB, free: 32.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003924/1.284, allocations: 336.4 kB / 0.5394 GB, free: 32.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/1.287, allocations: 423.8 kB / 0.5398 GB, free: 32.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03252/1.319, allocations: 9.165 MB / 0.5487 GB, free: 22.67 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001919/1.32, allocations: 19.81 kB / 0.5488 GB, free: 22.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001769/1.321, allocations: 183.9 kB / 0.5489 GB, free: 22.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002522/1.324, allocations: 0.8038 MB / 0.5497 GB, free: 21.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/1.35, allocations: 7.31 MB / 0.5569 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06535/1.415, allocations: 29.67 MB / 0.5858 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/1.428, allocations: 2.168 MB / 0.5879 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01516/1.443, allocations: 6.734 MB / 0.5945 GB, free: 6.414 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/1.443, allocations: 55.06 kB / 0.5946 GB, free: 6.352 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 4.689e-06/1.443, allocations: 0 / 0.5946 GB, free: 6.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.03724/1.48, allocations: 7.508 MB / 0.6019 GB, free: 14.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/1.481, allocations: 163.2 kB / 0.6021 GB, free: 14.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00698/1.488, allocations: 2.387 MB / 0.6044 GB, free: 12.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002905/1.488, allocations: 41.7 kB / 0.6044 GB, free: 12.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002985/1.491, allocations: 2.491 MB / 0.6069 GB, free: 9.602 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007706/1.492, allocations: 399.1 kB / 0.6072 GB, free: 9.207 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00051/1.492, allocations: 84 kB / 0.6073 GB, free: 9.125 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004092/1.493, allocations: 479 kB / 0.6078 GB, free: 8.652 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003728/1.497, allocations: 1.097 MB / 0.6089 GB, free: 7.555 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006348/1.503, allocations: 3.416 MB / 0.6122 GB, free: 2.988 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005575/1.509, allocations: 1.853 MB / 0.614 GB, free: 1.137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.867e-05/1.509, allocations: 24 kB / 0.614 GB, free: 1.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01425/1.523, allocations: 4.361 MB / 0.6183 GB, free: 12.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.523, allocations: 40 kB / 0.6183 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/1.523, allocations: 80 kB / 0.6184 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/1.524, allocations: 124 kB / 0.6185 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006142/1.53, allocations: 0.9441 MB / 0.6194 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002264/1.53, allocations: 163.4 kB / 0.6196 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/1.534, allocations: 207.5 kB / 0.6198 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008933/1.535, allocations: 247.9 kB / 0.62 GB, free: 10.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (501): * Single equations (assignments): 500 * 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.005476/1.541, allocations: 1.737 MB / 0.6217 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000722/1.541, allocations: 237.3 kB / 0.6219 GB, free: 8.973 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/1.545, allocations: 1.182 MB / 0.6231 GB, free: 7.781 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/1.545, allocations: 12 kB / 0.6231 GB, free: 7.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.545, allocations: 3.984 kB / 0.6231 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/1.545, allocations: 3.984 kB / 0.6231 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.564, allocations: 6.807 MB / 0.6298 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.024e-05/1.564, allocations: 24 kB / 0.6298 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002106/1.566, allocations: 291.6 kB / 0.6301 GB, free: 260 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.348e-05/1.566, allocations: 35.95 kB / 0.6301 GB, free: 224 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/1.566, allocations: 59.98 kB / 0.6302 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.762e-05/1.566, allocations: 39.86 kB / 0.6302 GB, free: 124 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.257e-05/1.566, allocations: 39.81 kB / 0.6302 GB, free: 84 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/1.573, allocations: 4.605 MB / 0.6347 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.574, allocations: 357.7 kB / 0.6351 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006534/1.575, allocations: 55.98 kB / 0.6351 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/1.577, allocations: 67.95 kB / 0.6352 GB, free: 10.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/1.577, allocations: 159.4 kB / 0.6353 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/1.578, allocations: 67.98 kB / 0.6354 GB, free: 10.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004909/1.583, allocations: 1.765 MB / 0.6371 GB, free: 8.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.583, allocations: 4 kB / 0.6371 GB, free: 8.316 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005556/1.588, allocations: 0.707 MB / 0.6378 GB, free: 7.609 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * 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.3583/1.946, allocations: 11.03 MB / 0.6486 GB, free: 120.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007548/1.954, allocations: 2.631 MB / 0.6512 GB, free: 120.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.711e-05/1.954, allocations: 4.125 kB / 0.6512 GB, free: 120.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.956, allocations: 0.7303 MB / 0.6519 GB, free: 120.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.959, allocations: 334.6 kB / 0.6522 GB, free: 120.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04113/2, allocations: 70.46 MB / 0.721 GB, free: 55.83 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006865/2.007, allocations: 3.039 MB / 0.724 GB, free: 55.06 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003979/2.011, allocations: 1.619 MB / 0.7256 GB, free: 55.06 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/2.011, allocations: 3.094 kB / 0.7256 GB, free: 55.06 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.768/5.78, allocations: 62.58 MB / 0.7867 GB, free: 22 MB / 474.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