Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 227.2 MB / 245 MB, free: 5.742 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009101/0.0009101, allocations: 104.5 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2944/0.2944, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003098, allocations: 8 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3367, allocations: 63.26 MB / 0.5192 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4699, allocations: 106.9 MB / 0.6236 GB, free: 12.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.4702, allocations: 83.95 kB / 0.6237 GB, free: 12.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.587/1.057, allocations: 157.3 MB / 0.7772 GB, free: 65.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.057, allocations: 0 / 0.7772 GB, free: 65.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002267/1.058, allocations: 148 kB / 0.7774 GB, free: 64.93 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.01812/1.076, allocations: 7.887 MB / 0.7851 GB, free: 56.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/1.076, allocations: 8.031 kB / 0.7851 GB, free: 56.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/1.091, allocations: 3.527 MB / 0.7885 GB, free: 53.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01631/1.107, allocations: 7.92 MB / 0.7963 GB, free: 45.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004602/1.108, allocations: 0.5655 MB / 0.7968 GB, free: 44.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003135/1.111, allocations: 0.738 MB / 0.7975 GB, free: 44.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03753/1.149, allocations: 17.76 MB / 0.8149 GB, free: 24.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004935/1.149, allocations: 91.12 kB / 0.815 GB, free: 24.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00324/1.152, allocations: 355.8 kB / 0.8153 GB, free: 24.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/1.155, allocations: 1.629 MB / 0.8169 GB, free: 22.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0283/1.183, allocations: 13.85 MB / 0.8304 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.381/1.564, allocations: 74.59 MB / 0.9033 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/1.578, allocations: 5.47 MB / 0.9086 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01673/1.595, allocations: 9.979 MB / 0.9184 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/1.595, allocations: 50.75 kB / 0.9184 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 4.588e-06/1.595, allocations: 2.969 kB / 0.9184 GB, free: 58.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.04181/1.637, allocations: 14.55 MB / 0.9326 GB, free: 54.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/1.637, allocations: 154.1 kB / 0.9328 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01219/1.649, allocations: 5.694 MB / 0.9383 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/1.65, allocations: 52.05 kB / 0.9384 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003565/1.653, allocations: 5.3 MB / 0.9435 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008894/1.654, allocations: 0.8267 MB / 0.9444 GB, free: 50.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007384/1.655, allocations: 156.1 kB / 0.9445 GB, free: 50.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006055/1.655, allocations: 0.647 MB / 0.9451 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/1.659, allocations: 2.264 MB / 0.9473 GB, free: 49.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006061/1.666, allocations: 7.585 MB / 0.9548 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005812/1.671, allocations: 4.006 MB / 0.9587 GB, free: 42.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001656/1.672, allocations: 55.75 kB / 0.9587 GB, free: 42.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01494/1.686, allocations: 9.508 MB / 0.968 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/1.687, allocations: 85.47 kB / 0.9681 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002453/1.687, allocations: 192.1 kB / 0.9683 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/1.687, allocations: 275.1 kB / 0.9685 GB, free: 41.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00578/1.693, allocations: 1.995 MB / 0.9705 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002608/1.693, allocations: 369.9 kB / 0.9708 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006767/1.7, allocations: 0.5799 MB / 0.9714 GB, free: 41.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.701, allocations: 0.4997 MB / 0.9719 GB, free: 40.96 MB / 0.5261 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.007122/1.708, allocations: 3.397 MB / 0.9752 GB, free: 39.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.71, allocations: 0.5469 MB / 0.9757 GB, free: 39.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/1.711, allocations: 0.6445 MB / 0.9764 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.504e-05/1.711, allocations: 25.12 kB / 0.9764 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-05/1.712, allocations: 0 / 0.9764 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/1.712, allocations: 10.75 kB / 0.9764 GB, free: 38.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02747/1.739, allocations: 16.66 MB / 0.9927 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.667e-05/1.739, allocations: 38.56 kB / 0.9927 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.74, allocations: 373.6 kB / 0.9931 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-05/1.74, allocations: 55.09 kB / 0.9931 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/1.741, allocations: 80.72 kB / 0.9932 GB, free: 32.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.614e-05/1.741, allocations: 78 kB / 0.9933 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.47e-05/1.741, allocations: 64.55 kB / 0.9933 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004814/1.745, allocations: 10.39 MB / 1.003 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.747, allocations: 0.6254 MB / 1.004 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/1.748, allocations: 93.31 kB / 1.004 GB, free: 21.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/1.751, allocations: 165 kB / 1.004 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/1.751, allocations: 252.2 kB / 1.005 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.751, allocations: 111.4 kB / 1.005 GB, free: 21.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006662/1.758, allocations: 4.035 MB / 1.009 GB, free: 18.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.62e-07/1.758, allocations: 0 / 1.009 GB, free: 18.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007405/1.765, allocations: 1.363 MB / 1.01 GB, free: 16.68 MB / 0.5261 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.0005438/1.766, allocations: 250.2 kB / 1.01 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006982/1.773, allocations: 5.215 MB / 1.015 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/1.773, allocations: 4 kB / 1.015 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.774, allocations: 1.114 MB / 1.016 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/1.778, allocations: 0.825 MB / 1.017 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04161/1.82, allocations: 19.15 MB / 1.036 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009716/1.829, allocations: 5.385 MB / 1.041 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007806/1.837, allocations: 2.565 MB / 1.044 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.838, allocations: 347 kB / 1.044 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/1.838, allocations: 0 / 1.044 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of Templates: time 0.08729/1.926, allocations: 41.59 MB / 1.085 GB, free: 14.78 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches