Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutTorque2",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.01107/0.01108, allocations: 107.5 kB / 15.06 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.001237/0.001237, allocations: 169 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.779/1.779, allocations: 170.9 MB / 187.6 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.2656/0.2656, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006452/0.0006454, allocations: 8 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.09529, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.0493/0.1447, allocations: 31.99 MB / 404.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0203/0.165, allocations: 7.382 MB / 411.7 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00584/0.1709, allocations: 151.7 kB / 411.8 MB, free: 5.227 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00577/0.1767, allocations: 1.641 MB / 413.5 MB, free: 3.578 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0171/0.1939, allocations: 4.644 MB / 418.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.1963, allocations: 251.6 kB / 418.3 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003891/0.2002, allocations: 1.368 MB / 419.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006138/0.2064, allocations: 3.007 MB / 422.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.2076, allocations: 0.5995 MB / 423.3 MB, free: 9.637 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.209, allocations: 0.7824 MB / 424.1 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000448/0.2095, allocations: 104 kB / 424.2 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.2111, allocations: 0.5188 MB / 424.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001665/0.2128, allocations: 0.9896 MB / 425.7 MB, free: 7.238 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.2138, allocations: 0.5623 MB / 426.3 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006506/0.2204, allocations: 3.721 MB / 430 MB, free: 2.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2205, allocations: 0 / 430 MB, free: 2.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.2205, allocations: 3.938 kB / 430 MB, free: 2.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001843/0.2207, allocations: 0 / 430 MB, free: 2.934 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.00818/0.2289, allocations: 2.64 MB / 432.6 MB, free: 236 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.229, allocations: 8.031 kB / 432.6 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2658/0.4948, allocations: 0.5189 MB / 433.2 MB, free: 62.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.5068, allocations: 1.948 MB / 435.1 MB, free: 62.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005754/0.5126, allocations: 1.385 MB / 436.5 MB, free: 61.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.5129, allocations: 160.2 kB / 436.7 MB, free: 61.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.514, allocations: 200.3 kB / 436.8 MB, free: 61.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.5321, allocations: 6.979 MB / 443.8 MB, free: 58.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.307e-05/0.5322, allocations: 16.84 kB / 443.8 MB, free: 58.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004488/0.5327, allocations: 96.72 kB / 443.9 MB, free: 58.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003988/0.5367, allocations: 1.529 MB / 445.5 MB, free: 57.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/0.5538, allocations: 5.961 MB / 451.4 MB, free: 53.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04009/0.594, allocations: 22.19 MB / 473.6 MB, free: 31.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006803/0.6008, allocations: 2.196 MB / 475.8 MB, free: 29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.6114, allocations: 3.972 MB / 479.8 MB, free: 24.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.6115, allocations: 43.16 kB / 479.8 MB, free: 24.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 5.39e-06/0.6115, allocations: 0 / 479.8 MB, free: 24.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.009446/0.621, allocations: 2.513 MB / 482.3 MB, free: 22.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.6211, allocations: 60.06 kB / 482.4 MB, free: 22.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.6244, allocations: 2.02 MB / 484.4 MB, free: 20.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.6246, allocations: 36.05 kB / 484.5 MB, free: 20.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001253/0.6258, allocations: 1.996 MB / 486.4 MB, free: 18.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/0.6263, allocations: 381.2 kB / 486.8 MB, free: 17.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.6265, allocations: 64 kB / 486.9 MB, free: 17.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002607/0.6268, allocations: 0.4901 MB / 487.4 MB, free: 17.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.6289, allocations: 0.9823 MB / 488.4 MB, free: 16.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/0.6323, allocations: 2.954 MB / 491.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/0.6361, allocations: 1.69 MB / 493 MB, free: 10.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.04e-05/0.6363, allocations: 20 kB / 493 MB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.009657/0.646, allocations: 3.839 MB / 496.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.6461, allocations: 32 kB / 496.9 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.834e-05/0.6462, allocations: 72 kB / 497 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.6463, allocations: 104 kB / 497.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/0.6505, allocations: 0.7212 MB / 497.8 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001284/0.6507, allocations: 139.4 kB / 497.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.6539, allocations: 453.2 kB / 498.4 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005723/0.6545, allocations: 203.9 kB / 498.6 MB, free: 5.043 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (398): * Single equations (assignments): 393 * 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.003147/0.6576, allocations: 1.449 MB / 0.4883 GB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.658, allocations: 173.7 kB / 0.4885 GB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.6609, allocations: 1.234 MB / 0.4897 GB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/0.661, allocations: 12 kB / 0.4897 GB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.661, allocations: 0 / 0.4897 GB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.661, allocations: 7.922 kB / 0.4897 GB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.6738, allocations: 5.02 MB / 0.4946 GB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/0.6739, allocations: 12.88 kB / 0.4946 GB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.6751, allocations: 147.7 kB / 0.4947 GB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-05/0.6752, allocations: 16 kB / 0.4948 GB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.6753, allocations: 31.98 kB / 0.4948 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.316e-05/0.6753, allocations: 19.94 kB / 0.4948 GB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-05/0.6753, allocations: 15.94 kB / 0.4948 GB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/0.6791, allocations: 2.317 MB / 0.4971 GB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.6798, allocations: 274.5 kB / 0.4973 GB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.6801, allocations: 28.92 kB / 0.4974 GB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.6812, allocations: 35.98 kB / 0.4974 GB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.6814, allocations: 80.41 kB / 0.4975 GB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.6815, allocations: 36.7 kB / 0.4975 GB, free: 9.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002976/0.6845, allocations: 1.32 MB / 0.4988 GB, free: 8.109 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6845, allocations: 4 kB / 0.4988 GB, free: 8.105 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004015/0.6886, allocations: 0.7654 MB / 0.4996 GB, free: 7.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.005282/0.6939, allocations: 5.566 MB / 0.505 GB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005762/0.6997, allocations: 2.273 MB / 0.5072 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/0.6998, allocations: 4 kB / 0.5072 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.7012, allocations: 0.5612 MB / 0.5078 GB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.703, allocations: 241.8 kB / 0.508 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04082/0.7438, allocations: 58.58 MB / 0.5652 GB, free: 2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004457/0.7483, allocations: 2.509 MB / 0.5676 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004726/0.7531, allocations: 1.032 MB / 0.5687 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002697/0.7558, allocations: 1.163 MB / 0.5698 GB, free: 13.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.713e-06/0.7559, allocations: 3.938 kB / 0.5698 GB, free: 13.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3812/1.137, allocations: 39.09 MB / 0.608 GB, free: 134.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/1.137, allocations: 173.2 kB / 0.6081 GB, free: 134.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.734/4.871, allocations: 0 / 0.6081 GB, free: 134.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat