Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",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.01064/0.01064, allocations: 103.5 kB / 15.06 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.001184/0.001183, allocations: 170.3 kB / 15.93 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.559/1.559, allocations: 170.9 MB / 187.5 MB, free: 1 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.2475/0.2475, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004436, allocations: 16 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08919, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.06422/0.1535, allocations: 43.6 MB / 415.9 MB, free: 1.141 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02802/0.1815, allocations: 10.61 MB / 426.5 MB, free: 6.496 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008725/0.1903, allocations: 203.6 kB / 426.7 MB, free: 6.297 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007713/0.1981, allocations: 2.213 MB / 428.9 MB, free: 4.074 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.302/0.5001, allocations: 6.327 MB / 435.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.5041, allocations: 0.6072 MB / 435.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02808/0.5323, allocations: 9.606 MB / 445.5 MB, free: 9.762 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008139/0.5405, allocations: 4.339 MB / 449.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.5431, allocations: 1.022 MB / 450.8 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/0.5462, allocations: 1.432 MB / 452.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.5473, allocations: 158.3 kB / 452.4 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.5504, allocations: 0.9656 MB / 453.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002664/0.5531, allocations: 1.644 MB / 455 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.5543, allocations: 0.8866 MB / 455.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008329/0.5627, allocations: 6.225 MB / 462.1 MB, free: 5.824 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5627, allocations: 0 / 462.1 MB, free: 5.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.5627, allocations: 0 / 462.1 MB, free: 5.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002078/0.563, allocations: 0 / 462.1 MB, free: 5.824 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01471/0.5777, allocations: 4.321 MB / 466.4 MB, free: 3.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5777, allocations: 9.031 kB / 466.5 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00205/0.5798, allocations: 0.7773 MB / 467.2 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1738/0.7536, allocations: 8.421 MB / 475.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.7637, allocations: 2.861 MB / 478.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.764, allocations: 257.9 kB / 478.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001846/0.7659, allocations: 325.2 kB / 479.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/0.7923, allocations: 10.41 MB / 489.5 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/0.7925, allocations: 41.47 kB / 489.5 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007655/0.7933, allocations: 165 kB / 489.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00541/0.7987, allocations: 2.027 MB / 491.7 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02621/0.825, allocations: 8.64 MB / 0.4886 GB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07032/0.8954, allocations: 38.41 MB / 0.5261 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.9055, allocations: 3.014 MB / 0.5291 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/0.9062, allocations: 331.3 kB / 0.5294 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.9062, allocations: 54.66 kB / 0.5295 GB, free: 5.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=176): time 5.19e-06/0.9062, allocations: 0 / 0.5295 GB, free: 5.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=194): time 0.05613/0.9624, allocations: 14.46 MB / 0.5436 GB, free: 7.047 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.9625, allocations: 204.3 kB / 0.5438 GB, free: 6.809 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008845/0.9714, allocations: 3.945 MB / 0.5476 GB, free: 2.879 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005007/0.972, allocations: 56.75 kB / 0.5477 GB, free: 2.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003459/0.9754, allocations: 3.201 MB / 0.5508 GB, free: 15.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.9768, allocations: 0.7369 MB / 0.5515 GB, free: 14.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006727/0.9775, allocations: 120 kB / 0.5516 GB, free: 14.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005028/0.978, allocations: 0.56 MB / 0.5522 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006503/0.9845, allocations: 2.147 MB / 0.5543 GB, free: 12.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009807/0.9944, allocations: 5.783 MB / 0.5599 GB, free: 4.512 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008996/1.003, allocations: 3.44 MB / 0.5633 GB, free: 1.191 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/1.004, allocations: 36 kB / 0.5633 GB, free: 1.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.02351/1.027, allocations: 7.96 MB / 0.5711 GB, free: 9.582 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/1.027, allocations: 60.97 kB / 0.5712 GB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/1.027, allocations: 128 kB / 0.5713 GB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/1.029, allocations: 460.5 kB / 0.5717 GB, free: 8.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009177/1.039, allocations: 1.427 MB / 0.5731 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006582/1.045, allocations: 3.407 MB / 0.5764 GB, free: 3.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006639/1.052, allocations: 359.6 kB / 0.5768 GB, free: 3.621 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/1.053, allocations: 371.7 kB / 0.5771 GB, free: 3.262 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (742): * Single equations (assignments): 738 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006591/1.06, allocations: 2.223 MB / 0.5793 GB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.061, allocations: 339.6 kB / 0.5796 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/1.071, allocations: 2.921 MB / 0.5825 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.811e-05/1.072, allocations: 35.86 kB / 0.5825 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.072, allocations: 9.703 kB / 0.5825 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.6e-05/1.072, allocations: 7.969 kB / 0.5825 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/1.099, allocations: 7.83 MB / 0.5902 GB, free: 5.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.803e-05/1.099, allocations: 6.078 kB / 0.5902 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003581/1.102, allocations: 351.5 kB / 0.5905 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/1.104, allocations: 256.6 kB / 0.5908 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004561/1.104, allocations: 35.98 kB / 0.5908 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005971/1.11, allocations: 2.974 MB / 0.5937 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.11, allocations: 4.031 kB / 0.5937 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3083/1.419, allocations: 5.596 MB / 0.5992 GB, free: 164.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/1.421, allocations: 0.6462 MB / 0.5998 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008881/1.422, allocations: 30.38 kB / 0.5998 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004291/1.426, allocations: 129 kB / 0.6 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007786/1.427, allocations: 122.9 kB / 0.6001 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.427, allocations: 57.34 kB / 0.6001 GB, free: 164.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006375/1.434, allocations: 2.478 MB / 0.6025 GB, free: 164.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.434, allocations: 0 / 0.6025 GB, free: 164.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007431/1.441, allocations: 1.012 MB / 0.6035 GB, free: 164.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (164): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01546/1.457, allocations: 6.432 MB / 0.6098 GB, free: 161.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0127/1.47, allocations: 5.16 MB / 0.6149 GB, free: 159.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.47, allocations: 0 / 0.6149 GB, free: 159.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004026/1.474, allocations: 1.676 MB / 0.6165 GB, free: 158.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/1.477, allocations: 387.2 kB / 0.6169 GB, free: 158.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09445/1.571, allocations: 122.6 MB / 0.7366 GB, free: 40.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006793/1.578, allocations: 3.541 MB / 0.74 GB, free: 37.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008272/1.586, allocations: 1.947 MB / 0.7419 GB, free: 35.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004355/1.591, allocations: 1.979 MB / 0.7439 GB, free: 33.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.914e-06/1.591, allocations: 7.438 kB / 0.7439 GB, free: 33.46 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4402/2.031, allocations: 75.66 MB / 0.8177 GB, free: 143.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/2.031, allocations: 207.4 kB / 0.8179 GB, free: 143.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.046/7.077, allocations: 0 / 0.8179 GB, free: 143.4 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat