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.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.286/2.286, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.439e-05, allocations: 4 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4363, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.6289, allocations: 102 MB / 466.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.6293, allocations: 71.97 kB / 466.7 MB, free: 10.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7992/1.429, allocations: 98.91 MB / 0.5524 GB, free: 107.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.325e-06/1.429, allocations: 0 / 0.5524 GB, free: 107.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003023/1.429, allocations: 93.78 kB / 0.5525 GB, free: 107.9 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.02158/1.451, allocations: 5.13 MB / 0.5575 GB, free: 106 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/1.451, allocations: 11.38 kB / 0.5575 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004064/1.455, allocations: 0.8414 MB / 0.5583 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03472/1.489, allocations: 4.618 MB / 0.5628 GB, free: 105.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02321/1.513, allocations: 6.061 MB / 0.5687 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005195/1.513, allocations: 353.3 kB / 0.5691 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003011/1.516, allocations: 465 kB / 0.5695 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04003/1.556, allocations: 12.59 MB / 0.5818 GB, free: 99.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003688/1.557, allocations: 71.52 kB / 0.5819 GB, free: 99.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002678/1.56, allocations: 224.4 kB / 0.5821 GB, free: 98.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002919/1.562, allocations: 1.259 MB / 0.5833 GB, free: 98.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03629/1.599, allocations: 10.74 MB / 0.5938 GB, free: 95.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09014/1.689, allocations: 55.74 MB / 0.6482 GB, free: 39.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02538/1.714, allocations: 5.931 MB / 0.654 GB, free: 33.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005771/1.72, allocations: 3.022 MB / 0.657 GB, free: 30.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03035/1.751, allocations: 13.05 MB / 0.6697 GB, free: 17.47 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/1.751, allocations: 55.88 kB / 0.6698 GB, free: 17.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 6.372e-06/1.751, allocations: 0 / 0.6698 GB, free: 17.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.1557/1.907, allocations: 30.55 MB / 0.6996 GB, free: 2.754 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.907, allocations: 209.9 kB / 0.6998 GB, free: 2.508 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3365/2.243, allocations: 3.808 MB / 0.7035 GB, free: 112.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007581/2.244, allocations: 64.98 kB / 0.7036 GB, free: 112.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003306/2.247, allocations: 3.335 MB / 0.7069 GB, free: 111.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001789/2.249, allocations: 0.9451 MB / 0.7078 GB, free: 111.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009852/2.25, allocations: 134.9 kB / 0.7079 GB, free: 111.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005731/2.251, allocations: 0.5981 MB / 0.7085 GB, free: 111 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008456/2.259, allocations: 2.99 MB / 0.7114 GB, free: 111 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/2.271, allocations: 6.881 MB / 0.7181 GB, free: 106 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/2.283, allocations: 4.472 MB / 0.7225 GB, free: 105.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002381/2.283, allocations: 39.41 kB / 0.7225 GB, free: 105.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04021/2.324, allocations: 12.24 MB / 0.7345 GB, free: 103.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/2.324, allocations: 62.25 kB / 0.7345 GB, free: 103.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000217/2.324, allocations: 137.5 kB / 0.7347 GB, free: 103.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01614/2.34, allocations: 3.205 MB / 0.7378 GB, free: 102.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01017/2.35, allocations: 1.555 MB / 0.7393 GB, free: 102.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03547/2.386, allocations: 14.95 MB / 0.7539 GB, free: 96.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009464/2.396, allocations: 477.5 kB / 0.7544 GB, free: 96.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/2.397, allocations: 401.8 kB / 0.7548 GB, free: 95.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (806): * Single equations (assignments): 802 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002251/2.4, allocations: 0.6087 MB / 0.7554 GB, free: 95.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/2.401, allocations: 401.4 kB / 0.7557 GB, free: 95.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02629/2.427, allocations: 7.366 MB / 0.7629 GB, free: 92.86 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-05/2.427, allocations: 30.69 kB / 0.763 GB, free: 92.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.267e-05/2.427, allocations: 7.625 kB / 0.763 GB, free: 92.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-05/2.427, allocations: 17.92 kB / 0.763 GB, free: 92.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04479/2.472, allocations: 14.97 MB / 0.7776 GB, free: 87.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.139e-05/2.472, allocations: 0.625 kB / 0.7776 GB, free: 87.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/2.476, allocations: 381.1 kB / 0.778 GB, free: 87.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01516/2.491, allocations: 2.872 MB / 0.7808 GB, free: 86.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006775/2.492, allocations: 40 kB / 0.7808 GB, free: 85.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03012/2.522, allocations: 13.24 MB / 0.7938 GB, free: 74.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/2.522, allocations: 4.688 kB / 0.7938 GB, free: 74.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03047/2.553, allocations: 11.32 MB / 0.8048 GB, free: 65.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003244/2.556, allocations: 0.911 MB / 0.8057 GB, free: 64.24 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009671/2.557, allocations: 43.66 kB / 0.8057 GB, free: 64.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003906/2.561, allocations: 200.6 kB / 0.8059 GB, free: 64.08 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007359/2.562, allocations: 158.8 kB / 0.8061 GB, free: 63.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003002/2.562, allocations: 61.41 kB / 0.8061 GB, free: 63.92 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005395/2.567, allocations: 2.66 MB / 0.8087 GB, free: 61.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.567, allocations: 0.75 kB / 0.8087 GB, free: 61.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007802/2.575, allocations: 1.318 MB / 0.81 GB, free: 60.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03075/2.606, allocations: 12.14 MB / 0.8219 GB, free: 48.06 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01771/2.624, allocations: 7.649 MB / 0.8294 GB, free: 40.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/2.624, allocations: 0 / 0.8294 GB, free: 40.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007166/2.631, allocations: 3.032 MB / 0.8323 GB, free: 37.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/2.635, allocations: 467 kB / 0.8328 GB, free: 36.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03343/2.668, allocations: 11.9 MB / 0.8444 GB, free: 25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006204/2.674, allocations: 3.766 MB / 0.8481 GB, free: 21.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005056/2.68, allocations: 2.264 MB / 0.8503 GB, free: 18.96 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/2.68, allocations: 1.125 kB / 0.8503 GB, free: 18.96 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.058/7.738, allocations: 116.9 MB / 0.9645 GB, free: 77.83 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat