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.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.442/2.442, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.715e-05, allocations: 7.984 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/0.5139, allocations: 54.85 MB / 364.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.7157, allocations: 96.92 MB / 461.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.7161, allocations: 72.97 kB / 461.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7953/1.511, allocations: 94.44 MB / 0.543 GB, free: 107.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.511, allocations: 0 / 0.543 GB, free: 107.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002531/1.512, allocations: 82.88 kB / 0.5431 GB, free: 107.6 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: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.01964/1.531, allocations: 4.242 MB / 0.5472 GB, free: 105.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/1.531, allocations: 9.562 kB / 0.5472 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005045/1.536, allocations: 0.8784 MB / 0.5481 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04399/1.581, allocations: 3.611 MB / 0.5516 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05031/1.631, allocations: 4.452 MB / 0.556 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006563/1.632, allocations: 343.6 kB / 0.5563 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00365/1.635, allocations: 455.9 kB / 0.5567 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03879/1.674, allocations: 11.64 MB / 0.5681 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000291/1.674, allocations: 35.69 kB / 0.5681 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002889/1.677, allocations: 208 kB / 0.5683 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003026/1.68, allocations: 1.339 MB / 0.5696 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03438/1.715, allocations: 11.22 MB / 0.5806 GB, free: 99.28 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08482/1.8, allocations: 41.36 MB / 0.621 GB, free: 67.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/1.818, allocations: 5.93 MB / 0.6268 GB, free: 62.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005943/1.824, allocations: 2.972 MB / 0.6297 GB, free: 59.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002328/1.827, allocations: 1.889 MB / 0.6315 GB, free: 57.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/1.827, allocations: 59.94 kB / 0.6316 GB, free: 57.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 7.434e-06/1.827, allocations: 0 / 0.6316 GB, free: 57.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=283): time 0.07114/1.898, allocations: 16.61 MB / 0.6478 GB, free: 40.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/1.898, allocations: 73.41 kB / 0.6479 GB, free: 40.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006109/1.904, allocations: 2.67 MB / 0.6505 GB, free: 38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007562/1.905, allocations: 65.3 kB / 0.6505 GB, free: 37.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002314/1.907, allocations: 2.977 MB / 0.6535 GB, free: 34.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001678/1.909, allocations: 1.023 MB / 0.6545 GB, free: 33.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008268/1.91, allocations: 119.5 kB / 0.6546 GB, free: 33.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006126/1.911, allocations: 0.563 MB / 0.6551 GB, free: 33.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007017/1.918, allocations: 2.757 MB / 0.6578 GB, free: 30.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009338/1.927, allocations: 5.918 MB / 0.6636 GB, free: 23.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009158/1.936, allocations: 4.07 MB / 0.6676 GB, free: 18.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/1.937, allocations: 32 kB / 0.6676 GB, free: 18.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02901/1.966, allocations: 9.791 MB / 0.6772 GB, free: 9.121 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-05/1.966, allocations: 55.95 kB / 0.6772 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001635/1.966, allocations: 115.9 kB / 0.6773 GB, free: 8.953 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006624/1.973, allocations: 1.375 MB / 0.6787 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009515/1.982, allocations: 1.388 MB / 0.68 GB, free: 6.184 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/1.998, allocations: 7.191 MB / 0.687 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00788/2.006, allocations: 407.6 kB / 0.6874 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00178/2.008, allocations: 344 kB / 0.6878 GB, free: 14.13 MB / 474.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 () * 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.002761/2.011, allocations: 0.527 MB / 0.6883 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/2.012, allocations: 308 kB / 0.6886 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02318/2.035, allocations: 6.568 MB / 0.695 GB, free: 6.672 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001394/2.035, allocations: 51.92 kB / 0.695 GB, free: 6.625 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/2.035, allocations: 7.953 kB / 0.695 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.87e-05/2.035, allocations: 15.95 kB / 0.6951 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3877/2.423, allocations: 13.99 MB / 0.7087 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/2.423, allocations: 8.344 kB / 0.7087 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004658/2.428, allocations: 455.6 kB / 0.7092 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006842/2.435, allocations: 1.215 MB / 0.7103 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007967/2.436, allocations: 48.38 kB / 0.7104 GB, free: 108.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/2.452, allocations: 6.519 MB / 0.7168 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.618e-05/2.452, allocations: 13.78 kB / 0.7168 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0264/2.478, allocations: 10.38 MB / 0.7269 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003546/2.482, allocations: 0.8163 MB / 0.7277 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00148/2.483, allocations: 57.84 kB / 0.7278 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004139/2.488, allocations: 200.7 kB / 0.7279 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/2.489, allocations: 162.7 kB / 0.7281 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003803/2.489, allocations: 74.88 kB / 0.7282 GB, free: 106 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005105/2.494, allocations: 1.816 MB / 0.7299 GB, free: 105.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.163e-06/2.494, allocations: 0 / 0.7299 GB, free: 105.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008454/2.503, allocations: 1.135 MB / 0.7311 GB, free: 105.3 MB / 474.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 () * 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.02717/2.53, allocations: 12.77 MB / 0.7435 GB, free: 98.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01634/2.546, allocations: 6.818 MB / 0.7502 GB, free: 96.69 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/2.547, allocations: 0 / 0.7502 GB, free: 96.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006619/2.553, allocations: 2.735 MB / 0.7529 GB, free: 95.63 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/2.556, allocations: 362.6 kB / 0.7532 GB, free: 95.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03848/2.595, allocations: 11.69 MB / 0.7646 GB, free: 91.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008425/2.604, allocations: 3.679 MB / 0.7682 GB, free: 89.87 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006295/2.61, allocations: 2.139 MB / 0.7703 GB, free: 88.15 MB / 474.7 MB Notification: Performance of SimCode: time 1.994e-06/2.61, allocations: 3.375 kB / 0.7703 GB, free: 88.15 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.394/7.004, allocations: 107.3 MB / 0.8751 GB, free: 6.555 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat