Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001477, allocations: 184.5 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.415/1.415, allocations: 223.3 MB / 242.1 MB, free: 9.945 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.0009609/0.0009609, allocations: 94.08 kB / 293.3 MB, free: 10.55 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.3388/0.3388, allocations: 44.14 MB / 388.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3248, allocations: 61.88 MB / 0.5107 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.4612, allocations: 106.1 MB / 0.6143 GB, free: 4.922 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.4616, allocations: 87.88 kB / 0.6144 GB, free: 4.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6053/1.067, allocations: 148.5 MB / 0.7595 GB, free: 81.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.067, allocations: 0 / 0.7595 GB, free: 81.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004004/1.067, allocations: 149 kB / 0.7596 GB, free: 81.6 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02232/1.09, allocations: 7.587 MB / 0.767 GB, free: 76.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.09, allocations: 9.625 kB / 0.767 GB, free: 76.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/1.107, allocations: 3.404 MB / 0.7703 GB, free: 74.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/1.123, allocations: 7.442 MB / 0.7776 GB, free: 68.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005239/1.123, allocations: 0.562 MB / 0.7782 GB, free: 67.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003347/1.127, allocations: 0.7461 MB / 0.7789 GB, free: 67.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03742/1.164, allocations: 17.67 MB / 0.7962 GB, free: 47.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003152/1.164, allocations: 83.41 kB / 0.7962 GB, free: 47.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002529/1.167, allocations: 367.8 kB / 0.7966 GB, free: 47.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002084/1.169, allocations: 1.629 MB / 0.7982 GB, free: 45.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/1.196, allocations: 13.69 MB / 0.8115 GB, free: 32.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.41/1.606, allocations: 74.5 MB / 0.8843 GB, free: 56.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01406/1.62, allocations: 5.459 MB / 0.8896 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/1.623, allocations: 2.098 MB / 0.8917 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01708/1.64, allocations: 9.876 MB / 0.9013 GB, free: 52.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/1.64, allocations: 51.44 kB / 0.9014 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 6.642e-06/1.64, allocations: 3.125 kB / 0.9014 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.03792/1.678, allocations: 14.3 MB / 0.9153 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/1.678, allocations: 151.1 kB / 0.9155 GB, free: 48.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01223/1.691, allocations: 6.4 MB / 0.9217 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000399/1.691, allocations: 58.83 kB / 0.9218 GB, free: 47.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003397/1.694, allocations: 5.303 MB / 0.927 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008924/1.695, allocations: 0.8255 MB / 0.9278 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003633/1.696, allocations: 160.3 kB / 0.9279 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003474/1.696, allocations: 0.647 MB / 0.9286 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003554/1.7, allocations: 2.264 MB / 0.9308 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005669/1.705, allocations: 7.616 MB / 0.9382 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009641/1.715, allocations: 10.67 MB / 0.9486 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/1.715, allocations: 59.47 kB / 0.9487 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01819/1.733, allocations: 9.513 MB / 0.958 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002652/1.734, allocations: 86.38 kB / 0.958 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003048/1.734, allocations: 191.9 kB / 0.9582 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/1.734, allocations: 248.9 kB / 0.9585 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006356/1.741, allocations: 1.996 MB / 0.9604 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002611/1.741, allocations: 368.8 kB / 0.9608 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008452/1.749, allocations: 0.5717 MB / 0.9613 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/1.752, allocations: 0.496 MB / 0.9618 GB, free: 26.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.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.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.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.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 (1031): * Single equations (assignments): 1028 * 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.009636/1.761, allocations: 3.405 MB / 0.9651 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/1.763, allocations: 0.5376 MB / 0.9657 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/1.765, allocations: 0.6475 MB / 0.9663 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/1.765, allocations: 24.25 kB / 0.9663 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.282e-05/1.765, allocations: 4 kB / 0.9663 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/1.765, allocations: 10.69 kB / 0.9663 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/1.791, allocations: 16.65 MB / 0.9826 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.671e-05/1.791, allocations: 39.19 kB / 0.9826 GB, free: 17.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/1.792, allocations: 379.5 kB / 0.983 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.481e-05/1.792, allocations: 53.44 kB / 0.983 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/1.792, allocations: 85.5 kB / 0.9831 GB, free: 17.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.845e-05/1.792, allocations: 72.5 kB / 0.9832 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-05/1.793, allocations: 65.14 kB / 0.9833 GB, free: 17.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003698/1.796, allocations: 3.894 MB / 0.9871 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/1.798, allocations: 0.6232 MB / 0.9877 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004901/1.798, allocations: 90.75 kB / 0.9878 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.8, allocations: 167.4 kB / 0.9879 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/1.8, allocations: 251 kB / 0.9882 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/1.8, allocations: 104 kB / 0.9883 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006379/1.807, allocations: 4.036 MB / 0.9922 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/1.807, allocations: 0 / 0.9922 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007976/1.815, allocations: 1.361 MB / 0.9935 GB, free: 7.543 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * 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 (198): * Single equations (assignments): 195 * 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.0006454/1.815, allocations: 257.2 kB / 0.9938 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008095/1.823, allocations: 5.207 MB / 0.9989 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.469e-05/1.823, allocations: 9 kB / 0.9989 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/1.825, allocations: 1.115 MB / 0.9999 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03676/1.862, allocations: 0.8586 MB / 1.001 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03617/1.898, allocations: 18.17 MB / 1.019 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01136/1.909, allocations: 5.235 MB / 1.024 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00755/1.917, allocations: 2.566 MB / 1.026 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.918, allocations: 342.9 kB / 1.026 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of SimCode: time 7.61e-07/1.918, allocations: 4 kB / 1.026 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of Templates: time 0.09066/2.009, allocations: 41.81 MB / 1.067 GB, free: 4.984 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches