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.001486/0.001486, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 76.88 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1398, allocations: 62.46 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01764/0.1575, allocations: 14.99 MB / 495.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.1702, allocations: 5.049 MB / 0.4884 GB, free: 1.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003758/0.174, allocations: 119.6 kB / 0.4885 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.1856, allocations: 5.974 MB / 0.4944 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008629/0.1944, allocations: 2.735 MB / 0.497 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004025/0.1984, allocations: 1.575 MB / 0.4986 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2971/0.4955, allocations: 7.77 MB / 0.5062 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01298/0.5085, allocations: 7.404 MB / 0.5134 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008483/0.5171, allocations: 2.961 MB / 0.5163 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008432/0.5255, allocations: 3.778 MB / 0.52 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003284/0.5289, allocations: 0.5687 MB / 0.5205 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005281/0.5342, allocations: 1.391 MB / 0.5219 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005792/0.54, allocations: 3.462 MB / 0.5253 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006105/0.5461, allocations: 3.836 MB / 0.529 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.559, allocations: 11.22 MB / 0.54 GB, free: 2.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.5591, allocations: 3.938 kB / 0.54 GB, free: 2.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5591, allocations: 3.312 kB / 0.54 GB, free: 2.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005109/0.5596, allocations: 2.625 kB / 0.54 GB, free: 2.543 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02611/0.5857, allocations: 8.452 MB / 0.5483 GB, free: 12.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.5858, allocations: 10.47 kB / 0.5483 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.5973, allocations: 2.473 MB / 0.5507 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.6077, allocations: 4.403 MB / 0.555 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/0.6082, allocations: 423.2 kB / 0.5554 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/0.6104, allocations: 0.5459 MB / 0.5559 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04029/0.6507, allocations: 16.68 MB / 0.5722 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003707/0.6512, allocations: 69.75 kB / 0.5723 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002394/0.6536, allocations: 269 kB / 0.5725 GB, free: 3.375 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00524/0.6588, allocations: 2.927 MB / 0.5754 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03074/0.6896, allocations: 12.78 MB / 0.5879 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1017/0.7913, allocations: 64.29 MB / 0.6506 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/0.8079, allocations: 5.496 MB / 0.656 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003487/0.8114, allocations: 2.117 MB / 0.6581 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01812/0.8296, allocations: 9.934 MB / 0.6678 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.8296, allocations: 55.53 kB / 0.6678 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.188e-06/0.8297, allocations: 0 / 0.6678 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04278/0.8724, allocations: 14.05 MB / 0.6816 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.8726, allocations: 150.7 kB / 0.6817 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/0.8827, allocations: 6.288 MB / 0.6878 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003389/0.8831, allocations: 57.7 kB / 0.6879 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004438/0.8875, allocations: 5.08 MB / 0.6929 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.8885, allocations: 0.8208 MB / 0.6937 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002303/0.8908, allocations: 1.671 MB / 0.6953 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.891, allocations: 301.1 kB / 0.6956 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004014/0.895, allocations: 2.325 MB / 0.6978 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009198/0.9042, allocations: 7.677 MB / 0.7053 GB, free: 7.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2441/1.148, allocations: 10.87 MB / 0.716 GB, free: 175.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003369/1.149, allocations: 54.22 kB / 0.716 GB, free: 175.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.0225/1.171, allocations: 9.645 MB / 0.7254 GB, free: 172.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002242/1.172, allocations: 92.62 kB / 0.7255 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005423/1.172, allocations: 188.8 kB / 0.7257 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/1.173, allocations: 254.4 kB / 0.7259 GB, free: 172.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007657/1.18, allocations: 1.926 MB / 0.7278 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000623/1.181, allocations: 374.7 kB / 0.7282 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006533/1.188, allocations: 414.9 kB / 0.7286 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/1.189, allocations: 0.5142 MB / 0.7291 GB, free: 172.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.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 (1043): * Single equations (assignments): 1032 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008076/1.197, allocations: 3.284 MB / 0.7323 GB, free: 170.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.198, allocations: 0.528 MB / 0.7328 GB, free: 170.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/1.2, allocations: 0.627 MB / 0.7334 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/1.2, allocations: 22.48 kB / 0.7334 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.2, allocations: 1.375 kB / 0.7334 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/1.2, allocations: 11.3 kB / 0.7334 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/1.222, allocations: 16.45 MB / 0.7495 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/1.222, allocations: 36.31 kB / 0.7495 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/1.223, allocations: 382.5 kB / 0.7499 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.698e-05/1.223, allocations: 58.75 kB / 0.75 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/1.223, allocations: 84.22 kB / 0.75 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.435e-05/1.224, allocations: 74.61 kB / 0.7501 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-05/1.224, allocations: 62.56 kB / 0.7502 GB, free: 163.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/1.227, allocations: 3.943 MB / 0.754 GB, free: 161.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.228, allocations: 0.6072 MB / 0.7546 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005297/1.229, allocations: 94.03 kB / 0.7547 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.23, allocations: 94.59 kB / 0.7548 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/1.231, allocations: 267.3 kB / 0.7551 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.231, allocations: 109.8 kB / 0.7552 GB, free: 160.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006535/1.237, allocations: 3.931 MB / 0.759 GB, free: 159.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/1.237, allocations: 0 / 0.759 GB, free: 159.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009613/1.247, allocations: 1.317 MB / 0.7603 GB, free: 158.2 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/1.248, allocations: 249.4 kB / 0.7605 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009364/1.257, allocations: 5.497 MB / 0.7659 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-05/1.258, allocations: 8 kB / 0.7659 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/1.259, allocations: 1.128 MB / 0.767 GB, free: 152.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005851/1.265, allocations: 0.863 MB / 0.7678 GB, free: 151.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/1.287, allocations: 14.94 MB / 0.7824 GB, free: 137.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004878/1.292, allocations: 5.06 MB / 0.7874 GB, free: 132.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005526/1.297, allocations: 2.51 MB / 0.7898 GB, free: 129.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007272/1.298, allocations: 354 kB / 0.7902 GB, free: 129.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/1.298, allocations: 0 / 0.7902 GB, free: 129.4 MB / 0.545 GB Notification: Performance of Templates: time 0.08085/1.379, allocations: 43.19 MB / 0.8323 GB, free: 86.45 MB / 0.545 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches