Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.155/2.155, allocations: 209.2 MB / 224.8 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004941, allocations: 12 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.368, allocations: 48.7 MB / 331.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.5418, allocations: 95.28 MB / 426.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.5422, allocations: 79.95 kB / 426.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6957/1.238, allocations: 98.71 MB / 0.5131 GB, free: 84.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.046e-06/1.238, allocations: 0 / 0.5131 GB, free: 84.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003185/1.238, allocations: 95.94 kB / 0.5132 GB, free: 84.33 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.02415/1.263, allocations: 5.466 MB / 0.5185 GB, free: 78.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/1.263, allocations: 8.031 kB / 0.5185 GB, free: 78.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004245/1.267, allocations: 0.8459 MB / 0.5194 GB, free: 77.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0345/1.301, allocations: 4.6 MB / 0.5239 GB, free: 73.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02155/1.323, allocations: 6.089 MB / 0.5298 GB, free: 67.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004261/1.324, allocations: 345 kB / 0.5301 GB, free: 66.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0029/1.326, allocations: 463.8 kB / 0.5306 GB, free: 66.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0368/1.363, allocations: 12.7 MB / 0.543 GB, free: 52.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/1.364, allocations: 71.41 kB / 0.5431 GB, free: 52.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001037/1.365, allocations: 223.9 kB / 0.5433 GB, free: 52.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002499/1.367, allocations: 1.269 MB / 0.5445 GB, free: 51.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03427/1.401, allocations: 10.93 MB / 0.5552 GB, free: 40.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0888/1.49, allocations: 55.74 MB / 0.6096 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02788/1.518, allocations: 5.963 MB / 0.6154 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3941/1.912, allocations: 13.06 MB / 0.6282 GB, free: 105.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.659e-05/1.913, allocations: 56.66 kB / 0.6282 GB, free: 105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 7.594e-06/1.913, allocations: 0 / 0.6282 GB, free: 105 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.2583/2.171, allocations: 36.15 MB / 0.6635 GB, free: 99.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/2.171, allocations: 211.9 kB / 0.6637 GB, free: 99.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01344/2.185, allocations: 3.889 MB / 0.6675 GB, free: 97.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009937/2.186, allocations: 63.33 kB / 0.6676 GB, free: 97.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004557/2.19, allocations: 3.32 MB / 0.6708 GB, free: 95.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002611/2.193, allocations: 0.951 MB / 0.6718 GB, free: 94.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/2.194, allocations: 138.9 kB / 0.6719 GB, free: 94.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007932/2.195, allocations: 0.5945 MB / 0.6725 GB, free: 94.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01181/2.207, allocations: 3.077 MB / 0.6755 GB, free: 93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01506/2.222, allocations: 6.963 MB / 0.6823 GB, free: 86.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01509/2.237, allocations: 4.514 MB / 0.6867 GB, free: 83.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001963/2.238, allocations: 40 kB / 0.6867 GB, free: 83.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.05875/2.296, allocations: 12.41 MB / 0.6989 GB, free: 73.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/2.297, allocations: 64 kB / 0.6989 GB, free: 73.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002806/2.297, allocations: 136 kB / 0.699 GB, free: 73.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02428/2.321, allocations: 3.223 MB / 0.7022 GB, free: 71.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01456/2.336, allocations: 1.549 MB / 0.7037 GB, free: 69.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0572/2.393, allocations: 15.53 MB / 0.7189 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/2.407, allocations: 479.2 kB / 0.7193 GB, free: 55.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002375/2.41, allocations: 408 kB / 0.7197 GB, free: 54.9 MB / 426.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 () * Number of clocked 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.009757/2.419, allocations: 2.34 MB / 0.722 GB, free: 52.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/2.421, allocations: 402.8 kB / 0.7224 GB, free: 52.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04055/2.462, allocations: 7.425 MB / 0.7296 GB, free: 44.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.075e-05/2.462, allocations: 28 kB / 0.7297 GB, free: 44.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/2.462, allocations: 8 kB / 0.7297 GB, free: 44.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.48e-05/2.462, allocations: 15.95 kB / 0.7297 GB, free: 44.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04616/2.508, allocations: 15.01 MB / 0.7444 GB, free: 29.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.307e-05/2.508, allocations: 0 / 0.7444 GB, free: 29.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003709/2.512, allocations: 387.4 kB / 0.7447 GB, free: 29.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01555/2.528, allocations: 2.876 MB / 0.7475 GB, free: 26.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007279/2.528, allocations: 41.17 kB / 0.7476 GB, free: 26.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03364/2.562, allocations: 13.85 MB / 0.7611 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/2.562, allocations: 3.953 kB / 0.7611 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03237/2.594, allocations: 11.4 MB / 0.7722 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/2.598, allocations: 0.9135 MB / 0.7731 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/2.599, allocations: 45.95 kB / 0.7732 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004639/2.604, allocations: 199.7 kB / 0.7734 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001171/2.605, allocations: 159.9 kB / 0.7735 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000385/2.606, allocations: 60 kB / 0.7736 GB, free: 15.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008377/2.614, allocations: 2.735 MB / 0.7762 GB, free: 12.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.01e-07/2.614, allocations: 0 / 0.7762 GB, free: 12.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009276/2.623, allocations: 1.308 MB / 0.7775 GB, free: 11.4 MB / 442.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 () * Number of clocked 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.3544/2.978, allocations: 12.22 MB / 0.7895 GB, free: 109.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02142/2.999, allocations: 7.764 MB / 0.797 GB, free: 109.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/2.999, allocations: 0 / 0.797 GB, free: 109.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008881/3.008, allocations: 3.085 MB / 0.8 GB, free: 109.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004408/3.013, allocations: 460.4 kB / 0.8005 GB, free: 109.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1391/3.152, allocations: 139.9 MB / 0.9371 GB, free: 4.887 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008939/3.161, allocations: 3.765 MB / 0.9408 GB, free: 3.523 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006605/3.168, allocations: 2.257 MB / 0.943 GB, free: 1.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.233e-06/3.168, allocations: 0 / 0.943 GB, free: 1.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.154/8.322, allocations: 117.3 MB / 1.057 GB, free: 61.62 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat