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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00149/0.001495, allocations: 96.14 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004447, allocations: 12 kB / 417.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1522, allocations: 63.47 MB / 481.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3866/0.5388, allocations: 85.24 MB / 0.5533 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05527/0.5941, allocations: 19.02 MB / 0.5719 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02573/0.6199, allocations: 438.9 kB / 0.5723 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02084/0.6408, allocations: 4.355 MB / 0.5766 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05481/0.6956, allocations: 12.27 MB / 0.5886 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00767/0.7033, allocations: 1.233 MB / 0.5898 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.7135, allocations: 4.463 MB / 0.5941 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0139/0.7274, allocations: 8.954 MB / 0.6029 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005117/0.7326, allocations: 1.963 MB / 0.6048 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004408/0.7371, allocations: 2.407 MB / 0.6072 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0015/0.7386, allocations: 256 kB / 0.6074 GB, free: 6.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.7417, allocations: 0.9246 MB / 0.6083 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004101/0.7458, allocations: 2.907 MB / 0.6111 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002473/0.7483, allocations: 1.438 MB / 0.6125 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.7614, allocations: 9.293 MB / 0.6216 GB, free: 7.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7615, allocations: 0 / 0.6216 GB, free: 7.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.7615, allocations: 0 / 0.6216 GB, free: 7.641 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006475/0.7622, allocations: 0 / 0.6216 GB, free: 7.641 MB / 462.1 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.01868/0.7808, allocations: 7.503 MB / 0.6289 GB, free: 52 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.7809, allocations: 8.031 kB / 0.629 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.7932, allocations: 3.004 MB / 0.6319 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.8048, allocations: 4.897 MB / 0.6367 GB, free: 8.051 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004595/0.8053, allocations: 438.9 kB / 0.6371 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/0.8077, allocations: 0.5504 MB / 0.6376 GB, free: 7.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03654/0.8442, allocations: 17.59 MB / 0.6548 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000221/0.8445, allocations: 75.31 kB / 0.6549 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009752/0.8455, allocations: 267.8 kB / 0.6551 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004794/0.8503, allocations: 3.17 MB / 0.6582 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03795/0.8882, allocations: 13.57 MB / 0.6715 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.395/1.283, allocations: 66.2 MB / 0.7361 GB, free: 134.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/1.299, allocations: 5.516 MB / 0.7415 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01952/1.319, allocations: 10.13 MB / 0.7514 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/1.319, allocations: 53.83 kB / 0.7515 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.5e-06/1.319, allocations: 0 / 0.7515 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03875/1.358, allocations: 14.66 MB / 0.7658 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.54e-05/1.358, allocations: 151.3 kB / 0.7659 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.369, allocations: 6.817 MB / 0.7726 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000396/1.369, allocations: 59.22 kB / 0.7726 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003642/1.373, allocations: 5.243 MB / 0.7778 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/1.374, allocations: 0.8252 MB / 0.7786 GB, free: 111.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005279/1.374, allocations: 161.6 kB / 0.7787 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004178/1.375, allocations: 0.6655 MB / 0.7794 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003356/1.378, allocations: 2.281 MB / 0.7816 GB, free: 110.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005651/1.384, allocations: 7.667 MB / 0.7891 GB, free: 100.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006993/1.391, allocations: 4.033 MB / 0.793 GB, free: 96.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001611/1.391, allocations: 56 kB / 0.7931 GB, free: 96.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01835/1.41, allocations: 9.592 MB / 0.8024 GB, free: 86.92 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.41, allocations: 88 kB / 0.8025 GB, free: 86.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000236/1.41, allocations: 192 kB / 0.8027 GB, free: 86.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/1.41, allocations: 280 kB / 0.803 GB, free: 86.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006068/1.416, allocations: 1.919 MB / 0.8048 GB, free: 84.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002054/1.417, allocations: 382.5 kB / 0.8052 GB, free: 84.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/1.423, allocations: 417.8 kB / 0.8056 GB, free: 83.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.425, allocations: 0.5131 MB / 0.8061 GB, free: 83.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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.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.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.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.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 (1039): * Single equations (assignments): 1028 * Array equations: 11 * 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.006169/1.431, allocations: 3.411 MB / 0.8094 GB, free: 79.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/1.432, allocations: 0.5359 MB / 0.81 GB, free: 79.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/1.433, allocations: 0.6329 MB / 0.8106 GB, free: 78.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/1.433, allocations: 20.62 kB / 0.8106 GB, free: 78.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.411e-05/1.433, allocations: 4 kB / 0.8106 GB, free: 78.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/1.434, allocations: 11.97 kB / 0.8106 GB, free: 78.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02592/1.459, allocations: 16.74 MB / 0.827 GB, free: 61.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/1.46, allocations: 40.25 kB / 0.827 GB, free: 61.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.461, allocations: 388.1 kB / 0.8274 GB, free: 60.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.743e-05/1.461, allocations: 56 kB / 0.8274 GB, free: 60.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.461, allocations: 80.94 kB / 0.8275 GB, free: 60.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.268e-05/1.461, allocations: 71.72 kB / 0.8276 GB, free: 60.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-05/1.461, allocations: 59.75 kB / 0.8276 GB, free: 60.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006251/1.467, allocations: 10.55 MB / 0.8379 GB, free: 48.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/1.469, allocations: 0.6422 MB / 0.8386 GB, free: 47.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00071/1.47, allocations: 91.72 kB / 0.8386 GB, free: 47.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.472, allocations: 104.9 kB / 0.8387 GB, free: 47.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/1.472, allocations: 258.9 kB / 0.839 GB, free: 47.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.472, allocations: 117 kB / 0.8391 GB, free: 47.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005518/1.478, allocations: 4.313 MB / 0.8433 GB, free: 42.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.322e-06/1.478, allocations: 0 / 0.8433 GB, free: 42.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007127/1.485, allocations: 1.381 MB / 0.8447 GB, free: 41.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.0005639/1.485, allocations: 256.5 kB / 0.8449 GB, free: 41.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007621/1.493, allocations: 5.285 MB / 0.8501 GB, free: 35.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.962e-05/1.493, allocations: 4 kB / 0.8501 GB, free: 35.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/1.494, allocations: 1.131 MB / 0.8512 GB, free: 34.72 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004787/1.499, allocations: 0.8147 MB / 0.852 GB, free: 33.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03496/1.534, allocations: 18.07 MB / 0.8696 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008831/1.543, allocations: 5.394 MB / 0.8749 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006218/1.549, allocations: 2.552 MB / 0.8774 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007937/1.55, allocations: 355.4 kB / 0.8777 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of SimCode: time 1.443e-06/1.55, allocations: 0 / 0.8777 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of Templates: time 0.3424/1.893, allocations: 42.25 MB / 0.919 GB, free: 195.3 MB / 0.5606 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