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.273/2.273, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007067/0.0007067, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3944, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.6055, allocations: 97 MB / 466.4 MB, free: 9.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.6059, allocations: 87.89 kB / 466.4 MB, free: 9.484 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7553/1.361, allocations: 94.35 MB / 0.5476 GB, free: 23.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.707e-06/1.361, allocations: 0 / 0.5476 GB, free: 23.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002054/1.361, allocations: 80 kB / 0.5477 GB, free: 23.38 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: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.01704/1.379, allocations: 4.387 MB / 0.552 GB, free: 18.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.379, allocations: 12.03 kB / 0.552 GB, free: 18.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004319/1.383, allocations: 0.8781 MB / 0.5529 GB, free: 18.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02725/1.41, allocations: 3.605 MB / 0.5564 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/1.426, allocations: 4.483 MB / 0.5608 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/1.427, allocations: 337.2 kB / 0.5611 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003042/1.43, allocations: 455.7 kB / 0.5615 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04606/1.476, allocations: 11.76 MB / 0.573 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004573/1.477, allocations: 31.7 kB / 0.573 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003575/1.48, allocations: 203.8 kB / 0.5732 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004457/1.485, allocations: 1.337 MB / 0.5745 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09811/1.583, allocations: 11.44 MB / 0.5857 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09766/1.681, allocations: 41.36 MB / 0.6261 GB, free: 5.406 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02078/1.701, allocations: 5.971 MB / 0.6319 GB, free: 15.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002954/1.704, allocations: 1.888 MB / 0.6338 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.59e-05/1.705, allocations: 56.5 kB / 0.6338 GB, free: 12.92 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 7.865e-06/1.705, allocations: 0.5625 kB / 0.6338 GB, free: 12.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.415/2.12, allocations: 20.46 MB / 0.6538 GB, free: 118.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/2.12, allocations: 75.62 kB / 0.6539 GB, free: 118.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006913/2.127, allocations: 2.718 MB / 0.6565 GB, free: 118.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007518/2.127, allocations: 64.59 kB / 0.6566 GB, free: 118.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002653/2.13, allocations: 2.976 MB / 0.6595 GB, free: 116.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001843/2.132, allocations: 1.019 MB / 0.6605 GB, free: 116.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000801/2.133, allocations: 114.8 kB / 0.6606 GB, free: 116.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004832/2.133, allocations: 0.5665 MB / 0.6612 GB, free: 116 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007297/2.141, allocations: 2.84 MB / 0.6639 GB, free: 116 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009784/2.15, allocations: 5.992 MB / 0.6698 GB, free: 112 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00981/2.16, allocations: 4.108 MB / 0.6738 GB, free: 111.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/2.16, allocations: 31.06 kB / 0.6738 GB, free: 111.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.03379/2.194, allocations: 9.946 MB / 0.6836 GB, free: 109.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/2.195, allocations: 50.41 kB / 0.6836 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002483/2.195, allocations: 110 kB / 0.6837 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009528/2.204, allocations: 1.383 MB / 0.6851 GB, free: 109.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/2.218, allocations: 1.384 MB / 0.6864 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/2.241, allocations: 7.41 MB / 0.6936 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/2.252, allocations: 406.2 kB / 0.694 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001921/2.254, allocations: 345.8 kB / 0.6944 GB, free: 105.2 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 () * 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.008939/2.263, allocations: 2.298 MB / 0.6966 GB, free: 104.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/2.264, allocations: 307.1 kB / 0.6969 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02773/2.292, allocations: 6.606 MB / 0.7034 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/2.292, allocations: 50.84 kB / 0.7034 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/2.292, allocations: 7.031 kB / 0.7034 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-05/2.293, allocations: 12.47 kB / 0.7034 GB, free: 101.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04087/2.333, allocations: 14.05 MB / 0.7171 GB, free: 93.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/2.334, allocations: 8.562 kB / 0.7171 GB, free: 93.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004192/2.338, allocations: 455.9 kB / 0.7176 GB, free: 93.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006154/2.344, allocations: 1.219 MB / 0.7188 GB, free: 92.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007678/2.345, allocations: 48 kB / 0.7188 GB, free: 92.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/2.359, allocations: 6.751 MB / 0.7254 GB, free: 86.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/2.359, allocations: 11.94 kB / 0.7254 GB, free: 86.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02309/2.382, allocations: 10.44 MB / 0.7356 GB, free: 77.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002777/2.385, allocations: 0.8252 MB / 0.7364 GB, free: 76.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009588/2.386, allocations: 50.81 kB / 0.7365 GB, free: 76.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003271/2.389, allocations: 204.3 kB / 0.7367 GB, free: 76.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006793/2.39, allocations: 157.3 kB / 0.7368 GB, free: 76.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002973/2.39, allocations: 79.09 kB / 0.7369 GB, free: 76.08 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004861/2.395, allocations: 1.871 MB / 0.7387 GB, free: 74.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.91e-07/2.395, allocations: 0 / 0.7387 GB, free: 74.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006922/2.402, allocations: 1.137 MB / 0.7398 GB, free: 73.42 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 () * 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.02276/2.425, allocations: 12.84 MB / 0.7524 GB, free: 61.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01473/2.44, allocations: 6.916 MB / 0.7591 GB, free: 55.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/2.44, allocations: 7.938 kB / 0.7591 GB, free: 55.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005812/2.446, allocations: 2.762 MB / 0.7618 GB, free: 53.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/2.448, allocations: 346.1 kB / 0.7622 GB, free: 52.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.465/2.914, allocations: 112.3 MB / 0.8719 GB, free: 98.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008767/2.922, allocations: 3.68 MB / 0.8754 GB, free: 98.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006279/2.929, allocations: 2.131 MB / 0.8775 GB, free: 98.13 MB / 490.7 MB Notification: Performance of SimCode: time 2.715e-06/2.929, allocations: 2.75 kB / 0.8775 GB, free: 98.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.461/7.39, allocations: 106.7 MB / 0.9817 GB, free: 20.89 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