Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009456/0.0009457, allocations: 175.6 kB / 16.77 MB, free: 4.809 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007218/0.0007218, allocations: 96.92 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3637/0.3637, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 12 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.107, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4406, allocations: 107.3 MB / 0.5847 GB, free: 10.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4409, allocations: 83.95 kB / 0.5848 GB, free: 10.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7512/1.192, allocations: 196.3 MB / 0.7765 GB, free: 68.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.192, allocations: 4 kB / 0.7765 GB, free: 68.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007639/1.193, allocations: 196.7 kB / 0.7767 GB, free: 68.15 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: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.03234/1.225, allocations: 9.672 MB / 0.7861 GB, free: 61.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.225, allocations: 10.25 kB / 0.7861 GB, free: 61.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02004/1.245, allocations: 3.915 MB / 0.7899 GB, free: 59.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02075/1.266, allocations: 9.26 MB / 0.799 GB, free: 49.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008112/1.267, allocations: 0.7984 MB / 0.7998 GB, free: 49.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005366/1.272, allocations: 1.035 MB / 0.8008 GB, free: 48.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05886/1.331, allocations: 24.3 MB / 0.8245 GB, free: 22.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007049/1.332, allocations: 91.34 kB / 0.8246 GB, free: 22.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005657/1.338, allocations: 499.6 kB / 0.8251 GB, free: 21.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003622/1.341, allocations: 2.279 MB / 0.8273 GB, free: 19.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04592/1.387, allocations: 19.33 MB / 0.8462 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3888/1.776, allocations: 94.07 MB / 0.938 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/1.799, allocations: 7.73 MB / 0.9456 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006013/1.805, allocations: 3.102 MB / 0.9486 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02517/1.83, allocations: 13.18 MB / 0.9615 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.83, allocations: 68.78 kB / 0.9616 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 6.161e-06/1.83, allocations: 0 / 0.9616 GB, free: 32.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.05596/1.886, allocations: 20.61 MB / 0.9817 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/1.886, allocations: 165.6 kB / 0.9818 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01668/1.903, allocations: 7.44 MB / 0.9891 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006708/1.904, allocations: 83.73 kB / 0.9892 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005435/1.909, allocations: 6.823 MB / 0.9958 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001961/1.911, allocations: 1.359 MB / 0.9972 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001605/1.913, allocations: 212 kB / 0.9974 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001237/1.914, allocations: 0.7567 MB / 0.9981 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006838/1.921, allocations: 3.222 MB / 1.001 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01146/1.932, allocations: 9.761 MB / 1.011 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/1.95, allocations: 14.07 MB / 1.025 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003091/1.951, allocations: 73.09 kB / 1.025 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.02627/1.977, allocations: 12.67 MB / 1.037 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003706/1.977, allocations: 104 kB / 1.037 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005726/1.978, allocations: 232 kB / 1.037 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/1.978, allocations: 304 kB / 1.038 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/1.988, allocations: 2.625 MB / 1.04 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/1.99, allocations: 0.5089 MB / 1.041 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009653/1.999, allocations: 0.6927 MB / 1.041 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002433/2.002, allocations: 0.6385 MB / 1.042 GB, free: 14.81 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1055 * Number of states: 0 () * Number of discrete variables: 72 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],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.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],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 (1369): * Single equations (assignments): 1366 * 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.01203/2.014, allocations: 4.527 MB / 1.046 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002264/2.016, allocations: 0.6654 MB / 1.047 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009793/2.026, allocations: 4.097 MB / 1.051 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.323e-05/2.026, allocations: 38.06 kB / 1.051 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/2.026, allocations: 0 / 1.051 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.14e-05/2.026, allocations: 24.45 kB / 1.051 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3247/2.351, allocations: 41.78 MB / 1.092 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001285/2.351, allocations: 89.06 kB / 1.092 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/2.354, allocations: 0.8404 MB / 1.093 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.658e-05/2.354, allocations: 117.7 kB / 1.093 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003154/2.354, allocations: 192.6 kB / 1.093 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001027/2.354, allocations: 175.2 kB / 1.093 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.037e-05/2.354, allocations: 140.5 kB / 1.093 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008487/2.363, allocations: 7.83 MB / 1.101 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/2.365, allocations: 0.8462 MB / 1.102 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/2.366, allocations: 205 kB / 1.102 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003689/2.37, allocations: 268 kB / 1.102 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006585/2.371, allocations: 0.5735 MB / 1.103 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003595/2.371, allocations: 242.9 kB / 1.103 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009671/2.381, allocations: 4.666 MB / 1.108 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.71e-07/2.381, allocations: 0 / 1.108 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01315/2.394, allocations: 1.883 MB / 1.109 GB, free: 125.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * 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 (444): * Single equations (assignments): 441 * 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.001284/2.395, allocations: 418 kB / 1.11 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01415/2.41, allocations: 7.562 MB / 1.117 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-05/2.41, allocations: 12.41 kB / 1.117 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003388/2.413, allocations: 2.157 MB / 1.119 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09836/2.511, allocations: 1.177 MB / 1.121 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03888/2.55, allocations: 26.42 MB / 1.146 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01424/2.565, allocations: 6.963 MB / 1.153 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01164/2.576, allocations: 3.322 MB / 1.156 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00234/2.579, allocations: 0.4971 MB / 1.157 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/2.579, allocations: 0 / 1.157 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.1135/2.692, allocations: 57.96 MB / 1.213 GB, free: 79.53 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches