Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001577, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.00125, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2882/0.2882, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004984, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1198, allocations: 58.87 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.4366/0.5565, allocations: 46.75 MB / 0.5244 GB, free: 9.824 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02815/0.5847, allocations: 10.38 MB / 0.5345 GB, free: 9.387 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01163/0.5964, allocations: 221.2 kB / 0.5347 GB, free: 9.355 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009164/0.6056, allocations: 2.367 MB / 0.5371 GB, free: 8.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02738/0.633, allocations: 6.662 MB / 0.5436 GB, free: 7.637 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.6363, allocations: 291.1 kB / 0.5438 GB, free: 7.566 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004474/0.6409, allocations: 1.577 MB / 0.5454 GB, free: 7.238 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007629/0.6485, allocations: 3.892 MB / 0.5492 GB, free: 6.016 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.6504, allocations: 0.7072 MB / 0.5499 GB, free: 5.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.6525, allocations: 0.9434 MB / 0.5508 GB, free: 5.418 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007567/0.6533, allocations: 123.8 kB / 0.5509 GB, free: 5.418 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.6553, allocations: 0.5403 MB / 0.5514 GB, free: 5.289 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.6573, allocations: 1.225 MB / 0.5526 GB, free: 4.926 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.6584, allocations: 0.6811 MB / 0.5533 GB, free: 4.758 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006556/0.665, allocations: 4.638 MB / 0.5578 GB, free: 2.188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.665, allocations: 0 / 0.5578 GB, free: 2.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.665, allocations: 0 / 0.5578 GB, free: 2.188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002054/0.6652, allocations: 0 / 0.5578 GB, free: 2.188 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.008749/0.674, allocations: 3.137 MB / 0.5609 GB, free: 208 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.6741, allocations: 8.656 kB / 0.5609 GB, free: 208 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.6864, allocations: 2.051 MB / 0.5629 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005443/0.6919, allocations: 1.618 MB / 0.5645 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.6922, allocations: 209.8 kB / 0.5647 GB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.6936, allocations: 258 kB / 0.5649 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02447/0.7181, allocations: 8.412 MB / 0.5731 GB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.7183, allocations: 15.88 kB / 0.5732 GB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001505/0.7198, allocations: 116.3 kB / 0.5733 GB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005283/0.7252, allocations: 1.763 MB / 0.575 GB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02402/0.7492, allocations: 7.065 MB / 0.5819 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06107/0.8103, allocations: 25.94 MB / 0.6072 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009687/0.8201, allocations: 2.56 MB / 0.6097 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.8349, allocations: 4.477 MB / 0.6141 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.835, allocations: 39.56 kB / 0.6141 GB, free: 10.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 4.91e-06/0.835, allocations: 0 / 0.6141 GB, free: 10.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.01413/0.8492, allocations: 2.987 MB / 0.617 GB, free: 7.695 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.8493, allocations: 60.41 kB / 0.6171 GB, free: 7.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/0.8548, allocations: 2.249 MB / 0.6193 GB, free: 5.336 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000254/0.8551, allocations: 44.36 kB / 0.6193 GB, free: 5.289 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002542/0.8577, allocations: 2.317 MB / 0.6216 GB, free: 2.969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008386/0.8586, allocations: 458.8 kB / 0.622 GB, free: 2.523 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.859, allocations: 72 kB / 0.6221 GB, free: 2.453 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003682/0.8593, allocations: 474.9 kB / 0.6226 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003436/0.8628, allocations: 1.104 MB / 0.6236 GB, free: 0.875 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00567/0.8685, allocations: 3.263 MB / 0.6268 GB, free: 12.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005231/0.8738, allocations: 1.894 MB / 0.6287 GB, free: 10.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.062e-05/0.874, allocations: 23.98 kB / 0.6287 GB, free: 10.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01344/0.8874, allocations: 4.242 MB / 0.6328 GB, free: 6.379 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.8875, allocations: 43.44 kB / 0.6329 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.8877, allocations: 76 kB / 0.633 GB, free: 6.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.8879, allocations: 119.9 kB / 0.6331 GB, free: 6.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005247/0.8932, allocations: 0.811 MB / 0.6339 GB, free: 5.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000206/0.8934, allocations: 151.4 kB / 0.634 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/0.8973, allocations: 0.4908 MB / 0.6345 GB, free: 4.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007461/0.8981, allocations: 226.6 kB / 0.6347 GB, free: 4.473 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (450): * Single equations (assignments): 445 * 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.004646/0.9028, allocations: 1.706 MB / 0.6364 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004871/0.9033, allocations: 197.5 kB / 0.6366 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/0.9076, allocations: 1.51 MB / 0.638 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.986e-05/0.9077, allocations: 14.97 kB / 0.638 GB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.9077, allocations: 3.953 kB / 0.638 GB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.9078, allocations: 3.984 kB / 0.6381 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02086/0.9286, allocations: 7.371 MB / 0.6453 GB, free: 9.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/0.9287, allocations: 15.94 kB / 0.6453 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.9303, allocations: 191.7 kB / 0.6454 GB, free: 9.199 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.391e-05/0.9304, allocations: 24 kB / 0.6455 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.9305, allocations: 43.98 kB / 0.6455 GB, free: 9.133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.45e-05/0.9305, allocations: 27.88 kB / 0.6455 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.457e-05/0.9306, allocations: 23.88 kB / 0.6456 GB, free: 9.082 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005136/0.9357, allocations: 3.188 MB / 0.6487 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008761/0.9366, allocations: 333.9 kB / 0.649 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005802/0.9372, allocations: 35.98 kB / 0.649 GB, free: 4.883 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.939, allocations: 54.3 kB / 0.6491 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004149/0.9395, allocations: 111.6 kB / 0.6492 GB, free: 4.723 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/0.9397, allocations: 51.98 kB / 0.6492 GB, free: 4.672 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0041/0.9438, allocations: 1.563 MB / 0.6508 GB, free: 3.094 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.9439, allocations: 0 / 0.6508 GB, free: 3.094 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004938/0.9488, allocations: 0.9214 MB / 0.6517 GB, free: 2.168 MB / 458.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.0006261/0.9495, allocations: 169.5 kB / 0.6518 GB, free: 1.992 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007018/0.9565, allocations: 2.608 MB / 0.6544 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/0.9566, allocations: 4 kB / 0.6544 GB, free: 15.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.9586, allocations: 0.6859 MB / 0.655 GB, free: 14.72 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.9609, allocations: 300.7 kB / 0.6553 GB, free: 14.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/0.9821, allocations: 8.8 MB / 0.6639 GB, free: 5.406 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005719/0.9879, allocations: 2.903 MB / 0.6668 GB, free: 2.477 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.9891, allocations: 195.4 kB / 0.6669 GB, free: 2.285 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/0.9891, allocations: 3.938 kB / 0.6669 GB, free: 2.281 MB / 474.7 MB Notification: Performance of Templates: time 0.08923/1.078, allocations: 38.36 MB / 0.7044 GB, free: 11.89 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches