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.001157/0.001157, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001076/0.001076, allocations: 187 kB / 19.34 MB, free: 3.641 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.387/1.387, allocations: 222.9 MB / 243 MB, free: 15.08 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.2118/0.2118, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 66.8 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1376, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01858/0.1562, allocations: 15.38 MB / 486.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.1669, allocations: 5.104 MB / 491.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.1697, allocations: 123.6 kB / 491.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.1805, allocations: 6.02 MB / 497.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008516/0.1892, allocations: 2.862 MB / 0.4885 GB, free: 60 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.1929, allocations: 1.575 MB / 0.49 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01134/0.2042, allocations: 7.73 MB / 0.4976 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2702/0.4745, allocations: 7.456 MB / 0.5048 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006869/0.4815, allocations: 3.044 MB / 0.5078 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008185/0.4897, allocations: 3.857 MB / 0.5116 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003236/0.493, allocations: 0.5864 MB / 0.5122 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005356/0.4983, allocations: 1.43 MB / 0.5136 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006398/0.5048, allocations: 3.596 MB / 0.5171 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009063/0.5139, allocations: 3.987 MB / 0.521 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01751/0.5314, allocations: 12.1 MB / 0.5328 GB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.5314, allocations: 0 / 0.5328 GB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5315, allocations: 0 / 0.5328 GB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004978/0.532, allocations: 0 / 0.5328 GB, free: 9.793 MB / 382.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.02154/0.5535, allocations: 8.735 MB / 0.5413 GB, free: 4.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.5536, allocations: 12.12 kB / 0.5413 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009504/0.5631, allocations: 2.585 MB / 0.5438 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.5733, allocations: 4.7 MB / 0.5484 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003987/0.5738, allocations: 436.9 kB / 0.5488 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002226/0.576, allocations: 0.5603 MB / 0.5494 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03634/0.6124, allocations: 17.44 MB / 0.5664 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/0.6126, allocations: 74.06 kB / 0.5665 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008947/0.6135, allocations: 268 kB / 0.5667 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004493/0.618, allocations: 3.177 MB / 0.5698 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02771/0.6458, allocations: 13.42 MB / 0.5829 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0979/0.7437, allocations: 65.76 MB / 0.6472 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01591/0.7597, allocations: 5.496 MB / 0.6525 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004105/0.7638, allocations: 2.125 MB / 0.6546 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02085/0.7847, allocations: 10 MB / 0.6644 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.7848, allocations: 55.88 kB / 0.6644 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 5.641e-06/0.7848, allocations: 0 / 0.6644 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04089/0.8257, allocations: 14.26 MB / 0.6783 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.8259, allocations: 156.7 kB / 0.6785 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/0.8363, allocations: 6.382 MB / 0.6847 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005107/0.8369, allocations: 53.61 kB / 0.6848 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004698/0.8416, allocations: 5.233 MB / 0.6899 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.8427, allocations: 0.8257 MB / 0.6907 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002546/0.8453, allocations: 1.699 MB / 0.6924 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8454, allocations: 317 kB / 0.6927 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/0.8492, allocations: 2.339 MB / 0.6949 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3033/1.153, allocations: 7.768 MB / 0.7025 GB, free: 172 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/1.166, allocations: 11 MB / 0.7133 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002995/1.166, allocations: 55.34 kB / 0.7133 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02029/1.186, allocations: 9.742 MB / 0.7228 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/1.187, allocations: 92.7 kB / 0.7229 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002391/1.187, allocations: 194 kB / 0.7231 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/1.187, allocations: 253.3 kB / 0.7234 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/1.193, allocations: 1.948 MB / 0.7253 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002685/1.193, allocations: 376.4 kB / 0.7256 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006751/1.2, allocations: 414.8 kB / 0.726 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/1.201, allocations: 0.519 MB / 0.7265 GB, free: 159.5 MB / 0.5294 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.007452/1.209, allocations: 3.413 MB / 0.7299 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.21, allocations: 0.5285 MB / 0.7304 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/1.211, allocations: 0.6299 MB / 0.731 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/1.211, allocations: 24.78 kB / 0.731 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.211, allocations: 0 / 0.731 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/1.211, allocations: 8.859 kB / 0.731 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02159/1.233, allocations: 16.72 MB / 0.7473 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/1.233, allocations: 36 kB / 0.7474 GB, free: 151 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/1.234, allocations: 389.6 kB / 0.7477 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-05/1.234, allocations: 51.94 kB / 0.7478 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/1.234, allocations: 84 kB / 0.7479 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.893e-05/1.234, allocations: 79 kB / 0.748 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.82e-05/1.234, allocations: 59.75 kB / 0.748 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/1.238, allocations: 3.951 MB / 0.7519 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/1.24, allocations: 0.6095 MB / 0.7525 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005311/1.24, allocations: 95.14 kB / 0.7526 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.242, allocations: 104.4 kB / 0.7527 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/1.242, allocations: 263.5 kB / 0.7529 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.242, allocations: 105.4 kB / 0.753 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005218/1.248, allocations: 3.982 MB / 0.7569 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/1.248, allocations: 4 kB / 0.7569 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006943/1.255, allocations: 1.37 MB / 0.7582 GB, free: 140.8 MB / 0.5294 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.0004552/1.255, allocations: 253.5 kB / 0.7585 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006842/1.262, allocations: 5.461 MB / 0.7638 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.086e-05/1.262, allocations: 12.81 kB / 0.7638 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/1.263, allocations: 1.133 MB / 0.7649 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004649/1.268, allocations: 0.9011 MB / 0.7658 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/1.287, allocations: 15.19 MB / 0.7806 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005334/1.292, allocations: 5.237 MB / 0.7858 GB, free: 114 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005024/1.297, allocations: 2.538 MB / 0.7882 GB, free: 111.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007729/1.298, allocations: 355.4 kB / 0.7886 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/1.298, allocations: 0 / 0.7886 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.06888/1.367, allocations: 36.76 MB / 0.8245 GB, free: 74.74 MB / 0.5294 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/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