Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009688/0.0009688, allocations: 197.5 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.5 MB / 244.1 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007954/0.0007955, allocations: 107.4 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3058/0.3058, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003774, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3027, allocations: 62.94 MB / 0.5165 GB, free: 37.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4264, allocations: 108.2 MB / 0.6222 GB, free: 13.12 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.4267, allocations: 79.97 kB / 0.6222 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5704/0.997, allocations: 177.2 MB / 0.7953 GB, free: 45.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.9971, allocations: 0 / 0.7953 GB, free: 45.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004509/0.9976, allocations: 176 kB / 0.7955 GB, free: 45.11 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02383/1.021, allocations: 8.657 MB / 0.8039 GB, free: 36.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.021, allocations: 16.03 kB / 0.8039 GB, free: 36.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/1.038, allocations: 3.659 MB / 0.8075 GB, free: 32.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/1.054, allocations: 7.746 MB / 0.8151 GB, free: 24.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006272/1.055, allocations: 0.6864 MB / 0.8158 GB, free: 24.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004009/1.059, allocations: 0.9024 MB / 0.8166 GB, free: 23.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04415/1.103, allocations: 21.18 MB / 0.8373 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004598/1.104, allocations: 99.23 kB / 0.8374 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003307/1.107, allocations: 431.8 kB / 0.8378 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002995/1.11, allocations: 1.866 MB / 0.8396 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03614/1.146, allocations: 16.52 MB / 0.8558 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3419/1.488, allocations: 83.46 MB / 0.9373 GB, free: 43.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01713/1.505, allocations: 6.332 MB / 0.9435 GB, free: 43.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003722/1.509, allocations: 2.338 MB / 0.9457 GB, free: 43.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01954/1.528, allocations: 10.81 MB / 0.9563 GB, free: 39.92 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/1.529, allocations: 62.62 kB / 0.9564 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 5.651e-06/1.529, allocations: 0 / 0.9564 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.04322/1.572, allocations: 16.85 MB / 0.9728 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/1.572, allocations: 159.8 kB / 0.973 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/1.582, allocations: 6.812 MB / 0.9796 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003449/1.582, allocations: 64.42 kB / 0.9797 GB, free: 34.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003266/1.586, allocations: 6.051 MB / 0.9856 GB, free: 30.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008398/1.587, allocations: 0.9277 MB / 0.9865 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003733/1.587, allocations: 174.9 kB / 0.9867 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003325/1.587, allocations: 0.6786 MB / 0.9873 GB, free: 30 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/1.591, allocations: 2.49 MB / 0.9898 GB, free: 29.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00568/1.597, allocations: 8.263 MB / 0.9978 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.607, allocations: 11.65 MB / 1.009 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001674/1.607, allocations: 58.47 kB / 1.009 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01665/1.624, allocations: 10.38 MB / 1.019 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.624, allocations: 96.25 kB / 1.019 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/1.624, allocations: 202.5 kB / 1.02 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/1.625, allocations: 272.5 kB / 1.02 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006001/1.631, allocations: 2.163 MB / 1.022 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002206/1.631, allocations: 410.4 kB / 1.022 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/1.638, allocations: 0.6043 MB / 1.023 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009511/1.639, allocations: 0.5438 MB / 1.024 GB, free: 8.875 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1129): * Single equations (assignments): 1126 * 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.006779/1.645, allocations: 3.953 MB / 1.027 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009867/1.646, allocations: 0.5759 MB / 1.028 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/1.648, allocations: 0.7076 MB / 1.029 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/1.648, allocations: 26 kB / 1.029 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-05/1.648, allocations: 3.938 kB / 1.029 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.648, allocations: 10.22 kB / 1.029 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/1.679, allocations: 22.69 MB / 1.051 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-05/1.679, allocations: 49.69 kB / 1.051 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/1.68, allocations: 450.3 kB / 1.051 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.644e-05/1.68, allocations: 56 kB / 1.051 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/1.681, allocations: 104.7 kB / 1.051 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.675e-05/1.681, allocations: 90.7 kB / 1.052 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.914e-05/1.681, allocations: 71.69 kB / 1.052 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00519/1.686, allocations: 4.556 MB / 1.056 GB, free: 4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/1.687, allocations: 0.6728 MB / 1.057 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006178/1.688, allocations: 108 kB / 1.057 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.69, allocations: 205 kB / 1.057 GB, free: 3.086 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003408/1.69, allocations: 306.5 kB / 1.057 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.691, allocations: 126.9 kB / 1.057 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007285/1.698, allocations: 4.268 MB / 1.062 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.698, allocations: 0 / 1.062 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008587/1.707, allocations: 1.55 MB / 1.063 GB, free: 13.73 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 205 * 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 (232): * Single equations (assignments): 229 * 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.0008126/1.707, allocations: 278.8 kB / 1.063 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00956/1.717, allocations: 5.793 MB / 1.069 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.346e-05/1.717, allocations: 4 kB / 1.069 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/1.719, allocations: 1.324 MB / 1.07 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04263/1.762, allocations: 0.989 MB / 1.071 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03751/1.799, allocations: 22.22 MB / 1.093 GB, free: 1.316 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2358/2.035, allocations: 6.055 MB / 1.099 GB, free: 133.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/2.036, allocations: 466.1 kB / 1.099 GB, free: 133.2 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/2.036, allocations: 0 / 1.099 GB, free: 133.2 MB / 0.573 GB Notification: Performance of Templates: time 0.1426/2.179, allocations: 97.36 MB / 1.194 GB, free: 106.1 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches