Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0156/0.01561, allocations: 106.8 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.2.mo): time 0.001837/0.001837, allocations: 181.1 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.056/2.056, allocations: 194.6 MB / 211.3 MB, free: 11.1 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2722/0.2722, allocations: 40.05 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004676, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 54.89 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.4679/0.5991, allocations: 44.79 MB / 460.8 MB, free: 30.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03328/0.6324, allocations: 10 MB / 470.8 MB, free: 29.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01168/0.6442, allocations: 207.3 kB / 471 MB, free: 29.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00999/0.6542, allocations: 2.308 MB / 473.3 MB, free: 29.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03016/0.6844, allocations: 6.4 MB / 479.7 MB, free: 28.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003624/0.6881, allocations: 330.5 kB / 480.1 MB, free: 28.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005073/0.6933, allocations: 1.564 MB / 481.6 MB, free: 28.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008251/0.7016, allocations: 3.885 MB / 485.5 MB, free: 27.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.7029, allocations: 0.7006 MB / 486.2 MB, free: 27.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.7043, allocations: 0.9419 MB / 487.1 MB, free: 27.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000451/0.7048, allocations: 126.2 kB / 487.3 MB, free: 27.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.7062, allocations: 0.5438 MB / 487.8 MB, free: 27.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.7077, allocations: 1.212 MB / 489 MB, free: 26.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008805/0.7086, allocations: 0.6775 MB / 489.7 MB, free: 26.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008709/0.7174, allocations: 4.644 MB / 494.3 MB, free: 25.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7174, allocations: 0 / 494.3 MB, free: 25.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.7174, allocations: 0 / 494.3 MB, free: 25.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00024/0.7177, allocations: 0 / 494.3 MB, free: 25.63 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01068/0.7284, allocations: 3.118 MB / 497.5 MB, free: 23.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.7285, allocations: 9.75 kB / 497.5 MB, free: 23.83 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002444/0.7309, allocations: 0.6315 MB / 498.1 MB, free: 23.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.7436, allocations: 2.048 MB / 0.4884 GB, free: 22.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/0.7497, allocations: 1.613 MB / 0.49 GB, free: 21.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.75, allocations: 208.6 kB / 0.4902 GB, free: 21.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.7513, allocations: 265.1 kB / 0.4905 GB, free: 21.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/0.774, allocations: 8.377 MB / 0.4986 GB, free: 16.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.7742, allocations: 15.09 kB / 0.4987 GB, free: 16.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005471/0.7747, allocations: 125.3 kB / 0.4988 GB, free: 16.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004644/0.7794, allocations: 1.753 MB / 0.5005 GB, free: 16.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.8021, allocations: 7.064 MB / 0.5074 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05647/0.8586, allocations: 25.85 MB / 0.5326 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009707/0.8684, allocations: 2.548 MB / 0.5351 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01491/0.8833, allocations: 4.468 MB / 0.5395 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.8834, allocations: 55.5 kB / 0.5395 GB, free: 11.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.558e-06/0.8834, allocations: 0 / 0.5395 GB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01472/0.8982, allocations: 2.975 MB / 0.5424 GB, free: 8.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.8983, allocations: 68.34 kB / 0.5425 GB, free: 8.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005472/0.9038, allocations: 2.217 MB / 0.5447 GB, free: 6.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002801/0.9041, allocations: 37.7 kB / 0.5447 GB, free: 6.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002646/0.9068, allocations: 2.305 MB / 0.547 GB, free: 3.777 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008997/0.9077, allocations: 462.6 kB / 0.5474 GB, free: 3.328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004467/0.9082, allocations: 72 kB / 0.5475 GB, free: 3.258 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000394/0.9086, allocations: 470 kB / 0.5479 GB, free: 2.793 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003555/0.9122, allocations: 1.104 MB / 0.549 GB, free: 1.688 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005702/0.9179, allocations: 3.233 MB / 0.5522 GB, free: 13.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005124/0.9231, allocations: 1.899 MB / 0.554 GB, free: 11.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.216e-05/0.9232, allocations: 20 kB / 0.554 GB, free: 11.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.0128/0.936, allocations: 4.268 MB / 0.5582 GB, free: 7.207 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.9361, allocations: 42.92 kB / 0.5582 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/0.9363, allocations: 76 kB / 0.5583 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.9364, allocations: 112 kB / 0.5584 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005289/0.9417, allocations: 0.8116 MB / 0.5592 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001822/0.942, allocations: 151.4 kB / 0.5594 GB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004088/0.9461, allocations: 494.7 kB / 0.5598 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008413/0.947, allocations: 226.6 kB / 0.56 GB, free: 5.316 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * 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],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (447): * Single equations (assignments): 442 * 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.005039/0.952, allocations: 1.694 MB / 0.5617 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000524/0.9526, allocations: 193.5 kB / 0.5619 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004421/0.957, allocations: 1.506 MB / 0.5633 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/0.9571, allocations: 14.66 kB / 0.5634 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.9571, allocations: 0 / 0.5634 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.9571, allocations: 7.984 kB / 0.5634 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/0.9789, allocations: 7.36 MB / 0.5706 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.378e-05/0.979, allocations: 19.94 kB / 0.5706 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.9806, allocations: 191.6 kB / 0.5708 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-05/0.9807, allocations: 20 kB / 0.5708 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.9808, allocations: 40.61 kB / 0.5708 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.309e-05/0.9809, allocations: 27.92 kB / 0.5708 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.648e-05/0.9809, allocations: 31.83 kB / 0.5709 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/0.9863, allocations: 3.164 MB / 0.574 GB, free: 6.148 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009937/0.9873, allocations: 333.9 kB / 0.5743 GB, free: 5.801 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006232/0.988, allocations: 35.98 kB / 0.5743 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/0.9897, allocations: 51.88 kB / 0.5744 GB, free: 5.715 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003567/0.9901, allocations: 119.5 kB / 0.5745 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.9902, allocations: 55.03 kB / 0.5745 GB, free: 5.547 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004515/0.9948, allocations: 1.538 MB / 0.576 GB, free: 3.992 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9948, allocations: 0 / 0.576 GB, free: 3.992 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005528/1, allocations: 0.9175 MB / 0.5769 GB, free: 3.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.008147/1.009, allocations: 7.69 MB / 0.5844 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007726/1.016, allocations: 2.585 MB / 0.587 GB, free: 8.352 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.089e-05/1.016, allocations: 4.625 kB / 0.587 GB, free: 8.348 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002032/1.018, allocations: 0.6906 MB / 0.5876 GB, free: 7.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/1.021, allocations: 289.7 kB / 0.5879 GB, free: 7.375 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3918/1.413, allocations: 64.39 MB / 0.6508 GB, free: 134 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004246/1.417, allocations: 2.887 MB / 0.6536 GB, free: 133.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004885/1.422, allocations: 1.167 MB / 0.6548 GB, free: 133.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003065/1.425, allocations: 1.428 MB / 0.6562 GB, free: 133.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.513e-06/1.425, allocations: 0 / 0.6562 GB, free: 133.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/1.543, allocations: 46.32 MB / 0.7014 GB, free: 115.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/1.543, allocations: 182.5 kB / 0.7016 GB, free: 115 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.954/5.497, allocations: 0 / 0.7016 GB, free: 115 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat