Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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.01197/0.01197, allocations: 106 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.00128/0.00128, allocations: 166.4 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.674/1.674, allocations: 170.9 MB / 187.5 MB, free: 0.8555 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.2985/0.2985, allocations: 38.08 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004802, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09278/0.0933, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.4551/0.5484, allocations: 109.3 MB / 481.5 MB, free: 3.266 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.07091/0.6194, allocations: 23.85 MB / 0.4936 GB, free: 14.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03014/0.6496, allocations: 0.5301 MB / 0.4941 GB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02341/0.6731, allocations: 5.654 MB / 0.4996 GB, free: 8.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06824/0.7414, allocations: 15.51 MB / 0.5147 GB, free: 8.953 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01078/0.7522, allocations: 1.413 MB / 0.5161 GB, free: 7.539 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01444/0.7667, allocations: 5.314 MB / 0.5213 GB, free: 2.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02496/0.7918, allocations: 11.38 MB / 0.5324 GB, free: 6.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006744/0.7986, allocations: 2.472 MB / 0.5348 GB, free: 4.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007334/0.806, allocations: 3.302 MB / 0.5381 GB, free: 0.957 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002598/0.8086, allocations: 380 kB / 0.5384 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004898/0.8136, allocations: 1.014 MB / 0.5394 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007889/0.8215, allocations: 3.912 MB / 0.5432 GB, free: 11.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004266/0.8258, allocations: 1.96 MB / 0.5451 GB, free: 9.676 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0222/0.8481, allocations: 13.12 MB / 0.558 GB, free: 12.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.8482, allocations: 0 / 0.558 GB, free: 12.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.8482, allocations: 0 / 0.558 GB, free: 12.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006617/0.8489, allocations: 8 kB / 0.558 GB, free: 12.51 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03283/0.8817, allocations: 9.592 MB / 0.5673 GB, free: 2.824 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.8818, allocations: 12.03 kB / 0.5673 GB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00657/0.8884, allocations: 1.703 MB / 0.569 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02594/0.9144, allocations: 3.476 MB / 0.5724 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02002/0.9344, allocations: 6.391 MB / 0.5786 GB, free: 7.129 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008767/0.9354, allocations: 0.5936 MB / 0.5792 GB, free: 6.535 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003592/0.939, allocations: 0.7651 MB / 0.58 GB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.642/1.581, allocations: 24.62 MB / 0.604 GB, free: 160 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005407/1.582, allocations: 80.86 kB / 0.6041 GB, free: 159.9 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00313/1.585, allocations: 366.4 kB / 0.6044 GB, free: 159.9 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01286/1.598, allocations: 4.543 MB / 0.6089 GB, free: 159.3 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06559/1.663, allocations: 19.39 MB / 0.6278 GB, free: 151.5 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1591/1.822, allocations: 85.95 MB / 0.7118 GB, free: 67.78 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03553/1.858, allocations: 7.782 MB / 0.7194 GB, free: 59.85 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0361/1.894, allocations: 13.27 MB / 0.7323 GB, free: 46.22 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/1.894, allocations: 72.77 kB / 0.7324 GB, free: 46.14 MB / 458.8 MB Notification: Performance of pre-optimization done (n=336): time 7.394e-06/1.894, allocations: 0 / 0.7324 GB, free: 46.14 MB / 458.8 MB Notification: Performance of matching and sorting (n=360): time 0.08857/1.983, allocations: 21.1 MB / 0.753 GB, free: 24.93 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/1.983, allocations: 166.9 kB / 0.7531 GB, free: 24.74 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01516/1.998, allocations: 7.831 MB / 0.7608 GB, free: 16.94 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007465/1.999, allocations: 81.7 kB / 0.7609 GB, free: 16.86 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005244/2.004, allocations: 6.762 MB / 0.7675 GB, free: 10.09 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001898/2.006, allocations: 1.355 MB / 0.7688 GB, free: 8.746 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/2.007, allocations: 219.7 kB / 0.769 GB, free: 8.535 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006775/2.008, allocations: 0.7691 MB / 0.7698 GB, free: 7.762 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009181/2.017, allocations: 3.234 MB / 0.7729 GB, free: 4.523 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3246/2.342, allocations: 9.775 MB / 0.7825 GB, free: 140.7 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01622/2.358, allocations: 5.43 MB / 0.7878 GB, free: 139.5 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004136/2.359, allocations: 65.03 kB / 0.7878 GB, free: 139.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.03974/2.398, allocations: 12.74 MB / 0.8003 GB, free: 134.9 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000229/2.399, allocations: 109.2 kB / 0.8004 GB, free: 134.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003998/2.399, allocations: 232.3 kB / 0.8006 GB, free: 134.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/2.4, allocations: 344.6 kB / 0.8009 GB, free: 134.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01616/2.416, allocations: 2.542 MB / 0.8034 GB, free: 134.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005304/2.416, allocations: 461.9 kB / 0.8038 GB, free: 134.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/2.428, allocations: 0.5186 MB / 0.8043 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/2.43, allocations: 0.6544 MB / 0.805 GB, free: 134.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1060 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1374): * Single equations (assignments): 1363 * Array equations: 11 * 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.01212/2.442, allocations: 4.526 MB / 0.8094 GB, free: 132.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/2.444, allocations: 0.6592 MB / 0.8101 GB, free: 132.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/2.456, allocations: 4.086 MB / 0.814 GB, free: 130.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.07e-05/2.456, allocations: 35.5 kB / 0.8141 GB, free: 130.7 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/2.456, allocations: 5.906 kB / 0.8141 GB, free: 130.7 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.194e-05/2.456, allocations: 16.64 kB / 0.8141 GB, free: 130.7 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1118/2.567, allocations: 49.27 MB / 0.8622 GB, free: 89.41 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001735/2.568, allocations: 76 kB / 0.8623 GB, free: 89.34 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005458/2.573, allocations: 0.7454 MB / 0.863 GB, free: 88.59 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/2.573, allocations: 108 kB / 0.8631 GB, free: 88.49 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006811/2.574, allocations: 169.1 kB / 0.8633 GB, free: 88.32 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-05/2.574, allocations: 143.4 kB / 0.8634 GB, free: 88.18 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.795e-05/2.574, allocations: 115.5 kB / 0.8635 GB, free: 88.07 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/2.592, allocations: 21.74 MB / 0.8848 GB, free: 63.46 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002849/2.595, allocations: 0.8046 MB / 0.8855 GB, free: 62.63 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002513/2.597, allocations: 172.8 kB / 0.8857 GB, free: 62.46 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006602/2.604, allocations: 212.8 kB / 0.8859 GB, free: 62.25 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00125/2.605, allocations: 497.9 kB / 0.8864 GB, free: 61.77 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004488/2.605, allocations: 210.3 kB / 0.8866 GB, free: 61.56 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01172/2.617, allocations: 4.928 MB / 0.8914 GB, free: 56.67 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.51e-07/2.617, allocations: 0 / 0.8914 GB, free: 56.67 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01362/2.631, allocations: 1.903 MB / 0.8932 GB, free: 54.77 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.01947/2.65, allocations: 34.92 MB / 0.9274 GB, free: 17.35 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02848/2.679, allocations: 7.655 MB / 0.9348 GB, free: 9.734 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000115/2.679, allocations: 12.62 kB / 0.9348 GB, free: 9.723 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009076/2.688, allocations: 2.14 MB / 0.9369 GB, free: 7.598 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01339/2.702, allocations: 1.021 MB / 0.9379 GB, free: 6.59 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7948/3.497, allocations: 208.8 MB / 1.142 GB, free: 154.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02064/3.517, allocations: 7.129 MB / 1.149 GB, free: 153.2 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01772/3.535, allocations: 3.311 MB / 1.152 GB, free: 153.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01085/3.546, allocations: 4.761 MB / 1.157 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of SimCode: time 1.623e-06/3.546, allocations: 0 / 1.157 GB, free: 149.9 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6441/4.19, allocations: 140.4 MB / 1.294 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/4.19, allocations: 185.5 kB / 1.294 GB, free: 143.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/12.42, allocations: 0 / 1.294 GB, free: 143.3 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat