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.001135/0.001135, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.4 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 68.7 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.118, allocations: 62.45 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3137/0.4317, allocations: 84.39 MB / 0.5507 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03755/0.4693, allocations: 16.15 MB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01639/0.4857, allocations: 381.7 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01109/0.4968, allocations: 5.786 MB / 0.5725 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009037/0.506, allocations: 2.558 MB / 0.575 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.5098, allocations: 1.502 MB / 0.5764 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01165/0.5215, allocations: 7.808 MB / 0.584 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.5322, allocations: 7.773 MB / 0.5916 GB, free: 4.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/0.5378, allocations: 3.046 MB / 0.5946 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006177/0.544, allocations: 4.211 MB / 0.5987 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001904/0.5459, allocations: 0.5703 MB / 0.5993 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.5494, allocations: 1.408 MB / 0.6007 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005415/0.5549, allocations: 3.507 MB / 0.6041 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008274/0.5632, allocations: 3.864 MB / 0.6078 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01685/0.5801, allocations: 11.3 MB / 0.6189 GB, free: 8.402 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.5801, allocations: 7.984 kB / 0.6189 GB, free: 8.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5801, allocations: 0 / 0.6189 GB, free: 8.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005782/0.5807, allocations: 0 / 0.6189 GB, free: 8.395 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.02101/0.6018, allocations: 8.44 MB / 0.6271 GB, free: 15.87 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.6018, allocations: 12.03 kB / 0.6271 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.612, allocations: 2.475 MB / 0.6296 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008827/0.6209, allocations: 4.399 MB / 0.6339 GB, free: 8.895 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000376/0.6213, allocations: 423 kB / 0.6343 GB, free: 8.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001719/0.623, allocations: 0.5464 MB / 0.6348 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03111/0.6541, allocations: 16.68 MB / 0.6511 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002012/0.6544, allocations: 71.3 kB / 0.6512 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007975/0.6552, allocations: 267.8 kB / 0.6514 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004111/0.6593, allocations: 2.927 MB / 0.6543 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02852/0.6878, allocations: 12.78 MB / 0.6668 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5285/1.216, allocations: 64.29 MB / 0.7295 GB, free: 154.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/1.233, allocations: 5.488 MB / 0.7349 GB, free: 153.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/1.236, allocations: 2.125 MB / 0.737 GB, free: 153.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/1.251, allocations: 9.936 MB / 0.7467 GB, free: 149 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/1.251, allocations: 51.34 kB / 0.7467 GB, free: 148.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=182): time 4.809e-06/1.251, allocations: 0 / 0.7467 GB, free: 148.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=206): time 0.03571/1.286, allocations: 14.03 MB / 0.7604 GB, free: 143.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/1.287, allocations: 154.9 kB / 0.7606 GB, free: 143 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007051/1.294, allocations: 6.305 MB / 0.7667 GB, free: 140.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/1.294, allocations: 61.28 kB / 0.7668 GB, free: 140.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002724/1.297, allocations: 5.068 MB / 0.7717 GB, free: 135.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009445/1.298, allocations: 0.8179 MB / 0.7725 GB, free: 135 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/1.299, allocations: 1.681 MB / 0.7742 GB, free: 134.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/1.299, allocations: 301.1 kB / 0.7745 GB, free: 133.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/1.302, allocations: 2.329 MB / 0.7767 GB, free: 132.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005258/1.308, allocations: 7.678 MB / 0.7842 GB, free: 123.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008297/1.316, allocations: 10.87 MB / 0.7949 GB, free: 109.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.466e-05/1.316, allocations: 52 kB / 0.7949 GB, free: 109.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01239/1.328, allocations: 9.648 MB / 0.8043 GB, free: 100.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.047e-05/1.329, allocations: 88 kB / 0.8044 GB, free: 100.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/1.329, allocations: 188 kB / 0.8046 GB, free: 99.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001513/1.329, allocations: 252 kB / 0.8048 GB, free: 99.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005097/1.334, allocations: 1.938 MB / 0.8067 GB, free: 97.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003467/1.334, allocations: 376.5 kB / 0.8071 GB, free: 97.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.34, allocations: 403.5 kB / 0.8075 GB, free: 97.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006485/1.34, allocations: 0.5153 MB / 0.808 GB, free: 96.51 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.004318/1.345, allocations: 3.288 MB / 0.8112 GB, free: 93.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.346, allocations: 0.5283 MB / 0.8117 GB, free: 92.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.347, allocations: 0.624 MB / 0.8123 GB, free: 92.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/1.347, allocations: 23.94 kB / 0.8123 GB, free: 92.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.439e-05/1.347, allocations: 4 kB / 0.8123 GB, free: 92.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/1.347, allocations: 11.97 kB / 0.8123 GB, free: 92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02406/1.371, allocations: 16.44 MB / 0.8284 GB, free: 75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-05/1.371, allocations: 43.98 kB / 0.8284 GB, free: 74.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.372, allocations: 379.3 kB / 0.8288 GB, free: 74.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.532e-05/1.373, allocations: 52 kB / 0.8289 GB, free: 74.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/1.373, allocations: 88.58 kB / 0.8289 GB, free: 74.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.393e-05/1.373, allocations: 71.72 kB / 0.829 GB, free: 74.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.813e-05/1.373, allocations: 63.75 kB / 0.8291 GB, free: 74.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003883/1.377, allocations: 3.945 MB / 0.8329 GB, free: 69.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.378, allocations: 0.5995 MB / 0.8335 GB, free: 69.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005233/1.378, allocations: 89.05 kB / 0.8336 GB, free: 69.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/1.38, allocations: 111.4 kB / 0.8337 GB, free: 69.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/1.38, allocations: 254.8 kB / 0.8339 GB, free: 68.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/1.38, allocations: 108.5 kB / 0.834 GB, free: 68.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005176/1.386, allocations: 3.935 MB / 0.8379 GB, free: 64.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.01e-07/1.386, allocations: 3.938 kB / 0.8379 GB, free: 64.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007185/1.393, allocations: 1.315 MB / 0.8392 GB, free: 63.41 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.0005527/1.393, allocations: 252.9 kB / 0.8394 GB, free: 63.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007377/1.401, allocations: 5.5 MB / 0.8448 GB, free: 57.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.689e-05/1.401, allocations: 8 kB / 0.8448 GB, free: 57.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/1.402, allocations: 1.133 MB / 0.8459 GB, free: 56.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005491/1.408, allocations: 0.8461 MB / 0.8467 GB, free: 55.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/1.433, allocations: 18.33 MB / 0.8646 GB, free: 36.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006024/1.439, allocations: 5.06 MB / 0.8696 GB, free: 31.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006261/1.446, allocations: 2.522 MB / 0.872 GB, free: 29.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008549/1.447, allocations: 351.4 kB / 0.8724 GB, free: 28.91 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/1.447, allocations: 0 / 0.8724 GB, free: 28.91 MB / 0.545 GB Notification: Performance of Templates: time 0.08427/1.531, allocations: 43.11 MB / 0.9145 GB, free: 2.062 MB / 0.5607 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