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.001477/0.001476, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.081/2.081, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001086/0.001085, allocations: 86.7 kB / 267.5 MB, free: 14.04 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.2708/0.2708, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/3.008e-05, allocations: 7.984 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6219/0.7357, allocations: 105.1 MB / 0.5754 GB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/0.7362, allocations: 80.02 kB / 0.5755 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3254/1.062, allocations: 66.59 MB / 0.6405 GB, free: 4.113 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.308e-06/1.062, allocations: 8 kB / 0.6406 GB, free: 4.105 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001685/1.062, allocations: 71.92 kB / 0.6406 GB, free: 4.035 MB / 442.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.01106/1.073, allocations: 3.126 MB / 0.6437 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.073, allocations: 12.03 kB / 0.6437 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/1.088, allocations: 1.945 MB / 0.6456 GB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007532/1.095, allocations: 2.044 MB / 0.6476 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/1.096, allocations: 287.3 kB / 0.6479 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/1.097, allocations: 363.9 kB / 0.6482 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02364/1.121, allocations: 8.081 MB / 0.6561 GB, free: 3.688 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/1.121, allocations: 15.88 kB / 0.6561 GB, free: 3.672 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008805/1.122, allocations: 167.9 kB / 0.6563 GB, free: 3.508 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/1.124, allocations: 0.8143 MB / 0.6571 GB, free: 2.691 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/1.145, allocations: 6.909 MB / 0.6638 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05697/1.202, allocations: 27.62 MB / 0.6908 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008703/1.211, allocations: 2.533 MB / 0.6933 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002303/1.213, allocations: 0.9516 MB / 0.6942 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01306/1.227, allocations: 4.486 MB / 0.6986 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/1.227, allocations: 43.34 kB / 0.6986 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=120): time 4.949e-06/1.227, allocations: 4 kB / 0.6986 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120): time 0.01063/1.237, allocations: 2.117 MB / 0.7007 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/1.237, allocations: 64.19 kB / 0.7007 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004435/1.242, allocations: 1.971 MB / 0.7027 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002345/1.242, allocations: 45.69 kB / 0.7027 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00217/1.244, allocations: 2.316 MB / 0.705 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006834/1.245, allocations: 466 kB / 0.7054 GB, free: 48 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3192/1.564, allocations: 65.27 kB / 0.7055 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005922/1.565, allocations: 469.2 kB / 0.7059 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002988/1.568, allocations: 1.048 MB / 0.7069 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004069/1.572, allocations: 3.182 MB / 0.7101 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004578/1.577, allocations: 1.855 MB / 0.7119 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.129e-05/1.577, allocations: 21.44 kB / 0.7119 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01151/1.588, allocations: 4.095 MB / 0.7159 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/1.588, allocations: 40.69 kB / 0.7159 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/1.589, allocations: 75.66 kB / 0.716 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/1.589, allocations: 114.9 kB / 0.7161 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005633/1.594, allocations: 0.8133 MB / 0.7169 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002146/1.595, allocations: 148.2 kB / 0.717 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/1.599, allocations: 497.6 kB / 0.7175 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006036/1.599, allocations: 219.2 kB / 0.7177 GB, free: 132.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 444 * 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.0007594/1.6, allocations: 395.4 kB / 0.7181 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/1.601, allocations: 198 kB / 0.7183 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/1.604, allocations: 1.478 MB / 0.7197 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/1.604, allocations: 12.86 kB / 0.7197 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.604, allocations: 1.953 kB / 0.7197 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.604, allocations: 4.312 kB / 0.7198 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/1.624, allocations: 7.365 MB / 0.7269 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/1.624, allocations: 13.75 kB / 0.727 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.625, allocations: 197 kB / 0.7271 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.809e-05/1.625, allocations: 22.69 kB / 0.7272 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/1.625, allocations: 36.28 kB / 0.7272 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-05/1.625, allocations: 30.61 kB / 0.7272 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.478e-05/1.625, allocations: 18.53 kB / 0.7272 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/1.629, allocations: 3.164 MB / 0.7303 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/1.63, allocations: 325.2 kB / 0.7306 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003699/1.63, allocations: 40.81 kB / 0.7307 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/1.632, allocations: 53.45 kB / 0.7307 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/1.632, allocations: 110.4 kB / 0.7308 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.632, allocations: 55.48 kB / 0.7309 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0031/1.635, allocations: 1.532 MB / 0.7324 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.01e-07/1.635, allocations: 0 / 0.7324 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004536/1.64, allocations: 0.9342 MB / 0.7333 GB, free: 128.3 MB / 0.4948 GB 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 () * 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.0004742/1.64, allocations: 167.8 kB / 0.7335 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005443/1.646, allocations: 2.513 MB / 0.7359 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.646, allocations: 7.438 kB / 0.7359 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/1.647, allocations: 0.6816 MB / 0.7366 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.649, allocations: 280.1 kB / 0.7369 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/1.664, allocations: 6.08 MB / 0.7428 GB, free: 126 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004443/1.668, allocations: 2.902 MB / 0.7456 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.669, allocations: 189.8 kB / 0.7458 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/1.669, allocations: 0 / 0.7458 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.07501/1.744, allocations: 38.53 MB / 0.7834 GB, free: 110.5 MB / 0.4948 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