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.001057/0.001057, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 71.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1041, allocations: 62.44 MB / 481.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01494/0.1191, allocations: 15 MB / 496.4 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009097/0.1282, allocations: 5.034 MB / 0.4897 GB, free: 440 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.13, allocations: 119.7 kB / 0.4898 GB, free: 320 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00954/0.1395, allocations: 5.981 MB / 0.4957 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005805/0.1454, allocations: 2.738 MB / 0.4984 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.1483, allocations: 1.571 MB / 0.4999 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2119/0.3602, allocations: 7.77 MB / 0.5075 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009275/0.3695, allocations: 7.383 MB / 0.5147 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005583/0.3751, allocations: 2.972 MB / 0.5176 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006391/0.3816, allocations: 3.778 MB / 0.5213 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002615/0.3842, allocations: 0.57 MB / 0.5218 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004494/0.3887, allocations: 1.391 MB / 0.5232 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00536/0.3941, allocations: 3.457 MB / 0.5266 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007031/0.4012, allocations: 3.834 MB / 0.5303 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.4121, allocations: 11.59 MB / 0.5416 GB, free: 2.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4121, allocations: 4 kB / 0.5416 GB, free: 2.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4121, allocations: 4 kB / 0.5416 GB, free: 2.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004228/0.4126, allocations: 0 / 0.5416 GB, free: 2.746 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.01751/0.4301, allocations: 8.452 MB / 0.5499 GB, free: 12.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4301, allocations: 8.031 kB / 0.5499 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009883/0.44, allocations: 2.476 MB / 0.5523 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009805/0.4499, allocations: 4.518 MB / 0.5567 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000447/0.4504, allocations: 426.7 kB / 0.5571 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.4524, allocations: 0.5447 MB / 0.5577 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03026/0.4827, allocations: 16.67 MB / 0.574 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001931/0.4829, allocations: 79.91 kB / 0.574 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008952/0.4838, allocations: 265.1 kB / 0.5743 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00417/0.488, allocations: 2.921 MB / 0.5771 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/0.5138, allocations: 12.79 MB / 0.5896 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08158/0.5954, allocations: 63.97 MB / 0.6521 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/0.6106, allocations: 5.491 MB / 0.6575 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002982/0.6136, allocations: 2.114 MB / 0.6595 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01731/0.631, allocations: 9.93 MB / 0.6692 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/0.631, allocations: 55.53 kB / 0.6693 GB, free: 416 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 4.238e-06/0.6311, allocations: 0 / 0.6693 GB, free: 416 kB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04037/0.6714, allocations: 14.05 MB / 0.683 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.6716, allocations: 148.6 kB / 0.6831 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/0.6838, allocations: 6.292 MB / 0.6893 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004294/0.6843, allocations: 53.7 kB / 0.6893 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004543/0.6889, allocations: 5.079 MB / 0.6943 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.6899, allocations: 0.8131 MB / 0.6951 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003007/0.6929, allocations: 1.68 MB / 0.6967 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.693, allocations: 301.1 kB / 0.697 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/0.6967, allocations: 2.324 MB / 0.6993 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007442/0.7041, allocations: 7.681 MB / 0.7068 GB, free: 7.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2182/0.9224, allocations: 10.86 MB / 0.7174 GB, free: 174.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/0.9226, allocations: 54.5 kB / 0.7174 GB, free: 174.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01778/0.9404, allocations: 9.656 MB / 0.7269 GB, free: 172.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.9405, allocations: 89.75 kB / 0.727 GB, free: 172.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002736/0.9408, allocations: 193.9 kB / 0.7271 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.9412, allocations: 254 kB / 0.7274 GB, free: 172.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005966/0.9472, allocations: 1.922 MB / 0.7293 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003129/0.9475, allocations: 371.9 kB / 0.7296 GB, free: 172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005863/0.9534, allocations: 415.6 kB / 0.73 GB, free: 171.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009585/0.9543, allocations: 0.5117 MB / 0.7305 GB, free: 171.8 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.005325/0.9597, allocations: 3.295 MB / 0.7337 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007915/0.9605, allocations: 0.5252 MB / 0.7342 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.9615, allocations: 0.6227 MB / 0.7348 GB, free: 170.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/0.9616, allocations: 19.69 kB / 0.7349 GB, free: 170.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/0.9616, allocations: 2.438 kB / 0.7349 GB, free: 170.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.9616, allocations: 12.61 kB / 0.7349 GB, free: 170.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02056/0.9822, allocations: 16.44 MB / 0.7509 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/0.9823, allocations: 40.38 kB / 0.751 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.9834, allocations: 384 kB / 0.7513 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.179e-05/0.9834, allocations: 52.19 kB / 0.7514 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.9836, allocations: 88.7 kB / 0.7515 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.455e-05/0.9836, allocations: 74.59 kB / 0.7516 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.531e-05/0.9836, allocations: 62.78 kB / 0.7516 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.9868, allocations: 3.929 MB / 0.7554 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.9879, allocations: 0.6086 MB / 0.756 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/0.9884, allocations: 98.67 kB / 0.7561 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.99, allocations: 107.5 kB / 0.7562 GB, free: 160.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.9902, allocations: 259.8 kB / 0.7565 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.9904, allocations: 105.7 kB / 0.7566 GB, free: 160.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005441/0.9958, allocations: 3.932 MB / 0.7604 GB, free: 159.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9958, allocations: 0 / 0.7604 GB, free: 159.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006426/1.002, allocations: 1.311 MB / 0.7617 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.0004707/1.003, allocations: 253.9 kB / 0.7619 GB, free: 158 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006862/1.01, allocations: 5.425 MB / 0.7672 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-05/1.01, allocations: 8.938 kB / 0.7673 GB, free: 153.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/1.011, allocations: 1.128 MB / 0.7684 GB, free: 152.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/1.015, allocations: 0.8656 MB / 0.7692 GB, free: 151.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/1.036, allocations: 14.75 MB / 0.7836 GB, free: 137.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004517/1.04, allocations: 5.059 MB / 0.7885 GB, free: 132.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00493/1.045, allocations: 2.518 MB / 0.791 GB, free: 129.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008029/1.046, allocations: 355.4 kB / 0.7913 GB, free: 129.4 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/1.046, allocations: 0 / 0.7913 GB, free: 129.4 MB / 0.545 GB Notification: Performance of Templates: time 0.06583/1.112, allocations: 35.74 MB / 0.8262 GB, free: 94.06 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches