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.001148/0.001148, allocations: 176.4 kB / 17.06 MB, free: 5.098 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.254/1.254, allocations: 223.2 MB / 241 MB, free: 11.88 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.000855/0.000855, allocations: 94.7 kB / 292.2 MB, free: 10.91 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.3427/0.3427, allocations: 44.21 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 11.98 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3038, allocations: 61.9 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4252, allocations: 106 MB / 0.6131 GB, free: 5.102 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4254, allocations: 91.94 kB / 0.6131 GB, free: 5.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5779/1.003, allocations: 151.2 MB / 0.7608 GB, free: 80.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.003, allocations: 0 / 0.7608 GB, free: 80.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000262/1.004, allocations: 150.2 kB / 0.761 GB, free: 80.67 MB / 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.01845/1.022, allocations: 7.886 MB / 0.7687 GB, free: 75.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.022, allocations: 10.09 kB / 0.7687 GB, free: 75.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/1.039, allocations: 3.523 MB / 0.7721 GB, free: 72.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02108/1.06, allocations: 8.818 MB / 0.7807 GB, free: 64.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005924/1.061, allocations: 0.5577 MB / 0.7813 GB, free: 63.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003588/1.064, allocations: 0.738 MB / 0.782 GB, free: 62.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03881/1.103, allocations: 17.77 MB / 0.7993 GB, free: 43.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004105/1.104, allocations: 95.11 kB / 0.7994 GB, free: 43.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002996/1.107, allocations: 355.8 kB / 0.7998 GB, free: 43.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002113/1.109, allocations: 1.625 MB / 0.8014 GB, free: 41.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02885/1.138, allocations: 13.84 MB / 0.8149 GB, free: 27.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4298/1.568, allocations: 74.57 MB / 0.8877 GB, free: 55.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01509/1.583, allocations: 5.478 MB / 0.8931 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.017/1.6, allocations: 9.976 MB / 0.9028 GB, free: 51.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/1.6, allocations: 55.41 kB / 0.9028 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 5.681e-06/1.6, allocations: 0 / 0.9028 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.04037/1.64, allocations: 14.55 MB / 0.9171 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.64, allocations: 149.2 kB / 0.9172 GB, free: 46.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01434/1.655, allocations: 5.693 MB / 0.9228 GB, free: 46.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004316/1.655, allocations: 54.67 kB / 0.9228 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005297/1.661, allocations: 5.302 MB / 0.928 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001147/1.662, allocations: 0.8265 MB / 0.9288 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006001/1.662, allocations: 160.1 kB / 0.9289 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004677/1.663, allocations: 0.6475 MB / 0.9296 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004254/1.667, allocations: 2.269 MB / 0.9318 GB, free: 42.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006466/1.674, allocations: 7.586 MB / 0.9392 GB, free: 35.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006416/1.68, allocations: 4.008 MB / 0.9431 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/1.68, allocations: 54.03 kB / 0.9432 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01963/1.7, allocations: 9.5 MB / 0.9524 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001607/1.7, allocations: 90.56 kB / 0.9525 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003051/1.7, allocations: 192.4 kB / 0.9527 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/1.701, allocations: 276.9 kB / 0.953 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007061/1.708, allocations: 1.996 MB / 0.9549 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002651/1.708, allocations: 368.5 kB / 0.9553 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008224/1.716, allocations: 0.5716 MB / 0.9558 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001728/1.718, allocations: 0.4959 MB / 0.9563 GB, free: 33.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1031): * Single equations (assignments): 1028 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007606/1.726, allocations: 3.407 MB / 0.9596 GB, free: 31.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001372/1.727, allocations: 0.5402 MB / 0.9602 GB, free: 31.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/1.729, allocations: 0.6423 MB / 0.9608 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.052e-05/1.729, allocations: 23.22 kB / 0.9608 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.221e-05/1.729, allocations: 0 / 0.9608 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/1.729, allocations: 13.7 kB / 0.9608 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02538/1.754, allocations: 16.66 MB / 0.9771 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-05/1.754, allocations: 37.16 kB / 0.9771 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.755, allocations: 375.1 kB / 0.9775 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.795e-05/1.756, allocations: 55.56 kB / 0.9776 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.756, allocations: 83.8 kB / 0.9776 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.605e-05/1.756, allocations: 71.55 kB / 0.9777 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.791e-05/1.756, allocations: 65.16 kB / 0.9778 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005253/1.761, allocations: 10.4 MB / 0.9879 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/1.763, allocations: 0.6229 MB / 0.9885 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006313/1.763, allocations: 89.11 kB / 0.9886 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/1.766, allocations: 163.2 kB / 0.9888 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/1.766, allocations: 253.9 kB / 0.989 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001581/1.766, allocations: 105.4 kB / 0.9891 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008615/1.775, allocations: 4.035 MB / 0.993 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/1.775, allocations: 0 / 0.993 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00919/1.784, allocations: 1.364 MB / 0.9944 GB, free: 8.953 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * 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 (198): * Single equations (assignments): 195 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006159/1.785, allocations: 250.9 kB / 0.9946 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008079/1.793, allocations: 5.21 MB / 0.9997 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.288e-05/1.793, allocations: 8.938 kB / 0.9997 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/1.794, allocations: 1.111 MB / 1.001 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/1.798, allocations: 0.8311 MB / 1.002 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03074/1.829, allocations: 18.04 MB / 1.019 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01166/1.841, allocations: 5.503 MB / 1.025 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007669/1.849, allocations: 2.56 MB / 1.027 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.85, allocations: 345.7 kB / 1.027 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of SimCode: time 1.273e-06/1.85, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of Templates: time 0.08677/1.936, allocations: 41.59 MB / 1.068 GB, free: 7.605 MB / 0.573 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches