Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006109/0.000611, allocations: 12 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3753, allocations: 48.7 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.552, allocations: 94.33 MB / 425.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.5523, allocations: 75.97 kB / 425.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7872/1.34, allocations: 103.1 MB / 0.5165 GB, free: 80.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.34, allocations: 0 / 0.5165 GB, free: 80.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003929/1.34, allocations: 100 kB / 0.5166 GB, free: 80.4 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: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.02608/1.366, allocations: 5.682 MB / 0.5221 GB, free: 74.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/1.366, allocations: 16.02 kB / 0.5221 GB, free: 74.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005801/1.372, allocations: 1.024 MB / 0.5231 GB, free: 73.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07114/1.443, allocations: 6.881 MB / 0.5298 GB, free: 66.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03778/1.481, allocations: 7.514 MB / 0.5372 GB, free: 59.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006417/1.482, allocations: 369.8 kB / 0.5375 GB, free: 58.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003782/1.486, allocations: 0.4958 MB / 0.538 GB, free: 58.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05143/1.537, allocations: 12.33 MB / 0.5501 GB, free: 44.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004178/1.538, allocations: 71.34 kB / 0.5501 GB, free: 44.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002523/1.54, allocations: 235.9 kB / 0.5503 GB, free: 44.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003528/1.544, allocations: 1.148 MB / 0.5515 GB, free: 43.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03399/1.578, allocations: 10.27 MB / 0.5615 GB, free: 33.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08816/1.666, allocations: 55.59 MB / 0.6158 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02658/1.693, allocations: 5.71 MB / 0.6214 GB, free: 1.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3355/2.028, allocations: 8.794 MB / 0.6299 GB, free: 103.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.395e-05/2.028, allocations: 54.34 kB / 0.63 GB, free: 103.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 8.867e-06/2.028, allocations: 1.188 kB / 0.63 GB, free: 103.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.2551/2.283, allocations: 35.99 MB / 0.6651 GB, free: 99.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/2.283, allocations: 208 kB / 0.6653 GB, free: 99.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/2.294, allocations: 4.21 MB / 0.6695 GB, free: 97.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008092/2.295, allocations: 71.58 kB / 0.6695 GB, free: 97.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003305/2.298, allocations: 3.431 MB / 0.6729 GB, free: 94.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001778/2.3, allocations: 0.9773 MB / 0.6738 GB, free: 94.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/2.301, allocations: 137.6 kB / 0.674 GB, free: 94.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005484/2.302, allocations: 0.5911 MB / 0.6745 GB, free: 93.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007633/2.31, allocations: 2.999 MB / 0.6775 GB, free: 92.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01014/2.32, allocations: 6.792 MB / 0.6841 GB, free: 85.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009824/2.33, allocations: 4.426 MB / 0.6884 GB, free: 82.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/2.33, allocations: 43.95 kB / 0.6885 GB, free: 82.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.04137/2.371, allocations: 12.86 MB / 0.701 GB, free: 71.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/2.371, allocations: 64.22 kB / 0.7011 GB, free: 71.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002071/2.372, allocations: 136 kB / 0.7012 GB, free: 71.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/2.392, allocations: 4.092 MB / 0.7052 GB, free: 68.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008484/2.401, allocations: 1.412 MB / 0.7066 GB, free: 67.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07568/2.477, allocations: 26.88 MB / 0.7328 GB, free: 40.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01133/2.488, allocations: 408.6 kB / 0.7332 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00152/2.49, allocations: 399.9 kB / 0.7336 GB, free: 40.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 754 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.007116/2.497, allocations: 2.456 MB / 0.736 GB, free: 37.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/2.498, allocations: 454.2 kB / 0.7364 GB, free: 37.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02733/2.525, allocations: 8.11 MB / 0.7444 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-05/2.525, allocations: 33.91 kB / 0.7444 GB, free: 29.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.019e-05/2.525, allocations: 12 kB / 0.7444 GB, free: 29.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.644e-05/2.526, allocations: 15.95 kB / 0.7444 GB, free: 29.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05149/2.577, allocations: 16.7 MB / 0.7607 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.736e-05/2.577, allocations: 8 kB / 0.7607 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/2.58, allocations: 300.1 kB / 0.761 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01905/2.599, allocations: 3.773 MB / 0.7647 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006137/2.6, allocations: 51.52 kB / 0.7648 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3795/2.979, allocations: 25.63 MB / 0.7898 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/2.979, allocations: 11 kB / 0.7898 GB, free: 104.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03697/3.016, allocations: 12.64 MB / 0.8021 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00344/3.02, allocations: 0.9477 MB / 0.8031 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001581/3.021, allocations: 51.67 kB / 0.8031 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004773/3.026, allocations: 164.5 kB / 0.8033 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001317/3.028, allocations: 198 kB / 0.8035 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003181/3.028, allocations: 73 kB / 0.8035 GB, free: 103.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007743/3.036, allocations: 2.988 MB / 0.8064 GB, free: 102.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.262e-06/3.036, allocations: 3.938 kB / 0.8064 GB, free: 102.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01107/3.047, allocations: 1.424 MB / 0.8078 GB, free: 102.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (161): * Single equations (assignments): 155 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.05134/3.098, allocations: 14.41 MB / 0.8219 GB, free: 96.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02724/3.126, allocations: 8.128 MB / 0.8299 GB, free: 93.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/3.126, allocations: 0 / 0.8299 GB, free: 93.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009535/3.135, allocations: 3.481 MB / 0.8333 GB, free: 92.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004892/3.14, allocations: 0.5475 MB / 0.8338 GB, free: 91.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4783/3.618, allocations: 141.4 MB / 0.9719 GB, free: 138.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01018/3.629, allocations: 4.041 MB / 0.9759 GB, free: 138.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005927/3.635, allocations: 2.431 MB / 0.9782 GB, free: 138.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.263e-06/3.635, allocations: 0 / 0.9782 GB, free: 138.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.226/8.86, allocations: 166.6 MB / 1.141 GB, free: 131.3 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat