Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001285/0.001285, allocations: 112.7 kB / 17.04 MB, free: 6.066 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.001584/0.001584, allocations: 195 kB / 17.97 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3087/0.3087, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 69.17 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1231, allocations: 57.8 MB / 442 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.0172/0.1404, allocations: 17.04 MB / 459 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.1531, allocations: 5.315 MB / 464.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004183/0.1573, allocations: 123.7 kB / 464.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01139/0.1687, allocations: 6.075 MB / 470.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009529/0.1784, allocations: 3.077 MB / 473.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.1825, allocations: 1.583 MB / 475.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01408/0.1967, allocations: 8.188 MB / 483.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01169/0.2084, allocations: 7.623 MB / 491 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00775/0.2162, allocations: 3.229 MB / 494.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007513/0.2238, allocations: 4.191 MB / 498.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002451/0.2263, allocations: 0.6406 MB / 499 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.2303, allocations: 1.455 MB / 0.4888 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004493/0.2348, allocations: 3.846 MB / 0.4925 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006742/0.2416, allocations: 4.292 MB / 0.4967 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.2579, allocations: 13.08 MB / 0.5095 GB, free: 6.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.258, allocations: 0 / 0.5095 GB, free: 6.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.258, allocations: 0 / 0.5095 GB, free: 6.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005565/0.2586, allocations: 0 / 0.5095 GB, free: 6.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02856/0.2871, allocations: 9.245 MB / 0.5185 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.2872, allocations: 19.88 kB / 0.5185 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/0.2991, allocations: 2.673 MB / 0.5211 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.3114, allocations: 5.063 MB / 0.5261 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004477/0.3119, allocations: 471.7 kB / 0.5265 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002718/0.3146, allocations: 0.5856 MB / 0.5271 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4388/0.7534, allocations: 18.73 MB / 0.5454 GB, free: 73.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004152/0.7539, allocations: 77.06 kB / 0.5455 GB, free: 73.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001536/0.7555, allocations: 286.2 kB / 0.5457 GB, free: 73.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005209/0.7607, allocations: 3.448 MB / 0.5491 GB, free: 73.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0316/0.7923, allocations: 14.61 MB / 0.5634 GB, free: 63.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09762/0.89, allocations: 70.17 MB / 0.6319 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01732/0.9074, allocations: 6.131 MB / 0.6379 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004409/0.9118, allocations: 2.463 MB / 0.6403 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02237/0.9342, allocations: 10.83 MB / 0.6509 GB, free: 4.496 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/0.9343, allocations: 68.48 kB / 0.6509 GB, free: 4.422 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 5.62e-06/0.9343, allocations: 4 kB / 0.6509 GB, free: 4.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=262): time 0.04355/0.9779, allocations: 15.85 MB / 0.6664 GB, free: 4.594 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.9781, allocations: 154.5 kB / 0.6666 GB, free: 4.414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/0.9892, allocations: 6.64 MB / 0.6731 GB, free: 13.78 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006506/0.9899, allocations: 65.61 kB / 0.6731 GB, free: 13.71 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005102/0.995, allocations: 5.537 MB / 0.6785 GB, free: 8.105 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001408/0.9965, allocations: 1.014 MB / 0.6795 GB, free: 7.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002433/0.9989, allocations: 1.825 MB / 0.6813 GB, free: 5.238 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.999, allocations: 301.1 kB / 0.6816 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004311/1.003, allocations: 2.661 MB / 0.6842 GB, free: 2.273 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009204/1.013, allocations: 8.365 MB / 0.6923 GB, free: 7.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/1.029, allocations: 12.02 MB / 0.7041 GB, free: 8.207 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.029, allocations: 56 kB / 0.7041 GB, free: 8.152 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02008/1.049, allocations: 10.71 MB / 0.7146 GB, free: 13.43 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.049, allocations: 92 kB / 0.7147 GB, free: 13.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002318/1.049, allocations: 208.1 kB / 0.7149 GB, free: 13.14 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/1.049, allocations: 268 kB / 0.7151 GB, free: 12.88 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00712/1.057, allocations: 2.141 MB / 0.7172 GB, free: 10.73 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003578/1.057, allocations: 398.5 kB / 0.7176 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008081/1.065, allocations: 459.3 kB / 0.7181 GB, free: 9.891 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/1.067, allocations: 0.5625 MB / 0.7186 GB, free: 9.328 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (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 (1155): * Single equations (assignments): 1144 * 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.007699/1.075, allocations: 3.621 MB / 0.7221 GB, free: 5.691 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/1.076, allocations: 0.5668 MB / 0.7227 GB, free: 5.117 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005147/1.081, allocations: 2.794 MB / 0.7254 GB, free: 2.305 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-05/1.081, allocations: 31.98 kB / 0.7255 GB, free: 2.273 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.081, allocations: 4 kB / 0.7255 GB, free: 2.27 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-05/1.081, allocations: 11.95 kB / 0.7255 GB, free: 2.258 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3128/1.394, allocations: 26.55 MB / 0.7514 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.757e-05/1.394, allocations: 50.72 kB / 0.7514 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.396, allocations: 0.5245 MB / 0.752 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.27e-05/1.396, allocations: 76.55 kB / 0.752 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002225/1.396, allocations: 116.5 kB / 0.7521 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.967e-05/1.396, allocations: 103.1 kB / 0.7522 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.565e-05/1.397, allocations: 84.81 kB / 0.7523 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005732/1.402, allocations: 5.243 MB / 0.7574 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.404, allocations: 0.677 MB / 0.7581 GB, free: 156.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005704/1.404, allocations: 120.9 kB / 0.7582 GB, free: 156.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.406, allocations: 140.1 kB / 0.7583 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/1.407, allocations: 359.2 kB / 0.7587 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/1.407, allocations: 151.1 kB / 0.7588 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00535/1.412, allocations: 4.152 MB / 0.7629 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.6e-07/1.412, allocations: 3.938 kB / 0.7629 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007388/1.42, allocations: 1.503 MB / 0.7644 GB, free: 154.6 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.0005447/1.42, allocations: 298.2 kB / 0.7646 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009063/1.429, allocations: 6.288 MB / 0.7708 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 8.161e-05/1.429, allocations: 8 kB / 0.7708 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002359/1.432, allocations: 1.498 MB / 0.7723 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006759/1.439, allocations: 0.9339 MB / 0.7732 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02611/1.465, allocations: 16.96 MB / 0.7897 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006075/1.471, allocations: 5.579 MB / 0.7952 GB, free: 127.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.005827/1.477, allocations: 2.784 MB / 0.7979 GB, free: 124.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009607/1.478, allocations: 399.4 kB / 0.7983 GB, free: 124 MB / 0.5138 GB Notification: Performance of SimCode: time 1.022e-06/1.478, allocations: 0 / 0.7983 GB, free: 124 MB / 0.5138 GB Notification: Performance of Templates: time 0.07476/1.552, allocations: 40.84 MB / 0.8382 GB, free: 83.48 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches