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.001476/0.001476, allocations: 106.9 kB / 17.21 MB, free: 6.27 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.001642/0.001642, allocations: 194 kB / 18.12 MB, free: 5.363 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.39/1.39, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2291/0.2291, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.77 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3879/0.5096, allocations: 99.35 MB / 0.5546 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06152/0.5712, allocations: 18.94 MB / 0.5731 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0279/0.5991, allocations: 442.9 kB / 0.5735 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0117/0.6108, allocations: 6.05 MB / 0.5794 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009738/0.6207, allocations: 2.706 MB / 0.582 GB, free: 396 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.6248, allocations: 1.486 MB / 0.5835 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01487/0.6397, allocations: 11.22 MB / 0.5944 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.6504, allocations: 7.451 MB / 0.6017 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007762/0.6582, allocations: 2.769 MB / 0.6044 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008089/0.6663, allocations: 4.167 MB / 0.6085 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002538/0.6689, allocations: 464 kB / 0.6089 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/0.6733, allocations: 1.385 MB / 0.6103 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004705/0.678, allocations: 3.514 MB / 0.6137 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006431/0.6845, allocations: 3.863 MB / 0.6175 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.6981, allocations: 11.58 MB / 0.6288 GB, free: 324 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.6982, allocations: 0 / 0.6288 GB, free: 324 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6982, allocations: 4 kB / 0.6288 GB, free: 320 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005123/0.6987, allocations: 0 / 0.6288 GB, free: 320 kB / 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.02228/0.721, allocations: 8.738 MB / 0.6373 GB, free: 7.484 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.7211, allocations: 8.031 kB / 0.6373 GB, free: 7.477 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.7322, allocations: 2.576 MB / 0.6399 GB, free: 4.887 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.7437, allocations: 4.595 MB / 0.6443 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/0.7442, allocations: 443.3 kB / 0.6448 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002593/0.7468, allocations: 0.5504 MB / 0.6453 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04215/0.789, allocations: 17.44 MB / 0.6623 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002777/0.7893, allocations: 79.27 kB / 0.6624 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001711/0.791, allocations: 271.8 kB / 0.6627 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005724/0.7968, allocations: 3.166 MB / 0.6658 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03041/0.8272, allocations: 13.4 MB / 0.6789 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.583/1.41, allocations: 66.14 MB / 0.7434 GB, free: 144.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01513/1.425, allocations: 5.491 MB / 0.7488 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003049/1.428, allocations: 2.12 MB / 0.7509 GB, free: 141.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01426/1.443, allocations: 10 MB / 0.7606 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/1.443, allocations: 54.3 kB / 0.7607 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.198e-06/1.443, allocations: 2.625 kB / 0.7607 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.03489/1.478, allocations: 14.26 MB / 0.7746 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/1.478, allocations: 152.8 kB / 0.7748 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007477/1.485, allocations: 6.382 MB / 0.781 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002862/1.486, allocations: 57.45 kB / 0.7811 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.488, allocations: 5.236 MB / 0.7862 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006726/1.489, allocations: 0.8236 MB / 0.787 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00163/1.49, allocations: 1.699 MB / 0.7886 GB, free: 110.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/1.49, allocations: 309.1 kB / 0.7889 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/1.493, allocations: 2.343 MB / 0.7912 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004876/1.498, allocations: 7.769 MB / 0.7988 GB, free: 97.08 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008376/1.506, allocations: 10.99 MB / 0.8095 GB, free: 83.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/1.507, allocations: 60 kB / 0.8096 GB, free: 83.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.01362/1.52, allocations: 9.741 MB / 0.8191 GB, free: 73.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/1.52, allocations: 90.34 kB / 0.8192 GB, free: 73.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002452/1.521, allocations: 192 kB / 0.8194 GB, free: 73.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/1.521, allocations: 255.9 kB / 0.8196 GB, free: 73.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00505/1.526, allocations: 1.95 MB / 0.8215 GB, free: 71.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002862/1.526, allocations: 378.5 kB / 0.8219 GB, free: 70.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005361/1.532, allocations: 419.2 kB / 0.8223 GB, free: 70.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000986/1.533, allocations: 0.5204 MB / 0.8228 GB, free: 69.84 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.006988/1.54, allocations: 3.412 MB / 0.8261 GB, free: 66.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001843/1.541, allocations: 0.5282 MB / 0.8266 GB, free: 65.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/1.543, allocations: 0.6287 MB / 0.8273 GB, free: 65.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.256e-05/1.543, allocations: 23.94 kB / 0.8273 GB, free: 65.22 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-05/1.543, allocations: 4 kB / 0.8273 GB, free: 65.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/1.543, allocations: 11.97 kB / 0.8273 GB, free: 65.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02488/1.568, allocations: 16.72 MB / 0.8436 GB, free: 47.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-05/1.568, allocations: 40 kB / 0.8437 GB, free: 47.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/1.569, allocations: 383.2 kB / 0.844 GB, free: 47.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.528e-05/1.57, allocations: 52 kB / 0.8441 GB, free: 47.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/1.57, allocations: 80.69 kB / 0.8442 GB, free: 47.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.95e-05/1.57, allocations: 71.72 kB / 0.8442 GB, free: 47.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.228e-05/1.57, allocations: 63.75 kB / 0.8443 GB, free: 47.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/1.574, allocations: 3.95 MB / 0.8481 GB, free: 42.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.575, allocations: 0.6149 MB / 0.8487 GB, free: 42.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/1.576, allocations: 91.97 kB / 0.8488 GB, free: 42.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.579, allocations: 103.8 kB / 0.8489 GB, free: 41.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/1.579, allocations: 258.8 kB / 0.8492 GB, free: 41.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.579, allocations: 116 kB / 0.8493 GB, free: 41.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00705/1.586, allocations: 3.984 MB / 0.8532 GB, free: 37.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.21e-07/1.586, allocations: 0 / 0.8532 GB, free: 37.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008519/1.595, allocations: 1.372 MB / 0.8545 GB, free: 36.21 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.0007093/1.595, allocations: 248.8 kB / 0.8548 GB, free: 35.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007584/1.603, allocations: 5.37 MB / 0.86 GB, free: 30.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.922e-05/1.603, allocations: 8 kB / 0.86 GB, free: 30.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/1.605, allocations: 1.136 MB / 0.8611 GB, free: 29.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006762/1.611, allocations: 0.8487 MB / 0.8619 GB, free: 28.67 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03249/1.644, allocations: 18.92 MB / 0.8804 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008241/1.652, allocations: 5.238 MB / 0.8855 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006879/1.659, allocations: 2.546 MB / 0.888 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.66, allocations: 351.4 kB / 0.8884 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of SimCode: time 1.593e-06/1.66, allocations: 0 / 0.8884 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of Templates: time 0.3717/2.032, allocations: 42.71 MB / 0.9301 GB, free: 187.9 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