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.001448/0.001447, allocations: 95.58 kB / 17.35 MB, free: 6.344 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.002195/0.002194, allocations: 169.4 kB / 18.25 MB, free: 5.508 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.512/1.512, allocations: 223.2 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2271/0.2271, allocations: 44.25 MB / 337.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003878, allocations: 8.844 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 61.92 MB / 472.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3791/0.5094, allocations: 97.07 MB / 0.556 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05732/0.5668, allocations: 18.87 MB / 0.5744 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0296/0.5965, allocations: 438.9 kB / 0.5748 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.5997, allocations: 0.6724 MB / 0.5755 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.6101, allocations: 2.709 MB / 0.5781 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.6137, allocations: 1.253 MB / 0.5793 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01764/0.6314, allocations: 11.22 MB / 0.5903 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01828/0.6497, allocations: 10.43 MB / 0.6005 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006296/0.6561, allocations: 2.269 MB / 0.6027 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007524/0.6637, allocations: 3.539 MB / 0.6062 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002476/0.6662, allocations: 256 kB / 0.6064 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004755/0.671, allocations: 1.174 MB / 0.6075 GB, free: 9.629 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005562/0.6766, allocations: 3.218 MB / 0.6107 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008389/0.685, allocations: 3.514 MB / 0.6141 GB, free: 2.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01788/0.7029, allocations: 11.22 MB / 0.6251 GB, free: 7.598 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.703, allocations: 0 / 0.6251 GB, free: 7.598 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.508e-06/0.703, allocations: 0 / 0.6251 GB, free: 7.598 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006044/0.7036, allocations: 0 / 0.6251 GB, free: 7.598 MB / 462.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.02135/0.725, allocations: 7.191 MB / 0.6321 GB, free: 328 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.725, allocations: 8.031 kB / 0.6321 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.7373, allocations: 2.642 MB / 0.6347 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/0.7494, allocations: 4.591 MB / 0.6392 GB, free: 8.984 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005926/0.75, allocations: 439.2 kB / 0.6396 GB, free: 8.555 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00288/0.7529, allocations: 0.5621 MB / 0.6401 GB, free: 7.992 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04106/0.794, allocations: 17.48 MB / 0.6572 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004551/0.7945, allocations: 67.34 kB / 0.6573 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002366/0.7969, allocations: 275.8 kB / 0.6575 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005993/0.8029, allocations: 3.178 MB / 0.6606 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03785/0.8408, allocations: 13.44 MB / 0.6738 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.664/1.505, allocations: 66 MB / 0.7382 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/1.521, allocations: 5.505 MB / 0.7436 GB, free: 141.4 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003021/1.524, allocations: 2.123 MB / 0.7457 GB, free: 140.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/1.54, allocations: 10 MB / 0.7554 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/1.54, allocations: 64.77 kB / 0.7555 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 5.2e-06/1.54, allocations: 0 / 0.7555 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.0402/1.58, allocations: 14.33 MB / 0.7695 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/1.58, allocations: 149.2 kB / 0.7696 GB, free: 127.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009321/1.59, allocations: 6.382 MB / 0.7759 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004403/1.59, allocations: 54.02 kB / 0.7759 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003211/1.593, allocations: 5.241 MB / 0.781 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008965/1.594, allocations: 0.8229 MB / 0.7818 GB, free: 119 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00094/1.595, allocations: 0.7475 MB / 0.7826 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.546e-05/1.595, allocations: 305.1 kB / 0.7829 GB, free: 118 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/1.599, allocations: 2.345 MB / 0.7852 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006432/1.605, allocations: 7.767 MB / 0.7927 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/1.616, allocations: 10.98 MB / 0.8035 GB, free: 91.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002592/1.616, allocations: 56 kB / 0.8035 GB, free: 91.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01783/1.634, allocations: 9.766 MB / 0.8131 GB, free: 81.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002231/1.634, allocations: 88 kB / 0.8131 GB, free: 81.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003056/1.634, allocations: 195.9 kB / 0.8133 GB, free: 81.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/1.635, allocations: 252 kB / 0.8136 GB, free: 81.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006051/1.641, allocations: 1.949 MB / 0.8155 GB, free: 79.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000423/1.641, allocations: 374.5 kB / 0.8158 GB, free: 79.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007045/1.648, allocations: 417.3 kB / 0.8162 GB, free: 78.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.65, allocations: 0.5207 MB / 0.8167 GB, free: 78.18 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.006276/1.656, allocations: 3.407 MB / 0.8201 GB, free: 74.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.657, allocations: 0.5321 MB / 0.8206 GB, free: 74.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/1.659, allocations: 0.6287 MB / 0.8212 GB, free: 73.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/1.659, allocations: 24 kB / 0.8212 GB, free: 73.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/1.659, allocations: 0 / 0.8212 GB, free: 73.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/1.659, allocations: 11.95 kB / 0.8212 GB, free: 73.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0266/1.685, allocations: 16.71 MB / 0.8375 GB, free: 56.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001254/1.686, allocations: 36.97 kB / 0.8376 GB, free: 56.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/1.687, allocations: 383.2 kB / 0.8379 GB, free: 55.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.721e-05/1.687, allocations: 52 kB / 0.838 GB, free: 55.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002674/1.687, allocations: 84 kB / 0.8381 GB, free: 55.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.774e-05/1.687, allocations: 75.72 kB / 0.8381 GB, free: 55.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.871e-05/1.687, allocations: 63.69 kB / 0.8382 GB, free: 55.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004361/1.692, allocations: 3.943 MB / 0.8421 GB, free: 51.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.694, allocations: 0.615 MB / 0.8427 GB, free: 50.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00139/1.695, allocations: 89.06 kB / 0.8427 GB, free: 50.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.698, allocations: 111.9 kB / 0.8429 GB, free: 50.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/1.698, allocations: 258.8 kB / 0.8431 GB, free: 50.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/1.698, allocations: 111 kB / 0.8432 GB, free: 49.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005918/1.704, allocations: 3.988 MB / 0.8471 GB, free: 45.94 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/1.704, allocations: 0 / 0.8471 GB, free: 45.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007161/1.712, allocations: 1.369 MB / 0.8484 GB, free: 44.58 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.0005454/1.712, allocations: 249.5 kB / 0.8487 GB, free: 44.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007478/1.72, allocations: 5.375 MB / 0.8539 GB, free: 39.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-05/1.72, allocations: 12.12 kB / 0.8539 GB, free: 39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/1.721, allocations: 1.134 MB / 0.855 GB, free: 37.87 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03719/1.758, allocations: 0.8635 MB / 0.8559 GB, free: 37.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/1.785, allocations: 18.97 MB / 0.8744 GB, free: 17.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007656/1.793, allocations: 5.234 MB / 0.8795 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006899/1.8, allocations: 2.545 MB / 0.882 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.801, allocations: 347.4 kB / 0.8823 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/1.801, allocations: 0 / 0.8823 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of Templates: time 0.3346/2.135, allocations: 42.48 MB / 0.9238 GB, free: 194.6 MB / 0.5607 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","/var/lib/jenkins/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