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.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.924/1.924, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004451, allocations: 11.94 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3724, allocations: 48.7 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.5417, allocations: 90.21 MB / 421.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.5421, allocations: 67.97 kB / 421.6 MB, free: 4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7514/1.294, allocations: 94.22 MB / 0.5038 GB, free: 88.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.294, allocations: 0 / 0.5038 GB, free: 88.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002058/1.294, allocations: 84.03 kB / 0.5038 GB, free: 88.26 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: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.01839/1.312, allocations: 4.398 MB / 0.5081 GB, free: 85.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/1.312, allocations: 11.47 kB / 0.5081 GB, free: 85.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004693/1.317, allocations: 0.877 MB / 0.509 GB, free: 84.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02849/1.346, allocations: 3.603 MB / 0.5125 GB, free: 83.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0189/1.365, allocations: 4.481 MB / 0.5169 GB, free: 79.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005187/1.365, allocations: 337.6 kB / 0.5172 GB, free: 79.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003702/1.369, allocations: 452.7 kB / 0.5177 GB, free: 78.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06232/1.431, allocations: 11.76 MB / 0.5291 GB, free: 66.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003996/1.432, allocations: 31.66 kB / 0.5292 GB, free: 66.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003595/1.435, allocations: 202.8 kB / 0.5294 GB, free: 66.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003789/1.439, allocations: 1.332 MB / 0.5307 GB, free: 65.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04444/1.484, allocations: 11.44 MB / 0.5418 GB, free: 53.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1095/1.593, allocations: 41.33 MB / 0.5822 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/1.616, allocations: 5.959 MB / 0.588 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002194/1.618, allocations: 1.891 MB / 0.5899 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.299e-05/1.618, allocations: 56.5 kB / 0.5899 GB, free: 3.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=262): time 8.416e-06/1.618, allocations: 4 kB / 0.5899 GB, free: 3.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=283): time 0.1009/1.719, allocations: 20.48 MB / 0.6099 GB, free: 14.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.798e-05/1.719, allocations: 73.41 kB / 0.61 GB, free: 14.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009736/1.729, allocations: 2.72 MB / 0.6126 GB, free: 11.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008935/1.73, allocations: 61.7 kB / 0.6127 GB, free: 11.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004347/1.734, allocations: 2.979 MB / 0.6156 GB, free: 8.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002539/1.737, allocations: 1.014 MB / 0.6166 GB, free: 7.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/1.738, allocations: 116 kB / 0.6167 GB, free: 7.406 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000888/1.739, allocations: 0.5707 MB / 0.6173 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01029/1.749, allocations: 2.838 MB / 0.62 GB, free: 3.977 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.359/2.108, allocations: 5.987 MB / 0.6259 GB, free: 104.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/2.124, allocations: 4.109 MB / 0.6299 GB, free: 104.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000275/2.124, allocations: 30.84 kB / 0.6299 GB, free: 104.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.04302/2.167, allocations: 9.945 MB / 0.6396 GB, free: 104.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00018/2.167, allocations: 50.59 kB / 0.6397 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002645/2.167, allocations: 113 kB / 0.6398 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008591/2.176, allocations: 1.383 MB / 0.6411 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/2.187, allocations: 1.388 MB / 0.6425 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/2.204, allocations: 7.412 MB / 0.6497 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/2.215, allocations: 404.2 kB / 0.6501 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001937/2.217, allocations: 344.6 kB / 0.6505 GB, free: 101.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (717): * Single equations (assignments): 710 * Array equations: 6 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02091/2.238, allocations: 2.297 MB / 0.6527 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/2.239, allocations: 299.7 kB / 0.653 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03932/2.279, allocations: 6.613 MB / 0.6594 GB, free: 98.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001618/2.279, allocations: 48.48 kB / 0.6595 GB, free: 98.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/2.279, allocations: 3.344 kB / 0.6595 GB, free: 98.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.605e-05/2.279, allocations: 15.84 kB / 0.6595 GB, free: 98.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04834/2.328, allocations: 14.04 MB / 0.6732 GB, free: 93.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.761e-05/2.328, allocations: 3.219 kB / 0.6732 GB, free: 93.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01753/2.345, allocations: 457.5 kB / 0.6737 GB, free: 93.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007948/2.353, allocations: 1.217 MB / 0.6748 GB, free: 93.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.01139/2.365, allocations: 56.5 kB / 0.6749 GB, free: 93.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02868/2.393, allocations: 6.741 MB / 0.6815 GB, free: 89.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/2.393, allocations: 15.94 kB / 0.6815 GB, free: 89.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03291/2.426, allocations: 10.43 MB / 0.6917 GB, free: 80.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003817/2.43, allocations: 0.8334 MB / 0.6925 GB, free: 79.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/2.432, allocations: 49.17 kB / 0.6925 GB, free: 79.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004305/2.436, allocations: 200.5 kB / 0.6927 GB, free: 79.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008957/2.437, allocations: 164.2 kB / 0.6929 GB, free: 79.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004386/2.437, allocations: 77.17 kB / 0.693 GB, free: 79.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006045/2.443, allocations: 1.873 MB / 0.6948 GB, free: 77.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.012e-06/2.443, allocations: 3.172 kB / 0.6948 GB, free: 77.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01028/2.454, allocations: 1.142 MB / 0.6959 GB, free: 76.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02651/2.48, allocations: 12.83 MB / 0.7084 GB, free: 65.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01623/2.496, allocations: 6.919 MB / 0.7152 GB, free: 58.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/2.497, allocations: 4.938 kB / 0.7152 GB, free: 58.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006228/2.503, allocations: 2.768 MB / 0.7179 GB, free: 56.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/2.506, allocations: 362.7 kB / 0.7183 GB, free: 56.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.443/2.949, allocations: 112.3 MB / 0.8279 GB, free: 92.15 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008151/2.957, allocations: 3.681 MB / 0.8315 GB, free: 91.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005533/2.963, allocations: 2.135 MB / 0.8336 GB, free: 91.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/2.963, allocations: 0 / 0.8336 GB, free: 91.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.25/7.213, allocations: 106.6 MB / 0.9377 GB, free: 9.051 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat