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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 111.5 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3461/0.3461, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 51.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3452, allocations: 60.81 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.08268/0.428, allocations: 99.37 MB / 0.6034 GB, free: 11.39 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04774/0.4758, allocations: 18.92 MB / 0.6219 GB, free: 9.484 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02439/0.5002, allocations: 446.9 kB / 0.6223 GB, free: 9.047 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01106/0.5113, allocations: 6.044 MB / 0.6282 GB, free: 2.988 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007892/0.5193, allocations: 2.71 MB / 0.6309 GB, free: 276 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004022/0.5234, allocations: 1.49 MB / 0.6323 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01595/0.5393, allocations: 11.27 MB / 0.6433 GB, free: 3.488 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.5529, allocations: 7.457 MB / 0.6506 GB, free: 11.95 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006134/0.5591, allocations: 2.784 MB / 0.6533 GB, free: 9.152 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006514/0.5656, allocations: 4.171 MB / 0.6574 GB, free: 4.969 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002311/0.568, allocations: 460 kB / 0.6579 GB, free: 4.52 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.572, allocations: 1.369 MB / 0.6592 GB, free: 3.148 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005648/0.5777, allocations: 3.522 MB / 0.6626 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009349/0.587, allocations: 3.871 MB / 0.6664 GB, free: 11.72 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01731/0.6044, allocations: 11.58 MB / 0.6777 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.6044, allocations: 7.984 kB / 0.6777 GB, free: 104 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6045, allocations: 0 / 0.6777 GB, free: 104 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005714/0.605, allocations: 0 / 0.6777 GB, free: 104 kB / 490.7 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.3961/1.001, allocations: 8.732 MB / 0.6863 GB, free: 134.9 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/1.001, allocations: 8.719 kB / 0.6863 GB, free: 134.9 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/1.011, allocations: 2.582 MB / 0.6888 GB, free: 134.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009057/1.02, allocations: 4.597 MB / 0.6933 GB, free: 132.2 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/1.021, allocations: 438.5 kB / 0.6937 GB, free: 132 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/1.022, allocations: 0.5528 MB / 0.6942 GB, free: 131.9 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02691/1.049, allocations: 17.44 MB / 0.7113 GB, free: 124 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001926/1.049, allocations: 76.5 kB / 0.7113 GB, free: 124 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007104/1.05, allocations: 267.6 kB / 0.7116 GB, free: 123.8 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005687/1.056, allocations: 3.168 MB / 0.7147 GB, free: 123.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02994/1.086, allocations: 13.42 MB / 0.7278 GB, free: 114.7 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07677/1.162, allocations: 66.11 MB / 0.7924 GB, free: 46.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01362/1.176, allocations: 5.5 MB / 0.7977 GB, free: 41.17 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/1.179, allocations: 2.111 MB / 0.7998 GB, free: 39.05 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0146/1.193, allocations: 10.01 MB / 0.8096 GB, free: 28.54 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/1.193, allocations: 55.8 kB / 0.8096 GB, free: 28.47 MB / 490.8 MB Notification: Performance of pre-optimization done (n=182): time 5.029e-06/1.193, allocations: 4 kB / 0.8096 GB, free: 28.47 MB / 490.8 MB Notification: Performance of matching and sorting (n=206): time 0.03464/1.228, allocations: 14.26 MB / 0.8235 GB, free: 14.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/1.228, allocations: 145.8 kB / 0.8237 GB, free: 14.02 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007447/1.236, allocations: 6.39 MB / 0.8299 GB, free: 7.637 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003549/1.236, allocations: 53.69 kB / 0.83 GB, free: 7.578 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002258/1.238, allocations: 5.238 MB / 0.8351 GB, free: 2.27 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006703/1.239, allocations: 0.8219 MB / 0.8359 GB, free: 1.438 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001835/1.241, allocations: 1.694 MB / 0.8375 GB, free: 15.73 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.241, allocations: 305.1 kB / 0.8378 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003587/1.245, allocations: 2.347 MB / 0.8401 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007122/1.252, allocations: 7.771 MB / 0.8477 GB, free: 2.59 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/1.265, allocations: 11 MB / 0.8585 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000204/1.265, allocations: 52 kB / 0.8585 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01843/1.284, allocations: 9.74 MB / 0.868 GB, free: 11.08 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001956/1.284, allocations: 88 kB / 0.8681 GB, free: 11 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003236/1.284, allocations: 192 kB / 0.8683 GB, free: 10.81 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002325/1.284, allocations: 256.8 kB / 0.8685 GB, free: 10.56 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006033/1.29, allocations: 1.949 MB / 0.8704 GB, free: 8.605 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002808/1.291, allocations: 378.5 kB / 0.8708 GB, free: 8.234 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005954/1.297, allocations: 419.5 kB / 0.8712 GB, free: 7.824 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/1.298, allocations: 0.5156 MB / 0.8717 GB, free: 7.309 MB / 0.5262 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.005831/1.304, allocations: 3.409 MB / 0.875 GB, free: 3.883 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.305, allocations: 0.5282 MB / 0.8755 GB, free: 3.348 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/1.306, allocations: 0.6326 MB / 0.8762 GB, free: 2.711 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.52e-05/1.307, allocations: 24.19 kB / 0.8762 GB, free: 2.688 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/1.307, allocations: 7.938 kB / 0.8762 GB, free: 2.68 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/1.307, allocations: 15.91 kB / 0.8762 GB, free: 2.664 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2897/1.596, allocations: 16.72 MB / 0.8925 GB, free: 154.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.229e-05/1.596, allocations: 39.22 kB / 0.8926 GB, free: 154.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.598, allocations: 382.4 kB / 0.8929 GB, free: 154.3 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.718e-05/1.598, allocations: 52.03 kB / 0.893 GB, free: 154.3 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/1.598, allocations: 81.73 kB / 0.8931 GB, free: 154.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.718e-05/1.598, allocations: 75.61 kB / 0.8931 GB, free: 154.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.483e-05/1.598, allocations: 61.94 kB / 0.8932 GB, free: 154.3 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005756/1.604, allocations: 6.491 MB / 0.8995 GB, free: 150.5 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.605, allocations: 0.6152 MB / 0.9001 GB, free: 150.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004804/1.605, allocations: 87.17 kB / 0.9002 GB, free: 150.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.607, allocations: 100.9 kB / 0.9003 GB, free: 150.4 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/1.607, allocations: 257.5 kB / 0.9006 GB, free: 150.3 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.608, allocations: 114 kB / 0.9007 GB, free: 150.3 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.005773/1.613, allocations: 3.979 MB / 0.9046 GB, free: 149 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8.21e-07/1.613, allocations: 1.406 kB / 0.9046 GB, free: 149 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.007428/1.621, allocations: 1.365 MB / 0.9059 GB, free: 148.9 MB / 0.5262 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.0005953/1.621, allocations: 259.6 kB / 0.9061 GB, free: 148.7 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.008538/1.63, allocations: 5.372 MB / 0.9114 GB, free: 147 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.129e-05/1.63, allocations: 5.062 kB / 0.9114 GB, free: 147 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/1.632, allocations: 1.14 MB / 0.9125 GB, free: 146.6 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008633/1.64, allocations: 0.8539 MB / 0.9133 GB, free: 146.3 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/1.671, allocations: 20.16 MB / 0.933 GB, free: 134.5 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009387/1.68, allocations: 5.31 MB / 0.9382 GB, free: 132.7 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.006987/1.687, allocations: 2.546 MB / 0.9407 GB, free: 132.1 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/1.689, allocations: 350.9 kB / 0.941 GB, free: 131.7 MB / 0.5262 GB Notification: Performance of SimCode: time 2.144e-06/1.689, allocations: 0 / 0.941 GB, free: 131.7 MB / 0.5262 GB Notification: Performance of Templates: time 0.08138/1.771, allocations: 44.1 MB / 0.9841 GB, free: 90.74 MB / 0.5262 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches