Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 183 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008173/0.0008175, allocations: 102.6 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3092/0.3092, allocations: 44.13 MB / 388.5 MB, free: 38.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003769, allocations: 12 kB / 461.1 MB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3143, allocations: 61.87 MB / 0.5107 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.4455, allocations: 107.5 MB / 0.6157 GB, free: 3.625 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.4458, allocations: 83.94 kB / 0.6158 GB, free: 3.547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6093/1.055, allocations: 172.3 MB / 0.784 GB, free: 62.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.514e-06/1.055, allocations: 0 / 0.784 GB, free: 62.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005249/1.056, allocations: 176 kB / 0.7841 GB, free: 61.94 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.02916/1.085, allocations: 8.661 MB / 0.7926 GB, free: 53.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.085, allocations: 12.03 kB / 0.7926 GB, free: 53.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/1.103, allocations: 3.655 MB / 0.7962 GB, free: 49.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01893/1.122, allocations: 8.118 MB / 0.8041 GB, free: 41.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00069/1.123, allocations: 0.6864 MB / 0.8048 GB, free: 40.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005031/1.128, allocations: 0.9024 MB / 0.8057 GB, free: 39.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05579/1.184, allocations: 21.17 MB / 0.8263 GB, free: 17.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006363/1.185, allocations: 95.3 kB / 0.8264 GB, free: 16.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004726/1.189, allocations: 435.7 kB / 0.8268 GB, free: 16.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002912/1.192, allocations: 1.866 MB / 0.8287 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03657/1.229, allocations: 16.53 MB / 0.8448 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6885/1.917, allocations: 83.46 MB / 0.9263 GB, free: 35.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/1.934, allocations: 6.391 MB / 0.9326 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003372/1.938, allocations: 2.346 MB / 0.9348 GB, free: 34.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.019/1.957, allocations: 10.81 MB / 0.9454 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/1.957, allocations: 58.11 kB / 0.9455 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=212): time 5.059e-06/1.957, allocations: 0 / 0.9455 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.04589/2.003, allocations: 16.87 MB / 0.9619 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/2.003, allocations: 159.8 kB / 0.9621 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01335/2.016, allocations: 6.81 MB / 0.9687 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005636/2.017, allocations: 57.83 kB / 0.9688 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006866/2.024, allocations: 6.04 MB / 0.9747 GB, free: 22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/2.025, allocations: 0.937 MB / 0.9756 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009403/2.026, allocations: 181.6 kB / 0.9758 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004977/2.026, allocations: 0.6701 MB / 0.9764 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004649/2.031, allocations: 2.494 MB / 0.9789 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00788/2.039, allocations: 8.267 MB / 0.9869 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01268/2.052, allocations: 11.64 MB / 0.9983 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003423/2.052, allocations: 61.94 kB / 0.9984 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.0216/2.074, allocations: 10.37 MB / 1.008 GB, free: 15.84 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/2.074, allocations: 98.69 kB / 1.009 GB, free: 15.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000302/2.074, allocations: 207 kB / 1.009 GB, free: 15.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/2.074, allocations: 267.7 kB / 1.009 GB, free: 15.84 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007095/2.082, allocations: 2.162 MB / 1.011 GB, free: 15.57 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003489/2.082, allocations: 401.5 kB / 1.012 GB, free: 15.48 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/2.093, allocations: 0.6021 MB / 1.012 GB, free: 15.32 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/2.095, allocations: 0.5405 MB / 1.013 GB, free: 15.25 MB / 0.5262 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 (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.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],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.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],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.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],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.01252/2.108, allocations: 3.956 MB / 1.017 GB, free: 13.49 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002506/2.11, allocations: 0.5782 MB / 1.017 GB, free: 13.17 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/2.114, allocations: 0.7093 MB / 1.018 GB, free: 12.82 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.781e-05/2.114, allocations: 35.64 kB / 1.018 GB, free: 12.81 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.593e-05/2.114, allocations: 3.531 kB / 1.018 GB, free: 12.81 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.599e-05/2.114, allocations: 10.45 kB / 1.018 GB, free: 12.81 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05038/2.165, allocations: 19.49 MB / 1.037 GB, free: 15.95 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002894/2.165, allocations: 55.23 kB / 1.037 GB, free: 15.89 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/2.168, allocations: 0.5055 MB / 1.037 GB, free: 15.45 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/2.168, allocations: 68.78 kB / 1.037 GB, free: 15.38 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005648/2.169, allocations: 122.7 kB / 1.038 GB, free: 15.27 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001294/2.169, allocations: 110.8 kB / 1.038 GB, free: 15.17 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.689e-05/2.169, allocations: 83.62 kB / 1.038 GB, free: 15.09 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008333/2.177, allocations: 4.857 MB / 1.043 GB, free: 9.68 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002605/2.18, allocations: 0.6959 MB / 1.043 GB, free: 8.992 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001741/2.182, allocations: 124.4 kB / 1.043 GB, free: 8.879 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003646/2.185, allocations: 195.5 kB / 1.043 GB, free: 8.73 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005912/2.186, allocations: 362.7 kB / 1.044 GB, free: 8.438 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003445/2.186, allocations: 143.7 kB / 1.044 GB, free: 8.301 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01108/2.197, allocations: 4.276 MB / 1.048 GB, free: 4.844 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.362e-06/2.197, allocations: 0 / 1.048 GB, free: 4.844 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01318/2.211, allocations: 1.545 MB / 1.05 GB, free: 3.305 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * 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 (272): * Single equations (assignments): 269 * 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.001458/2.212, allocations: 304.9 kB / 1.05 GB, free: 3.008 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01346/2.226, allocations: 5.771 MB / 1.056 GB, free: 13.98 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 5.447e-05/2.226, allocations: 8 kB / 1.056 GB, free: 13.98 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.002848/2.229, allocations: 1.34 MB / 1.057 GB, free: 12.8 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05337/2.282, allocations: 1.028 MB / 1.058 GB, free: 11.95 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04149/2.324, allocations: 21.5 MB / 1.079 GB, free: 7.215 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01354/2.337, allocations: 6.072 MB / 1.085 GB, free: 2.668 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0106/2.348, allocations: 2.791 MB / 1.088 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002116/2.35, allocations: 399.4 kB / 1.088 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/2.35, allocations: 0 / 1.088 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of Templates: time 0.3969/2.747, allocations: 48.34 MB / 1.135 GB, free: 135.4 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches