Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",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.01102/0.01102, allocations: 104 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.001211/0.001211, allocations: 171.5 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.604/1.604, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.248/0.248, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004489, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/0.08952, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.05846/0.148, allocations: 38.52 MB / 410.8 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02581/0.1739, allocations: 9.665 MB / 420.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007094/0.181, allocations: 191.5 kB / 420.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006604/0.1877, allocations: 1.929 MB / 422.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02143/0.2092, allocations: 5.642 MB / 428.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.2133, allocations: 0.78 MB / 429 MB, free: 3.969 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.3278/0.5411, allocations: 17.84 MB / 446.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007954/0.5491, allocations: 4.229 MB / 451.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.5521, allocations: 1.186 MB / 452.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003572/0.5557, allocations: 1.737 MB / 454 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.557, allocations: 175.3 kB / 454.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.5604, allocations: 1.101 MB / 455.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003062/0.5635, allocations: 1.814 MB / 457.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.5652, allocations: 0.8948 MB / 458 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008499/0.5737, allocations: 6.174 MB / 464.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5738, allocations: 2.844 kB / 464.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5738, allocations: 0 / 464.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002598/0.5741, allocations: 0 / 464.2 MB, free: 8.484 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.0167/0.5908, allocations: 4.91 MB / 469.1 MB, free: 4.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5908, allocations: 12.03 kB / 469.1 MB, free: 4.707 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002861/0.5937, allocations: 0.8003 MB / 469.9 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08306/0.6768, allocations: 7.897 MB / 477.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.6901, allocations: 3.844 MB / 481.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.6904, allocations: 244.5 kB / 481.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001881/0.6923, allocations: 336.1 kB / 482.2 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03149/0.7238, allocations: 10.88 MB / 493.1 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000234/0.7241, allocations: 62.91 kB / 493.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001197/0.7253, allocations: 155 kB / 493.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005059/0.7304, allocations: 1.94 MB / 495.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03156/0.762, allocations: 9.338 MB / 0.4927 GB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07403/0.8361, allocations: 41.07 MB / 0.5329 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/0.855, allocations: 4.244 MB / 0.537 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01794/0.873, allocations: 7.595 MB / 0.5444 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/0.8731, allocations: 55.56 kB / 0.5445 GB, free: 7.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 5.6e-06/0.8731, allocations: 1.859 kB / 0.5445 GB, free: 7.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=236): time 0.3224/1.196, allocations: 41.54 MB / 0.585 GB, free: 13.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/1.196, allocations: 205.9 kB / 0.5852 GB, free: 13.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/1.207, allocations: 4.559 MB / 0.5897 GB, free: 9.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000751/1.208, allocations: 61.7 kB / 0.5897 GB, free: 8.953 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003966/1.212, allocations: 3.206 MB / 0.5929 GB, free: 5.758 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001763/1.214, allocations: 0.8707 MB / 0.5937 GB, free: 4.895 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009389/1.215, allocations: 128 kB / 0.5938 GB, free: 4.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006134/1.215, allocations: 0.5666 MB / 0.5944 GB, free: 4.195 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01181/1.227, allocations: 3.465 MB / 0.5978 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2963/1.523, allocations: 7.041 MB / 0.6047 GB, free: 165.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/1.535, allocations: 4.791 MB / 0.6093 GB, free: 164 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001887/1.535, allocations: 36.22 kB / 0.6094 GB, free: 164 MB / 458.7 MB Notification: Performance of matching and sorting (n=815) (initialization): time 0.06639/1.602, allocations: 15.64 MB / 0.6246 GB, free: 159.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.602, allocations: 60.28 kB / 0.6247 GB, free: 159.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/1.602, allocations: 125.1 kB / 0.6248 GB, free: 159.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04226/1.644, allocations: 6.111 MB / 0.6308 GB, free: 157.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008986/1.653, allocations: 1.429 MB / 0.6322 GB, free: 156.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05667/1.71, allocations: 26.38 MB / 0.6579 GB, free: 132.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008422/1.718, allocations: 403.2 kB / 0.6583 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/1.72, allocations: 376.9 kB / 0.6587 GB, free: 131.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 573 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (738): * Single equations (assignments): 733 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005719/1.726, allocations: 2.212 MB / 0.6608 GB, free: 129.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/1.727, allocations: 399.5 kB / 0.6612 GB, free: 129.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05085/1.778, allocations: 11.05 MB / 0.672 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.198e-05/1.778, allocations: 33.17 kB / 0.6721 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/1.778, allocations: 10.44 kB / 0.6721 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.071e-05/1.778, allocations: 19.86 kB / 0.6721 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0709/1.849, allocations: 20.6 MB / 0.6922 GB, free: 97.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.915e-05/1.849, allocations: 4 kB / 0.6922 GB, free: 97.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00372/1.853, allocations: 395.1 kB / 0.6926 GB, free: 96.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03764/1.89, allocations: 5.169 MB / 0.6976 GB, free: 91.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006445/1.891, allocations: 47.98 kB / 0.6977 GB, free: 91.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04579/1.937, allocations: 21.5 MB / 0.7187 GB, free: 69.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.937, allocations: 6.078 kB / 0.7187 GB, free: 69.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05434/1.991, allocations: 14.91 MB / 0.7332 GB, free: 54.44 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003507/1.995, allocations: 0.9838 MB / 0.7342 GB, free: 53.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/1.996, allocations: 44.55 kB / 0.7342 GB, free: 53.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004852/2.001, allocations: 189.2 kB / 0.7344 GB, free: 53.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/2.002, allocations: 152.9 kB / 0.7346 GB, free: 53.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000351/2.003, allocations: 64 kB / 0.7346 GB, free: 52.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006812/2.01, allocations: 2.91 MB / 0.7375 GB, free: 50.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.02e-07/2.01, allocations: 4 kB / 0.7375 GB, free: 50.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00833/2.018, allocations: 1.353 MB / 0.7388 GB, free: 48.73 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 (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05544/2.073, allocations: 16.71 MB / 0.7551 GB, free: 31.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01774/2.091, allocations: 8.042 MB / 0.763 GB, free: 23.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/2.091, allocations: 0 / 0.763 GB, free: 23.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007162/2.098, allocations: 3.166 MB / 0.7661 GB, free: 20.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/2.103, allocations: 489.3 kB / 0.7665 GB, free: 20.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3466/2.449, allocations: 107.8 MB / 0.8718 GB, free: 67.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008274/2.458, allocations: 3.603 MB / 0.8753 GB, free: 66.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009114/2.467, allocations: 1.968 MB / 0.8773 GB, free: 66.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00517/2.472, allocations: 2.079 MB / 0.8793 GB, free: 66.18 MB / 458.7 MB Notification: Performance of SimCode: time 1.252e-06/2.472, allocations: 0 / 0.8793 GB, free: 66.18 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5151/2.987, allocations: 110.1 MB / 0.9869 GB, free: 146.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/2.987, allocations: 215.9 kB / 0.9871 GB, free: 146.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.652/8.639, allocations: 0 / 0.9871 GB, free: 146.5 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat