Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.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.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForce2",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.01104/0.01105, allocations: 101.6 kB / 15.05 MB, free: 6.027 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.001151/0.00115, allocations: 172.8 kB / 15.94 MB, free: 5.961 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.681/1.681, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.2703/0.2703, allocations: 38.08 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005058, allocations: 11.98 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.0926, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.04938/0.142, allocations: 31.59 MB / 403.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02007/0.1622, allocations: 7.323 MB / 411.2 MB, free: 5.828 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005881/0.1681, allocations: 147.7 kB / 411.4 MB, free: 5.684 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005758/0.1739, allocations: 1.633 MB / 413 MB, free: 4.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01713/0.1911, allocations: 4.598 MB / 417.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.1935, allocations: 263.6 kB / 417.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003729/0.1973, allocations: 1.337 MB / 419.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006205/0.2035, allocations: 2.983 MB / 422.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.2047, allocations: 0.5839 MB / 422.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.2062, allocations: 0.7669 MB / 423.5 MB, free: 9.441 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.2065, allocations: 96 kB / 423.6 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.2079, allocations: 0.5188 MB / 424.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.2092, allocations: 0.9702 MB / 425.1 MB, free: 7.855 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007178/0.21, allocations: 0.5468 MB / 425.6 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005921/0.2159, allocations: 3.612 MB / 429.3 MB, free: 3.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.216, allocations: 4 kB / 429.3 MB, free: 3.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.216, allocations: 0 / 429.3 MB, free: 3.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001249/0.2161, allocations: 0 / 429.3 MB, free: 3.676 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.007444/0.2236, allocations: 2.581 MB / 431.8 MB, free: 1.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.2237, allocations: 15.97 kB / 431.9 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001289/0.225, allocations: 0.5126 MB / 432.4 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2765/0.5015, allocations: 1.929 MB / 434.3 MB, free: 62.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004576/0.5061, allocations: 1.362 MB / 435.7 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.5064, allocations: 155.1 kB / 435.8 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008824/0.5073, allocations: 201.2 kB / 436 MB, free: 61.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02153/0.5288, allocations: 6.788 MB / 442.8 MB, free: 59.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.529, allocations: 14.22 kB / 442.8 MB, free: 59.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000597/0.5296, allocations: 97.73 kB / 442.9 MB, free: 59.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005315/0.5349, allocations: 1.471 MB / 444.4 MB, free: 58.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02295/0.5579, allocations: 5.828 MB / 450.2 MB, free: 55.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04822/0.6062, allocations: 21.54 MB / 471.7 MB, free: 33.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006799/0.613, allocations: 2.242 MB / 474 MB, free: 30.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009333/0.6224, allocations: 3.768 MB / 477.8 MB, free: 26.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.6225, allocations: 43.05 kB / 477.8 MB, free: 26.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=93): time 4.508e-06/0.6225, allocations: 8 kB / 477.8 MB, free: 26.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.009311/0.6318, allocations: 2.438 MB / 480.2 MB, free: 24.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.6319, allocations: 59.97 kB / 480.3 MB, free: 24.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/0.6352, allocations: 1.983 MB / 482.3 MB, free: 22.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.6355, allocations: 38.56 kB / 482.3 MB, free: 22.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.6368, allocations: 1.948 MB / 484.3 MB, free: 20.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004753/0.6373, allocations: 366.8 kB / 484.6 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.6375, allocations: 60.62 kB / 484.7 MB, free: 19.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003108/0.6378, allocations: 497.7 kB / 485.2 MB, free: 19.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.64, allocations: 0.9548 MB / 486.1 MB, free: 18.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003003/0.643, allocations: 2.876 MB / 489 MB, free: 14.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.6464, allocations: 1.651 MB / 490.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.471e-05/0.6465, allocations: 23.95 kB / 490.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.008911/0.6554, allocations: 3.734 MB / 494.4 MB, free: 9.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.6555, allocations: 32 kB / 494.4 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.242e-05/0.6556, allocations: 68.75 kB / 494.5 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001131/0.6557, allocations: 104 kB / 494.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/0.6598, allocations: 0.7096 MB / 495.3 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001043/0.6599, allocations: 131.5 kB / 495.4 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.6628, allocations: 443.3 kB / 495.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.6631, allocations: 193.2 kB / 496.1 MB, free: 7.547 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (388): * Single equations (assignments): 383 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00258/0.6657, allocations: 1.425 MB / 497.5 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.6659, allocations: 165.8 kB / 497.7 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.6686, allocations: 1.194 MB / 498.8 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.6686, allocations: 16 kB / 498.9 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6686, allocations: 0 / 498.9 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.6686, allocations: 3.984 kB / 498.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.68, allocations: 4.964 MB / 0.492 GB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.6801, allocations: 8 kB / 0.492 GB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.6812, allocations: 135.7 kB / 0.4922 GB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-05/0.6812, allocations: 19.95 kB / 0.4922 GB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.6813, allocations: 31.03 kB / 0.4922 GB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.062e-05/0.6813, allocations: 15.94 kB / 0.4922 GB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-05/0.6814, allocations: 11.94 kB / 0.4922 GB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.6848, allocations: 2.181 MB / 0.4944 GB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/0.6854, allocations: 274.6 kB / 0.4946 GB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003057/0.6857, allocations: 24 kB / 0.4947 GB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.6868, allocations: 35.88 kB / 0.4947 GB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.687, allocations: 75.72 kB / 0.4948 GB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.6871, allocations: 39.98 kB / 0.4948 GB, free: 12.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002928/0.6901, allocations: 1.292 MB / 0.4961 GB, free: 10.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6901, allocations: 0 / 0.4961 GB, free: 10.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003779/0.6939, allocations: 0.7471 MB / 0.4968 GB, free: 10.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * 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 (70): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004947/0.6988, allocations: 5.258 MB / 0.5019 GB, free: 4.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00538/0.7043, allocations: 2.208 MB / 0.5041 GB, free: 2.469 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.7043, allocations: 0 / 0.5041 GB, free: 2.469 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.7057, allocations: 0.5377 MB / 0.5046 GB, free: 1.934 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.7073, allocations: 230.5 kB / 0.5048 GB, free: 1.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03955/0.7468, allocations: 57.19 MB / 0.5607 GB, free: 6.719 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003941/0.7508, allocations: 2.453 MB / 0.5631 GB, free: 4.238 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004423/0.7553, allocations: 1.014 MB / 0.5641 GB, free: 3.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002507/0.7578, allocations: 1.12 MB / 0.5652 GB, free: 2.102 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7578, allocations: 0 / 0.5652 GB, free: 2.102 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3882/1.146, allocations: 38.15 MB / 0.6024 GB, free: 138.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/1.146, allocations: 178.7 kB / 0.6026 GB, free: 138.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.526/4.672, allocations: 3.938 kB / 0.6026 GB, free: 138.1 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat