Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01046/0.01046, allocations: 103.9 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001134/0.001134, allocations: 169.8 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.584/1.584, allocations: 170.9 MB / 187.5 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2471/0.2471, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004948, allocations: 15.98 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08915/0.08969, allocations: 48.7 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.07572/0.1655, allocations: 51.08 MB / 423.4 MB, free: 9.625 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3174/0.4829, allocations: 12.39 MB / 435.8 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01087/0.4939, allocations: 260.6 kB / 436 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009442/0.5034, allocations: 2.597 MB / 438.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02692/0.5304, allocations: 7.426 MB / 446 MB, free: 8.305 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005155/0.5356, allocations: 0.9178 MB / 446.9 MB, free: 8.062 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05017/0.5858, allocations: 18.32 MB / 465.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009773/0.5956, allocations: 5.521 MB / 470.8 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.5986, allocations: 1.353 MB / 472.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.6022, allocations: 1.785 MB / 473.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000869/0.6031, allocations: 176 kB / 474.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.6063, allocations: 1.104 MB / 475.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00294/0.6093, allocations: 2.001 MB / 477.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.6108, allocations: 1.029 MB / 478.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.622, allocations: 6.922 MB / 485.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6221, allocations: 0 / 485.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6221, allocations: 0 / 485.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002458/0.6224, allocations: 0 / 485.2 MB, free: 5.73 MB / 346.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.02146/0.6438, allocations: 5.585 MB / 490.7 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.6439, allocations: 12.03 kB / 490.7 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003252/0.6472, allocations: 0.9068 MB / 491.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0853/0.7325, allocations: 7.949 MB / 499.6 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01458/0.7472, allocations: 4.501 MB / 0.4923 GB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003787/0.7476, allocations: 283.5 kB / 0.4926 GB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/0.7497, allocations: 384.6 kB / 0.4929 GB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03417/0.7839, allocations: 12.05 MB / 0.5047 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002853/0.7842, allocations: 57.38 kB / 0.5048 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.7855, allocations: 183 kB / 0.5049 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00539/0.7909, allocations: 2.087 MB / 0.507 GB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03408/0.8251, allocations: 10.3 MB / 0.517 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08686/0.912, allocations: 47.37 MB / 0.5633 GB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02659/0.9386, allocations: 5.889 MB / 0.569 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02294/0.9616, allocations: 8.869 MB / 0.5777 GB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.9617, allocations: 51.88 kB / 0.5777 GB, free: 3.945 MB / 442.7 MB Notification: Performance of pre-optimization done (n=206): time 5.951e-06/0.9617, allocations: 8 kB / 0.5777 GB, free: 3.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=262): time 0.4972/1.459, allocations: 35.6 MB / 0.6125 GB, free: 167.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.459, allocations: 205.4 kB / 0.6127 GB, free: 167.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01544/1.474, allocations: 5.135 MB / 0.6177 GB, free: 165.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008517/1.475, allocations: 71.2 kB / 0.6178 GB, free: 165.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004067/1.479, allocations: 3.584 MB / 0.6213 GB, free: 162.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001947/1.481, allocations: 0.9707 MB / 0.6222 GB, free: 162.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008672/1.482, allocations: 135.8 kB / 0.6224 GB, free: 162 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000526/1.483, allocations: 0.5878 MB / 0.6229 GB, free: 161.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009622/1.493, allocations: 2.997 MB / 0.6259 GB, free: 160.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01233/1.505, allocations: 6.763 MB / 0.6325 GB, free: 153.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/1.518, allocations: 4.411 MB / 0.6368 GB, free: 151.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/1.518, allocations: 40.41 kB / 0.6368 GB, free: 151.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.04189/1.56, allocations: 13.14 MB / 0.6497 GB, free: 138.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/1.56, allocations: 60 kB / 0.6497 GB, free: 138.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/1.561, allocations: 132 kB / 0.6498 GB, free: 138.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02068/1.581, allocations: 4.241 MB / 0.654 GB, free: 134.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00811/1.589, allocations: 1.411 MB / 0.6554 GB, free: 133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05639/1.646, allocations: 27.41 MB / 0.6821 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008082/1.654, allocations: 395 kB / 0.6825 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.655, allocations: 399.9 kB / 0.6829 GB, free: 104.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * 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 (753): * Single equations (assignments): 747 * 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.005704/1.661, allocations: 2.459 MB / 0.6853 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/1.662, allocations: 445.2 kB / 0.6857 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0288/1.691, allocations: 8.215 MB / 0.6937 GB, free: 93.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-05/1.691, allocations: 30.03 kB / 0.6938 GB, free: 93.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.912e-05/1.691, allocations: 12 kB / 0.6938 GB, free: 93.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.306e-05/1.691, allocations: 15.89 kB / 0.6938 GB, free: 93.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04888/1.74, allocations: 16.89 MB / 0.7103 GB, free: 76.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/1.74, allocations: 10.41 kB / 0.7103 GB, free: 76.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/1.743, allocations: 295.5 kB / 0.7106 GB, free: 75.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01977/1.763, allocations: 3.942 MB / 0.7144 GB, free: 72.01 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006739/1.764, allocations: 58.5 kB / 0.7145 GB, free: 71.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05403/1.818, allocations: 26.19 MB / 0.74 GB, free: 45.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.818, allocations: 11.94 kB / 0.7401 GB, free: 45.37 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03503/1.853, allocations: 12.75 MB / 0.7525 GB, free: 32.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003528/1.856, allocations: 0.9715 MB / 0.7535 GB, free: 31.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001712/1.858, allocations: 52.56 kB / 0.7535 GB, free: 31.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004621/1.863, allocations: 168.3 kB / 0.7537 GB, free: 31.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001334/1.864, allocations: 194.1 kB / 0.7539 GB, free: 30.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004039/1.865, allocations: 69.95 kB / 0.7539 GB, free: 30.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007145/1.872, allocations: 3.316 MB / 0.7572 GB, free: 27.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.872, allocations: 0 / 0.7572 GB, free: 27.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01048/1.882, allocations: 1.435 MB / 0.7586 GB, free: 26.12 MB / 458.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 (158): * Single equations (assignments): 152 * 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.03649/1.919, allocations: 14.55 MB / 0.7728 GB, free: 11.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.2985/2.217, allocations: 8.103 MB / 0.7807 GB, free: 162.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/2.217, allocations: 4.969 kB / 0.7807 GB, free: 162.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01159/2.229, allocations: 3.507 MB / 0.7841 GB, free: 161.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005244/2.234, allocations: 0.5587 MB / 0.7847 GB, free: 161.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1526/2.387, allocations: 141.1 MB / 0.9224 GB, free: 29.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/2.397, allocations: 4.028 MB / 0.9264 GB, free: 25.89 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01187/2.409, allocations: 2.007 MB / 0.9283 GB, free: 23.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006723/2.416, allocations: 2.374 MB / 0.9307 GB, free: 21.51 MB / 458.7 MB Notification: Performance of SimCode: time 1.333e-06/2.416, allocations: 0 / 0.9307 GB, free: 21.51 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.54/2.956, allocations: 118.9 MB / 1.047 GB, free: 78.72 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/2.956, allocations: 231 kB / 1.047 GB, free: 78.48 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.223/9.18, allocations: 0 / 1.047 GB, free: 78.48 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat