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.002044/0.002044, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 90.88 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3076/0.3076, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.924e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4297, allocations: 58.85 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.6242, allocations: 104.5 MB / 0.5679 GB, free: 10.82 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.6246, allocations: 79.95 kB / 0.568 GB, free: 10.74 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2694/0.894, allocations: 64.94 MB / 0.6314 GB, free: 9.297 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8941, allocations: 0 / 0.6314 GB, free: 9.297 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0001697/0.8942, allocations: 64 kB / 0.6315 GB, free: 9.234 MB / 475.1 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.01163/0.9059, allocations: 3.133 MB / 0.6345 GB, free: 6.043 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.906, allocations: 12.03 kB / 0.6345 GB, free: 6.031 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/0.921, allocations: 1.945 MB / 0.6364 GB, free: 4.078 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007777/0.9288, allocations: 2.044 MB / 0.6384 GB, free: 1.988 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.9291, allocations: 120 kB / 0.6386 GB, free: 1.871 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001884/0.931, allocations: 215.9 kB / 0.6388 GB, free: 1.66 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3437/1.275, allocations: 5.373 MB / 0.644 GB, free: 112.9 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02494/1.3, allocations: 7.396 MB / 0.6512 GB, free: 111.8 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001738/1.3, allocations: 19.03 kB / 0.6512 GB, free: 111.8 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001775/1.302, allocations: 13.5 kB / 0.6513 GB, free: 111.8 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002397/1.304, allocations: 0.8127 MB / 0.6521 GB, free: 111.8 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05699/1.361, allocations: 26.61 MB / 0.678 GB, free: 97.89 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/1.365, allocations: 1.742 MB / 0.6797 GB, free: 96.91 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/1.366, allocations: 0.7061 MB / 0.6804 GB, free: 96.66 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/1.366, allocations: 23.84 kB / 0.6805 GB, free: 96.66 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/1.367, allocations: 41.34 kB / 0.6805 GB, free: 96.62 MB / 475.1 MB Notification: Performance of pre-optimization done (n=132): time 4.158e-06/1.367, allocations: 0 / 0.6805 GB, free: 96.62 MB / 475.1 MB Notification: Performance of matching and sorting (n=132): time 0.007613/1.374, allocations: 1.853 MB / 0.6823 GB, free: 96.09 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/1.374, allocations: 65.94 kB / 0.6824 GB, free: 96.02 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003977/1.378, allocations: 1.767 MB / 0.6841 GB, free: 95.3 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/1.379, allocations: 28.89 kB / 0.6841 GB, free: 95.27 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001892/1.38, allocations: 2.38 MB / 0.6864 GB, free: 93.69 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008078/1.381, allocations: 499.7 kB / 0.6869 GB, free: 93.33 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/1.382, allocations: 0 / 0.6869 GB, free: 93.33 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0002958/1.382, allocations: 481.7 kB / 0.6874 GB, free: 92.95 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002602/1.385, allocations: 1.055 MB / 0.6884 GB, free: 92.59 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003886/1.389, allocations: 3.342 MB / 0.6917 GB, free: 89.14 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003955/1.393, allocations: 1.916 MB / 0.6935 GB, free: 88.59 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.26e-05/1.393, allocations: 24.97 kB / 0.6936 GB, free: 88.59 MB / 475.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01084/1.404, allocations: 3.888 MB / 0.6974 GB, free: 87.26 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.73e-05/1.404, allocations: 44.34 kB / 0.6974 GB, free: 87.26 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.404, allocations: 85.03 kB / 0.6975 GB, free: 87.25 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/1.404, allocations: 120.5 kB / 0.6976 GB, free: 87.25 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005597/1.41, allocations: 0.8836 MB / 0.6985 GB, free: 87.14 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000154/1.41, allocations: 159.6 kB / 0.6986 GB, free: 87.11 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004023/1.414, allocations: 428.8 kB / 0.699 GB, free: 86.86 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009343/1.415, allocations: 236.5 kB / 0.6993 GB, free: 86.83 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 375 * 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 (484): * Single equations (assignments): 481 * 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.0007738/1.416, allocations: 327.5 kB / 0.6996 GB, free: 86.55 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/1.416, allocations: 190.6 kB / 0.6997 GB, free: 86.45 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/1.42, allocations: 1.605 MB / 0.7013 GB, free: 85.88 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-05/1.42, allocations: 17.34 kB / 0.7013 GB, free: 85.88 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.42, allocations: 0 / 0.7013 GB, free: 85.88 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/1.42, allocations: 3.703 kB / 0.7013 GB, free: 85.88 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/1.436, allocations: 7.051 MB / 0.7082 GB, free: 83.06 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/1.436, allocations: 14.16 kB / 0.7082 GB, free: 83.06 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.437, allocations: 208.1 kB / 0.7084 GB, free: 83.04 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.318e-05/1.437, allocations: 22.53 kB / 0.7085 GB, free: 83.04 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.438, allocations: 33.53 kB / 0.7085 GB, free: 83.04 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.398e-05/1.438, allocations: 32.84 kB / 0.7085 GB, free: 83.03 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.955e-05/1.438, allocations: 29.55 kB / 0.7085 GB, free: 83.02 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/1.441, allocations: 3.209 MB / 0.7117 GB, free: 79.98 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000608/1.442, allocations: 283 kB / 0.7119 GB, free: 79.75 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/1.442, allocations: 32.12 kB / 0.712 GB, free: 79.75 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.444, allocations: 32.75 kB / 0.712 GB, free: 79.74 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003675/1.444, allocations: 130.2 kB / 0.7121 GB, free: 79.69 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.444, allocations: 61.27 kB / 0.7122 GB, free: 79.68 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002664/1.447, allocations: 1.167 MB / 0.7133 GB, free: 79.2 MB / 475.1 MB Notification: Performance of sort global known variables: time 9.51e-07/1.447, allocations: 0 / 0.7133 GB, free: 79.2 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.00528/1.452, allocations: 0.8716 MB / 0.7142 GB, free: 78.96 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.0007383/1.453, allocations: 158.7 kB / 0.7143 GB, free: 78.84 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.005841/1.459, allocations: 2.517 MB / 0.7168 GB, free: 78.02 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-05/1.459, allocations: 7.062 kB / 0.7168 GB, free: 78.01 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/1.461, allocations: 0.7342 MB / 0.7175 GB, free: 77.77 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/1.463, allocations: 211.5 kB / 0.7177 GB, free: 77.68 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/1.479, allocations: 6.232 MB / 0.7238 GB, free: 72.07 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006123/1.485, allocations: 2.912 MB / 0.7266 GB, free: 69.81 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009565/1.486, allocations: 189.3 kB / 0.7268 GB, free: 69.63 MB / 475.1 MB Notification: Performance of SimCode: time 1.583e-06/1.486, allocations: 0 / 0.7268 GB, free: 69.63 MB / 475.1 MB Notification: Performance of Templates: time 0.07431/1.561, allocations: 36.82 MB / 0.7628 GB, free: 37.83 MB / 475.1 MB 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