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.001416/0.001416, allocations: 105.4 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.001666/0.001666, allocations: 188 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.384/1.384, allocations: 222.9 MB / 243 MB, free: 15.15 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.2552/0.2552, allocations: 44.19 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.12 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1125, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01597/0.1285, allocations: 15.38 MB / 486.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.1401, allocations: 5.108 MB / 491.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003117/0.1433, allocations: 119.7 kB / 491.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.1544, allocations: 6.024 MB / 497.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008166/0.1626, allocations: 2.863 MB / 0.4885 GB, free: 60 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004122/0.1668, allocations: 1.575 MB / 0.49 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.1792, allocations: 7.733 MB / 0.4976 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2301/0.4094, allocations: 7.458 MB / 0.5049 GB, free: 16.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006554/0.416, allocations: 3.039 MB / 0.5078 GB, free: 16.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009348/0.4253, allocations: 3.861 MB / 0.5116 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004523/0.4299, allocations: 0.5859 MB / 0.5122 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005329/0.4352, allocations: 1.431 MB / 0.5136 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005449/0.4407, allocations: 3.591 MB / 0.5171 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006905/0.4477, allocations: 3.988 MB / 0.521 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01663/0.4643, allocations: 12.1 MB / 0.5328 GB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4644, allocations: 1.656 kB / 0.5328 GB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4644, allocations: 0 / 0.5328 GB, free: 9.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005056/0.4649, allocations: 0 / 0.5328 GB, free: 9.781 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.02/0.4849, allocations: 8.741 MB / 0.5413 GB, free: 4.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.485, allocations: 7.625 kB / 0.5413 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.4953, allocations: 2.578 MB / 0.5438 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009213/0.5045, allocations: 4.699 MB / 0.5484 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/0.5049, allocations: 443.2 kB / 0.5488 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/0.5068, allocations: 0.5574 MB / 0.5494 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03297/0.5398, allocations: 17.44 MB / 0.5664 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002541/0.5401, allocations: 72 kB / 0.5665 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001209/0.5413, allocations: 273.2 kB / 0.5668 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00514/0.5465, allocations: 3.165 MB / 0.5698 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02912/0.5756, allocations: 13.42 MB / 0.5829 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09154/0.6672, allocations: 65.77 MB / 0.6472 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01562/0.6829, allocations: 5.493 MB / 0.6525 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/0.686, allocations: 2.128 MB / 0.6546 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01625/0.7023, allocations: 10 MB / 0.6644 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.7023, allocations: 54.97 kB / 0.6644 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 3.888e-06/0.7023, allocations: 0 / 0.6644 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.0371/0.7395, allocations: 14.25 MB / 0.6784 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.7396, allocations: 156.6 kB / 0.6785 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008143/0.7477, allocations: 6.382 MB / 0.6847 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.748, allocations: 59.73 kB / 0.6848 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003332/0.7513, allocations: 5.229 MB / 0.6899 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009404/0.7523, allocations: 0.8271 MB / 0.6907 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001923/0.7542, allocations: 1.702 MB / 0.6924 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.7543, allocations: 309 kB / 0.6927 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/0.7575, allocations: 2.351 MB / 0.695 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.246/1.003, allocations: 7.763 MB / 0.7025 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/1.016, allocations: 10.99 MB / 0.7133 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002548/1.017, allocations: 55.38 kB / 0.7133 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.0215/1.038, allocations: 9.747 MB / 0.7228 GB, free: 160 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002931/1.039, allocations: 92.41 kB / 0.7229 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004468/1.039, allocations: 193.4 kB / 0.7231 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005226/1.04, allocations: 251.7 kB / 0.7234 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006442/1.046, allocations: 1.946 MB / 0.7253 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004823/1.047, allocations: 382.3 kB / 0.7256 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007168/1.054, allocations: 406.3 kB / 0.726 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/1.055, allocations: 0.5253 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.007966/1.063, allocations: 3.41 MB / 0.7299 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001438/1.065, allocations: 0.5312 MB / 0.7304 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/1.067, allocations: 0.6294 MB / 0.731 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-05/1.067, allocations: 27.03 kB / 0.731 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/1.067, allocations: 3.938 kB / 0.731 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/1.067, allocations: 12.81 kB / 0.731 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/1.094, allocations: 16.71 MB / 0.7473 GB, free: 151 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.801e-05/1.094, allocations: 40 kB / 0.7474 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.095, allocations: 388.2 kB / 0.7478 GB, free: 150.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.685e-05/1.095, allocations: 55.94 kB / 0.7478 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/1.095, allocations: 80 kB / 0.7479 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.001e-05/1.095, allocations: 78.95 kB / 0.748 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-05/1.095, allocations: 64.34 kB / 0.748 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003844/1.099, allocations: 3.944 MB / 0.7519 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.1, allocations: 0.6211 MB / 0.7525 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005445/1.101, allocations: 97.09 kB / 0.7526 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.103, allocations: 95.27 kB / 0.7527 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/1.103, allocations: 260.3 kB / 0.7529 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/1.103, allocations: 108 kB / 0.753 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005971/1.109, allocations: 3.982 MB / 0.7569 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/1.109, allocations: 0 / 0.7569 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008093/1.117, allocations: 1.37 MB / 0.7582 GB, free: 140.7 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.0005612/1.118, allocations: 254.8 kB / 0.7585 GB, free: 140.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008048/1.126, allocations: 5.471 MB / 0.7638 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.683e-05/1.126, allocations: 8 kB / 0.7638 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/1.127, allocations: 1.126 MB / 0.7649 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00493/1.132, allocations: 0.8965 MB / 0.7658 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.154, allocations: 15.18 MB / 0.7806 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005039/1.159, allocations: 5.236 MB / 0.7858 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004853/1.164, allocations: 2.546 MB / 0.7882 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007145/1.164, allocations: 347.4 kB / 0.7886 GB, free: 111 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/1.164, allocations: 0 / 0.7886 GB, free: 111 MB / 0.5294 GB Notification: Performance of Templates: time 0.06753/1.232, allocations: 36.77 MB / 0.8245 GB, free: 74.63 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 gbode -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