Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009788/0.009789, allocations: 165.6 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.611/1.611, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002637/0.002637, allocations: 115.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4755/0.4755, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004611, allocations: 8 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/0.5382, allocations: 94.18 MB / 0.494 GB, free: 9.875 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.5386, allocations: 80.39 kB / 0.4941 GB, free: 9.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.095/1.634, allocations: 199.2 MB / 0.6886 GB, free: 55.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.998e-06/1.634, allocations: 3.281 kB / 0.6886 GB, free: 55.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005681/1.634, allocations: 189.5 kB / 0.6888 GB, free: 55.36 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.04176/1.676, allocations: 9.999 MB / 0.6986 GB, free: 47.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/1.676, allocations: 8.031 kB / 0.6986 GB, free: 47.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009163/1.685, allocations: 1.813 MB / 0.7004 GB, free: 46.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03631/1.722, allocations: 4.038 MB / 0.7043 GB, free: 41.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03532/1.757, allocations: 10.59 MB / 0.7147 GB, free: 31.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001068/1.758, allocations: 0.7942 MB / 0.7154 GB, free: 30.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006163/1.764, allocations: 1.051 MB / 0.7165 GB, free: 29.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08162/1.846, allocations: 24.39 MB / 0.7403 GB, free: 3.434 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000785/1.847, allocations: 99.14 kB / 0.7404 GB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005898/1.853, allocations: 491.8 kB / 0.7408 GB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007038/1.86, allocations: 2.271 MB / 0.7431 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4281/2.288, allocations: 19.52 MB / 0.7621 GB, free: 50.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1901/2.478, allocations: 94.14 MB / 0.8541 GB, free: 27.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03691/2.515, allocations: 7.743 MB / 0.8616 GB, free: 25.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04034/2.555, allocations: 13.3 MB / 0.8746 GB, free: 18.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/2.556, allocations: 67.91 kB / 0.8747 GB, free: 18.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=336): time 7.654e-06/2.556, allocations: 0 / 0.8747 GB, free: 18.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=360): time 0.1126/2.668, allocations: 20.85 MB / 0.895 GB, free: 6.277 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/2.668, allocations: 169.4 kB / 0.8952 GB, free: 6.082 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02522/2.694, allocations: 6.584 MB / 0.9016 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008658/2.695, allocations: 81.7 kB / 0.9017 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.01129/2.706, allocations: 6.96 MB / 0.9085 GB, free: 11.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002464/2.708, allocations: 1.358 MB / 0.9098 GB, free: 9.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/2.71, allocations: 216 kB / 0.91 GB, free: 9.609 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001263/2.711, allocations: 0.7541 MB / 0.9108 GB, free: 8.984 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01236/2.724, allocations: 3.213 MB / 0.9139 GB, free: 6.344 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3884/3.112, allocations: 9.697 MB / 0.9234 GB, free: 89.28 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/3.129, allocations: 5.39 MB / 0.9286 GB, free: 89.22 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003282/3.129, allocations: 66.31 kB / 0.9287 GB, free: 89.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03912/3.168, allocations: 12.65 MB / 0.9411 GB, free: 88.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/3.169, allocations: 106.1 kB / 0.9412 GB, free: 88.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004547/3.169, allocations: 232.5 kB / 0.9414 GB, free: 88.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004615/3.17, allocations: 336.8 kB / 0.9417 GB, free: 88.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01718/3.187, allocations: 2.618 MB / 0.9443 GB, free: 88.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005783/3.187, allocations: 454.5 kB / 0.9447 GB, free: 88.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/3.201, allocations: 0.6795 MB / 0.9454 GB, free: 88.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002987/3.204, allocations: 0.6361 MB / 0.946 GB, free: 88.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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 (1366): * Single equations (assignments): 1363 * 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 prepare postOptimizeDAE: time 0.0139/3.218, allocations: 4.515 MB / 0.9504 GB, free: 87.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001915/3.22, allocations: 0.6658 MB / 0.951 GB, free: 87.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/3.235, allocations: 4.103 MB / 0.955 GB, free: 87.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.64e-05/3.235, allocations: 38.31 kB / 0.9551 GB, free: 87.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/3.235, allocations: 1.375 kB / 0.9551 GB, free: 87.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/3.235, allocations: 17.97 kB / 0.9551 GB, free: 87.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1024/3.338, allocations: 41.71 MB / 0.9958 GB, free: 77.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005811/3.339, allocations: 88.5 kB / 0.9959 GB, free: 77.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008108/3.347, allocations: 0.8431 MB / 0.9967 GB, free: 77.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/3.347, allocations: 124.6 kB / 0.9969 GB, free: 77.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001317/3.348, allocations: 200.2 kB / 0.997 GB, free: 77.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002592/3.349, allocations: 173.2 kB / 0.9972 GB, free: 77.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001477/3.349, allocations: 140.7 kB / 0.9973 GB, free: 76.99 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02406/3.373, allocations: 25.18 MB / 1.022 GB, free: 51.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003025/3.376, allocations: 0.8375 MB / 1.023 GB, free: 50.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002681/3.379, allocations: 208.1 kB / 1.023 GB, free: 50.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007355/3.386, allocations: 268.9 kB / 1.023 GB, free: 50.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001464/3.388, allocations: 0.5738 MB / 1.024 GB, free: 50.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006346/3.388, allocations: 249.3 kB / 1.024 GB, free: 50.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01434/3.403, allocations: 4.643 MB / 1.029 GB, free: 48.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.92e-07/3.403, allocations: 0 / 1.029 GB, free: 48.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.015/3.418, allocations: 1.875 MB / 1.03 GB, free: 47.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * 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 (444): * Single equations (assignments): 441 * 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.02294/3.441, allocations: 40.91 MB / 1.07 GB, free: 4.258 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02536/3.466, allocations: 7.75 MB / 1.078 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.65e-05/3.466, allocations: 12 kB / 1.078 GB, free: 14.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00656/3.473, allocations: 2.162 MB / 1.08 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/3.483, allocations: 1.081 MB / 1.081 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.009/4.492, allocations: 235.9 MB / 1.311 GB, free: 194.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02412/4.516, allocations: 7.154 MB / 1.318 GB, free: 193.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01902/4.535, allocations: 3.316 MB / 1.322 GB, free: 193.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01244/4.547, allocations: 4.761 MB / 1.326 GB, free: 193.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.542e-06/4.547, allocations: 3.094 kB / 1.326 GB, free: 193.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7607/5.308, allocations: 144.1 MB / 1.467 GB, free: 147.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/5.308, allocations: 188.5 kB / 1.467 GB, free: 147.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/13.85, allocations: 2.969 kB / 1.467 GB, free: 147.3 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat