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.JointUSP2.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.JointUSP2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.292/2.292, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.72e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3521, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.5429, allocations: 107.7 MB / 465.8 MB, free: 3.094 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5432, allocations: 75.95 kB / 465.9 MB, free: 3.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8/1.343, allocations: 120.8 MB / 0.5729 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/1.343, allocations: 0 / 0.5729 GB, free: 10.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004174/1.344, allocations: 108 kB / 0.573 GB, free: 10.85 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.03389/1.378, allocations: 5.639 MB / 0.5785 GB, free: 5.145 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.083e-05/1.378, allocations: 8.031 kB / 0.5785 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05827/1.436, allocations: 4.723 MB / 0.5831 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04097/1.477, allocations: 6.626 MB / 0.5896 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008357/1.478, allocations: 260.8 kB / 0.5899 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004234/1.482, allocations: 327.9 kB / 0.5902 GB, free: 9.129 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03618/1.518, allocations: 8.452 MB / 0.5984 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05184/1.57, allocations: 12.04 MB / 0.6102 GB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000518/1.571, allocations: 75.33 kB / 0.6103 GB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003411/1.574, allocations: 40 kB / 0.6103 GB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005296/1.58, allocations: 1.286 MB / 0.6115 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4407/2.021, allocations: 57.54 MB / 0.6677 GB, free: 52.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007279/2.028, allocations: 3.912 MB / 0.6716 GB, free: 52.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005037/2.033, allocations: 2.637 MB / 0.6741 GB, free: 52.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02679/2.06, allocations: 11.72 MB / 0.6856 GB, free: 48.37 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/2.06, allocations: 58.27 kB / 0.6856 GB, free: 48.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=191): time 6.382e-06/2.06, allocations: 0 / 0.6856 GB, free: 48.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=242): time 0.1389/2.199, allocations: 33.54 MB / 0.7184 GB, free: 39.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/2.199, allocations: 234.9 kB / 0.7186 GB, free: 39.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008317/2.207, allocations: 3.65 MB / 0.7222 GB, free: 38.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006665/2.208, allocations: 25.7 kB / 0.7222 GB, free: 38.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003267/2.211, allocations: 3.887 MB / 0.726 GB, free: 35.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00149/2.213, allocations: 0.8894 MB / 0.7269 GB, free: 34.65 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009708/2.214, allocations: 0 / 0.7269 GB, free: 34.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000502/2.214, allocations: 0.6215 MB / 0.7275 GB, free: 34.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006766/2.221, allocations: 3.061 MB / 0.7305 GB, free: 33.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009738/2.231, allocations: 7.431 MB / 0.7377 GB, free: 25.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/2.241, allocations: 4.658 MB / 0.7423 GB, free: 23.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001695/2.241, allocations: 44 kB / 0.7423 GB, free: 23.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=965) (initialization): time 0.04332/2.285, allocations: 12.7 MB / 0.7547 GB, free: 13.01 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/2.285, allocations: 72 kB / 0.7548 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002531/2.285, allocations: 156.7 kB / 0.7549 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02054/2.306, allocations: 3.793 MB / 0.7586 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/2.316, allocations: 1.648 MB / 0.7602 GB, free: 8.734 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05081/2.367, allocations: 16.83 MB / 0.7767 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009558/2.376, allocations: 350.5 kB / 0.777 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002044/2.378, allocations: 443.9 kB / 0.7774 GB, free: 10.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 878 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001711/2.38, allocations: 0.4893 MB / 0.7779 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03075/2.411, allocations: 7.926 MB / 0.7857 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/2.412, allocations: 398.8 kB / 0.786 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03252/2.445, allocations: 7.984 MB / 0.7938 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.676e-05/2.445, allocations: 24 kB / 0.7939 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-05/2.445, allocations: 12 kB / 0.7939 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/2.445, allocations: 7.969 kB / 0.7939 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3967/2.842, allocations: 16.22 MB / 0.8097 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-05/2.842, allocations: 1.031 kB / 0.8097 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003876/2.846, allocations: 388.4 kB / 0.8101 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02147/2.867, allocations: 3.823 MB / 0.8138 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006418/2.868, allocations: 10 kB / 0.8138 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03425/2.902, allocations: 15 MB / 0.8285 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/2.902, allocations: 3.75 kB / 0.8285 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03769/2.94, allocations: 12.35 MB / 0.8405 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003285/2.943, allocations: 0.8956 MB / 0.8414 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/2.945, allocations: 8.938 kB / 0.8414 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004828/2.95, allocations: 178.3 kB / 0.8416 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/2.951, allocations: 148.3 kB / 0.8417 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003542/2.951, allocations: 61.91 kB / 0.8418 GB, free: 106 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005878/2.957, allocations: 2.437 MB / 0.8442 GB, free: 105.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.01e-07/2.957, allocations: 3.344 kB / 0.8442 GB, free: 105.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00951/2.967, allocations: 1.27 MB / 0.8454 GB, free: 105.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03858/3.005, allocations: 13.22 MB / 0.8583 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0157/3.021, allocations: 7.414 MB / 0.8656 GB, free: 99.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/3.021, allocations: 0 / 0.8656 GB, free: 99.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006012/3.027, allocations: 2.845 MB / 0.8683 GB, free: 98.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/3.031, allocations: 404.5 kB / 0.8687 GB, free: 97.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03968/3.071, allocations: 12.74 MB / 0.8812 GB, free: 93.33 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009595/3.08, allocations: 4.206 MB / 0.8853 GB, free: 91.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006007/3.087, allocations: 2.518 MB / 0.8877 GB, free: 88.75 MB / 490.7 MB Notification: Performance of SimCode: time 1.453e-06/3.087, allocations: 0 / 0.8877 GB, free: 88.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.947/8.034, allocations: 126.7 MB / 1.012 GB, free: 120.6 MB / 0.4948 GB