Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 109.5 kB / 17.78 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 188 kB / 18.71 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2046/0.2046, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4097, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01639/0.4262, allocations: 15.4 MB / 0.5339 GB, free: 8.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.4399, allocations: 5.11 MB / 0.5389 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005184/0.4451, allocations: 121.1 kB / 0.539 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01321/0.4583, allocations: 6.022 MB / 0.5449 GB, free: 392 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.4702, allocations: 2.853 MB / 0.5477 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00494/0.4752, allocations: 1.577 MB / 0.5492 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01304/0.4883, allocations: 7.741 MB / 0.5568 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.4985, allocations: 7.46 MB / 0.5641 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006427/0.505, allocations: 3.003 MB / 0.567 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007063/0.5121, allocations: 3.883 MB / 0.5708 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002709/0.5149, allocations: 0.5859 MB / 0.5714 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004958/0.5198, allocations: 1.428 MB / 0.5728 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005292/0.5251, allocations: 3.667 MB / 0.5764 GB, free: 1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007552/0.5327, allocations: 3.985 MB / 0.5803 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.5493, allocations: 12.1 MB / 0.5921 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.5494, allocations: 0 / 0.5921 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5494, allocations: 0 / 0.5921 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004512/0.5498, allocations: 0 / 0.5921 GB, free: 0.8516 MB / 446.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.02286/0.5727, allocations: 8.742 MB / 0.6006 GB, free: 8.016 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.5728, allocations: 12.03 kB / 0.6006 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.5835, allocations: 2.58 MB / 0.6031 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/0.5938, allocations: 4.7 MB / 0.6077 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/0.5943, allocations: 450.7 kB / 0.6082 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001888/0.5962, allocations: 0.5504 MB / 0.6087 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03633/0.6325, allocations: 17.43 MB / 0.6257 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003669/0.6329, allocations: 75.33 kB / 0.6258 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/0.635, allocations: 267.8 kB / 0.626 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004859/0.6399, allocations: 3.178 MB / 0.6292 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03284/0.6727, allocations: 13.41 MB / 0.6422 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09941/0.7722, allocations: 65.75 MB / 0.7065 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01714/0.7894, allocations: 5.507 MB / 0.7118 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004057/0.7935, allocations: 2.122 MB / 0.7139 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5821/1.376, allocations: 9.99 MB / 0.7237 GB, free: 162.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/1.376, allocations: 54.5 kB / 0.7237 GB, free: 162.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.861e-06/1.376, allocations: 0 / 0.7237 GB, free: 162.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.03776/1.413, allocations: 14.27 MB / 0.7376 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/1.414, allocations: 154.5 kB / 0.7378 GB, free: 157 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.424, allocations: 6.381 MB / 0.744 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005049/1.424, allocations: 60.41 kB / 0.7441 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003623/1.428, allocations: 5.238 MB / 0.7492 GB, free: 150.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009619/1.429, allocations: 0.8205 MB / 0.75 GB, free: 150 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/1.431, allocations: 1.7 MB / 0.7517 GB, free: 149 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/1.431, allocations: 301.1 kB / 0.7519 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/1.434, allocations: 2.347 MB / 0.7542 GB, free: 147.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00519/1.439, allocations: 7.763 MB / 0.7618 GB, free: 138 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/1.449, allocations: 10.99 MB / 0.7726 GB, free: 124.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001962/1.45, allocations: 56 kB / 0.7726 GB, free: 124.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01792/1.467, allocations: 9.748 MB / 0.7821 GB, free: 114.5 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-05/1.468, allocations: 88 kB / 0.7822 GB, free: 114.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/1.468, allocations: 200 kB / 0.7824 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/1.468, allocations: 252.7 kB / 0.7826 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005315/1.473, allocations: 1.942 MB / 0.7845 GB, free: 112 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001859/1.473, allocations: 386.5 kB / 0.7849 GB, free: 111.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007986/1.481, allocations: 415.3 kB / 0.7853 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/1.483, allocations: 0.5195 MB / 0.7858 GB, free: 110.7 MB / 0.5607 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 (1055): * Single equations (assignments): 1044 * 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.005556/1.488, allocations: 3.408 MB / 0.7891 GB, free: 107.3 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.49, allocations: 0.5321 MB / 0.7897 GB, free: 106.7 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/1.491, allocations: 0.6248 MB / 0.7903 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.082e-05/1.491, allocations: 20 kB / 0.7903 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.564e-05/1.491, allocations: 8.5 kB / 0.7903 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.853e-05/1.491, allocations: 15.91 kB / 0.7903 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02805/1.519, allocations: 16.72 MB / 0.8066 GB, free: 88.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.179e-05/1.52, allocations: 40.88 kB / 0.8067 GB, free: 88.75 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/1.521, allocations: 383.2 kB / 0.807 GB, free: 88.38 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.812e-05/1.521, allocations: 52 kB / 0.8071 GB, free: 88.33 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/1.521, allocations: 84 kB / 0.8072 GB, free: 88.25 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.739e-05/1.521, allocations: 75.72 kB / 0.8072 GB, free: 88.17 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.53e-05/1.521, allocations: 63.25 kB / 0.8073 GB, free: 88.11 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/1.525, allocations: 3.956 MB / 0.8112 GB, free: 83.61 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/1.528, allocations: 0.6111 MB / 0.8118 GB, free: 82.97 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/1.529, allocations: 91.97 kB / 0.8119 GB, free: 82.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/1.532, allocations: 95.94 kB / 0.8119 GB, free: 82.79 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/1.532, allocations: 254.8 kB / 0.8122 GB, free: 82.54 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.532, allocations: 119.3 kB / 0.8123 GB, free: 82.43 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005745/1.538, allocations: 3.984 MB / 0.8162 GB, free: 78.45 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.3e-07/1.538, allocations: 0 / 0.8162 GB, free: 78.45 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008624/1.547, allocations: 1.368 MB / 0.8175 GB, free: 77.09 MB / 0.5607 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.0006621/1.547, allocations: 252.3 kB / 0.8178 GB, free: 76.84 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007696/1.555, allocations: 5.479 MB / 0.8231 GB, free: 71.43 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.465e-05/1.555, allocations: 8 kB / 0.8231 GB, free: 71.42 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.557, allocations: 1.133 MB / 0.8242 GB, free: 70.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006274/1.563, allocations: 0.8865 MB / 0.8251 GB, free: 69.42 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02368/1.587, allocations: 15.19 MB / 0.8399 GB, free: 53.67 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005584/1.592, allocations: 5.23 MB / 0.845 GB, free: 48.41 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005105/1.597, allocations: 2.542 MB / 0.8475 GB, free: 45.86 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007945/1.598, allocations: 351.4 kB / 0.8479 GB, free: 45.52 MB / 0.5607 GB Notification: Performance of SimCode: time 1.122e-06/1.598, allocations: 0 / 0.8479 GB, free: 45.52 MB / 0.5607 GB Notification: Performance of Templates: time 0.07703/1.675, allocations: 39 MB / 0.8859 GB, free: 6.895 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches