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/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.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.276/2.276, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.282e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3844, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.5768, allocations: 101.3 MB / 459.5 MB, free: 9.352 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5772, allocations: 71.97 kB / 459.5 MB, free: 9.281 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.706/1.283, allocations: 97.04 MB / 0.5435 GB, free: 24.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.283, allocations: 0 / 0.5435 GB, free: 24.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002816/1.284, allocations: 92 kB / 0.5436 GB, free: 24.45 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: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.02193/1.306, allocations: 5.117 MB / 0.5486 GB, free: 19.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.306, allocations: 8.031 kB / 0.5486 GB, free: 19.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0337/1.339, allocations: 4.615 MB / 0.5531 GB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02145/1.361, allocations: 6.057 MB / 0.559 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/1.361, allocations: 148 kB / 0.5592 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002662/1.364, allocations: 276.2 kB / 0.5595 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01805/1.382, allocations: 7.414 MB / 0.5667 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/1.413, allocations: 10.85 MB / 0.5773 GB, free: 4.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003096/1.413, allocations: 63.41 kB / 0.5773 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002102/1.415, allocations: 32 kB / 0.5774 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00336/1.419, allocations: 1.269 MB / 0.5786 GB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4569/1.876, allocations: 54.22 MB / 0.6316 GB, free: 71.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008134/1.884, allocations: 4.371 MB / 0.6358 GB, free: 70.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005065/1.889, allocations: 2.94 MB / 0.6387 GB, free: 70.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02544/1.915, allocations: 12.16 MB / 0.6506 GB, free: 68.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/1.915, allocations: 57.06 kB / 0.6506 GB, free: 68.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 8.245e-06/1.915, allocations: 0 / 0.6506 GB, free: 68.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.1049/2.02, allocations: 28.83 MB / 0.6788 GB, free: 61.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/2.02, allocations: 208.5 kB / 0.679 GB, free: 61.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006771/2.027, allocations: 3.299 MB / 0.6822 GB, free: 60 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007921/2.027, allocations: 27.95 kB / 0.6822 GB, free: 59.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002801/2.03, allocations: 3.433 MB / 0.6856 GB, free: 57.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001645/2.032, allocations: 0.9173 MB / 0.6865 GB, free: 56.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008022/2.033, allocations: 3.938 kB / 0.6865 GB, free: 56.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004076/2.033, allocations: 0.6057 MB / 0.6871 GB, free: 56.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00615/2.039, allocations: 2.904 MB / 0.6899 GB, free: 55.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009243/2.049, allocations: 6.933 MB / 0.6967 GB, free: 48.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009483/2.058, allocations: 4.428 MB / 0.701 GB, free: 46.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001832/2.058, allocations: 40 kB / 0.7011 GB, free: 46.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03737/2.096, allocations: 11.52 MB / 0.7123 GB, free: 37.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/2.096, allocations: 68 kB / 0.7124 GB, free: 37.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/2.096, allocations: 147.6 kB / 0.7125 GB, free: 37.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01586/2.112, allocations: 3.162 MB / 0.7156 GB, free: 34.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/2.122, allocations: 1.609 MB / 0.7172 GB, free: 33.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03133/2.154, allocations: 13.84 MB / 0.7307 GB, free: 21.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008649/2.162, allocations: 344.3 kB / 0.731 GB, free: 21.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/2.164, allocations: 430.5 kB / 0.7314 GB, free: 21.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * 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 (836): * Single equations (assignments): 832 * 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001697/2.166, allocations: 468.5 kB / 0.7319 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02442/2.19, allocations: 7.22 MB / 0.7389 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/2.192, allocations: 371.2 kB / 0.7393 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02528/2.217, allocations: 7.154 MB / 0.7463 GB, free: 9.164 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.546e-05/2.217, allocations: 28.86 kB / 0.7463 GB, free: 9.137 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/2.217, allocations: 11.95 kB / 0.7463 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.584e-05/2.217, allocations: 10.89 kB / 0.7463 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04458/2.262, allocations: 13.9 MB / 0.7599 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.385e-05/2.262, allocations: 2.438 kB / 0.7599 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004079/2.266, allocations: 383.4 kB / 0.7602 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01661/2.283, allocations: 2.845 MB / 0.763 GB, free: 8.859 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007517/2.284, allocations: 4 kB / 0.763 GB, free: 8.855 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03311/2.317, allocations: 12.36 MB / 0.7751 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/2.317, allocations: 0 / 0.7751 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03482/2.352, allocations: 11.1 MB / 0.7859 GB, free: 1.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00354/2.355, allocations: 0.8671 MB / 0.7868 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/2.357, allocations: 3.375 kB / 0.7868 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004483/2.361, allocations: 172 kB / 0.787 GB, free: 176 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/2.362, allocations: 153.7 kB / 0.7871 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004058/2.363, allocations: 60.05 kB / 0.7872 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006228/2.369, allocations: 2.198 MB / 0.7893 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.31e-07/2.369, allocations: 0 / 0.7893 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009136/2.378, allocations: 1.14 MB / 0.7904 GB, free: 12.62 MB / 0.4948 GB 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.03571/2.414, allocations: 11.89 MB / 0.802 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02076/2.435, allocations: 7.454 MB / 0.8093 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/2.435, allocations: 0 / 0.8093 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008594/2.443, allocations: 2.958 MB / 0.8122 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/2.447, allocations: 367.2 kB / 0.8125 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3681/2.816, allocations: 11.59 MB / 0.8239 GB, free: 155.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008396/2.824, allocations: 3.769 MB / 0.8275 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005887/2.83, allocations: 2.249 MB / 0.8297 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.653e-06/2.83, allocations: 3.172 kB / 0.8297 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.53/7.36, allocations: 114.2 MB / 0.9413 GB, free: 84.69 MB / 0.5105 GB 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