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.001058/0.001058, allocations: 178.6 kB / 14.15 MB, free: 1.168 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.353/1.353, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008713/0.0008714, allocations: 98.56 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1694/0.1694, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.442e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 61.9 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4767, allocations: 105.9 MB / 0.6051 GB, free: 15.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4769, allocations: 75.95 kB / 0.6052 GB, free: 15.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6046/1.082, allocations: 151.4 MB / 0.753 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/1.082, allocations: 0 / 0.753 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003777/1.082, allocations: 150.4 kB / 0.7532 GB, free: 110.1 MB / 0.5105 GB 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.01843/1.1, allocations: 7.356 MB / 0.7604 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.1, allocations: 14.75 kB / 0.7604 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/1.117, allocations: 3.521 MB / 0.7638 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01905/1.136, allocations: 8.766 MB / 0.7724 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004814/1.137, allocations: 0.5618 MB / 0.7729 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003261/1.14, allocations: 0.7472 MB / 0.7737 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03167/1.172, allocations: 17.5 MB / 0.7908 GB, free: 98.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002527/1.172, allocations: 87.05 kB / 0.7908 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001302/1.174, allocations: 360 kB / 0.7912 GB, free: 98.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/1.176, allocations: 1.622 MB / 0.7928 GB, free: 98.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02517/1.201, allocations: 13.4 MB / 0.8058 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07388/1.275, allocations: 74.58 MB / 0.8787 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01366/1.288, allocations: 5.448 MB / 0.884 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/1.291, allocations: 2.075 MB / 0.886 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0144/1.306, allocations: 9.973 MB / 0.8958 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/1.306, allocations: 47.88 kB / 0.8958 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 4.839e-06/1.306, allocations: 0 / 0.8958 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.03851/1.344, allocations: 13.36 MB / 0.9089 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.345, allocations: 153.8 kB / 0.909 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2859/1.63, allocations: 5.499 MB / 0.9144 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000504/1.631, allocations: 56.47 kB / 0.9144 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004924/1.636, allocations: 5.307 MB / 0.9196 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009821/1.637, allocations: 0.8168 MB / 0.9204 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000535/1.637, allocations: 163.7 kB / 0.9206 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005101/1.638, allocations: 0.6462 MB / 0.9212 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003684/1.642, allocations: 2.089 MB / 0.9232 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006191/1.648, allocations: 7.405 MB / 0.9305 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008034/1.656, allocations: 3.886 MB / 0.9343 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003375/1.656, allocations: 55.66 kB / 0.9343 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.01858/1.675, allocations: 9.154 MB / 0.9433 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/1.675, allocations: 89.55 kB / 0.9433 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002397/1.675, allocations: 190.6 kB / 0.9435 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/1.676, allocations: 279.9 kB / 0.9438 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00715/1.683, allocations: 1.992 MB / 0.9457 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002673/1.683, allocations: 374.7 kB / 0.9461 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007988/1.691, allocations: 0.5643 MB / 0.9466 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009558/1.692, allocations: 0.5032 MB / 0.9471 GB, free: 103.9 MB / 0.5261 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 () * 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.001009/1.693, allocations: 0.7675 MB / 0.9479 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007173/1.694, allocations: 0.5381 MB / 0.9484 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/1.695, allocations: 0.6511 MB / 0.949 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/1.695, allocations: 31.47 kB / 0.9491 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.695, allocations: 3.281 kB / 0.9491 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.695, allocations: 11.34 kB / 0.9491 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02283/1.718, allocations: 16.64 MB / 0.9653 GB, free: 98.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/1.718, allocations: 35.78 kB / 0.9654 GB, free: 98.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.719, allocations: 381.7 kB / 0.9657 GB, free: 98.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.742e-05/1.719, allocations: 53.94 kB / 0.9658 GB, free: 98.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/1.719, allocations: 81.47 kB / 0.9659 GB, free: 98.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-05/1.719, allocations: 74.53 kB / 0.9659 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.438e-05/1.719, allocations: 56.97 kB / 0.966 GB, free: 98.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004644/1.724, allocations: 10.37 MB / 0.9761 GB, free: 88.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.725, allocations: 0.6234 MB / 0.9767 GB, free: 87.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004538/1.726, allocations: 96.12 kB / 0.9768 GB, free: 87.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.728, allocations: 163.1 kB / 0.977 GB, free: 87.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/1.728, allocations: 251.4 kB / 0.9772 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.728, allocations: 106 kB / 0.9773 GB, free: 87.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005245/1.733, allocations: 3.855 MB / 0.9811 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/1.733, allocations: 0 / 0.9811 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0067/1.74, allocations: 1.356 MB / 0.9824 GB, free: 86.07 MB / 0.5261 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 () * 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.0004238/1.74, allocations: 244.9 kB / 0.9826 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006528/1.747, allocations: 5.021 MB / 0.9875 GB, free: 84.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.747, allocations: 7.812 kB / 0.9875 GB, free: 84.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/1.748, allocations: 1.11 MB / 0.9886 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/1.752, allocations: 0.8267 MB / 0.9894 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01906/1.771, allocations: 12.42 MB / 1.002 GB, free: 78.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005382/1.776, allocations: 5.395 MB / 1.007 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006131/1.782, allocations: 2.558 MB / 1.009 GB, free: 76.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007938/1.783, allocations: 347.6 kB / 1.01 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/1.783, allocations: 0 / 1.01 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.08938/1.873, allocations: 41.59 MB / 1.05 GB, free: 51.88 MB / 0.5261 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