Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00197/0.001976, allocations: 98.36 kB / 16.26 MB, free: 5.93 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.002248/0.002248, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.47/1.47, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2292/0.2292, allocations: 43.52 MB / 313.9 MB, free: 0.5117 MB / 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.001466/0.001466, allocations: 67 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1388, allocations: 57.8 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01239/0.1512, allocations: 12.6 MB / 453.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008753/0.16, allocations: 3.349 MB / 456.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/0.1633, allocations: 67.88 kB / 456.5 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004927/0.1683, allocations: 2.652 MB / 459.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004707/0.1731, allocations: 1.354 MB / 460.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1742, allocations: 351.3 kB / 460.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.1784, allocations: 2.87 MB / 463.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003613/0.1821, allocations: 3.176 MB / 466.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.1839, allocations: 1.199 MB / 468.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.1861, allocations: 1.632 MB / 469.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006359/0.1868, allocations: 296 kB / 470.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.1885, allocations: 0.7802 MB / 470.8 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.1901, allocations: 1.551 MB / 472.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.1921, allocations: 1.833 MB / 474.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006072/0.1982, allocations: 5.787 MB / 480 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1982, allocations: 0 / 480 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1982, allocations: 0 / 480 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001574/0.1984, allocations: 0 / 480 MB, free: 15.23 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.00888/0.2073, allocations: 3.748 MB / 483.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.2074, allocations: 11.89 kB / 483.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0059/0.2133, allocations: 1.716 MB / 485.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.2167, allocations: 1.644 MB / 487.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.2169, allocations: 209.1 kB / 487.3 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005498/0.2174, allocations: 259.9 kB / 487.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.2314, allocations: 8.366 MB / 495.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.849e-05/0.2315, allocations: 15.88 kB / 496 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/0.2318, allocations: 127.9 kB / 496.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00264/0.2344, allocations: 1.764 MB / 497.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.2507, allocations: 7.036 MB / 0.4931 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04486/0.2956, allocations: 25.91 MB / 0.5184 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005658/0.3013, allocations: 2.545 MB / 0.5208 GB, free: 8.656 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.3029, allocations: 0.9766 MB / 0.5218 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008588/0.3115, allocations: 4.455 MB / 0.5261 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3116, allocations: 35.56 kB / 0.5262 GB, free: 3.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 4.769e-06/0.3116, allocations: 4 kB / 0.5262 GB, free: 3.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.007376/0.319, allocations: 2.727 MB / 0.5288 GB, free: 292 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.3191, allocations: 60.41 kB / 0.5289 GB, free: 220 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2998/0.6189, allocations: 2.26 MB / 0.5311 GB, free: 88.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002866/0.6193, allocations: 41.42 kB / 0.5311 GB, free: 88.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00233/0.6216, allocations: 2.316 MB / 0.5334 GB, free: 87.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009093/0.6225, allocations: 467.7 kB / 0.5339 GB, free: 87.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/0.6241, allocations: 0.7437 MB / 0.5346 GB, free: 86.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6242, allocations: 305.7 kB / 0.5349 GB, free: 86.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/0.6266, allocations: 1.123 MB / 0.536 GB, free: 86.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004247/0.6309, allocations: 3.284 MB / 0.5392 GB, free: 83.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006688/0.6376, allocations: 4.822 MB / 0.5439 GB, free: 79.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-05/0.6377, allocations: 22.19 kB / 0.5439 GB, free: 79.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.0103/0.648, allocations: 4.324 MB / 0.5481 GB, free: 77.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.6482, allocations: 36.88 kB / 0.5482 GB, free: 77.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/0.6483, allocations: 76.59 kB / 0.5482 GB, free: 77.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/0.6486, allocations: 100.7 kB / 0.5483 GB, free: 77.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/0.6509, allocations: 0.8183 MB / 0.5491 GB, free: 77.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001147/0.651, allocations: 150.1 kB / 0.5493 GB, free: 77.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/0.6539, allocations: 0.4953 MB / 0.5498 GB, free: 77.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/0.6542, allocations: 230.5 kB / 0.55 GB, free: 77.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 445 * Array equations: 5 * 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.002644/0.6569, allocations: 1.708 MB / 0.5516 GB, free: 76.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.6572, allocations: 190.6 kB / 0.5518 GB, free: 76.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.6593, allocations: 1.522 MB / 0.5533 GB, free: 75.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/0.6593, allocations: 14.25 kB / 0.5533 GB, free: 75.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6593, allocations: 0 / 0.5533 GB, free: 75.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.6594, allocations: 11.27 kB / 0.5533 GB, free: 75.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009421/0.6688, allocations: 7.361 MB / 0.5605 GB, free: 71.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/0.6689, allocations: 19.94 kB / 0.5605 GB, free: 71.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/0.6696, allocations: 189.9 kB / 0.5607 GB, free: 71.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.732e-05/0.6696, allocations: 20 kB / 0.5607 GB, free: 71.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.013e-05/0.6697, allocations: 38.61 kB / 0.5608 GB, free: 71.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.163e-05/0.6697, allocations: 27.86 kB / 0.5608 GB, free: 71.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-05/0.6697, allocations: 26.75 kB / 0.5608 GB, free: 71.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.6721, allocations: 2.002 MB / 0.5628 GB, free: 68.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/0.6727, allocations: 333.8 kB / 0.5631 GB, free: 68.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.673, allocations: 39.27 kB / 0.5631 GB, free: 68.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/0.6737, allocations: 51.88 kB / 0.5632 GB, free: 68.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.6739, allocations: 114.2 kB / 0.5633 GB, free: 68.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/0.674, allocations: 55.98 kB / 0.5634 GB, free: 68.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001847/0.6758, allocations: 1.57 MB / 0.5649 GB, free: 66.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6758, allocations: 0 / 0.5649 GB, free: 66.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003562/0.6794, allocations: 0.9207 MB / 0.5658 GB, free: 65.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0004632/0.6799, allocations: 173.1 kB / 0.566 GB, free: 65.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004256/0.6841, allocations: 2.898 MB / 0.5688 GB, free: 62.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/0.6842, allocations: 1.812 kB / 0.5688 GB, free: 62.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008177/0.685, allocations: 0.6984 MB / 0.5695 GB, free: 62.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.6867, allocations: 329.7 kB / 0.5698 GB, free: 61.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.697, allocations: 7.027 MB / 0.5766 GB, free: 54.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.6994, allocations: 2.821 MB / 0.5794 GB, free: 51.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002734/0.7021, allocations: 1.17 MB / 0.5805 GB, free: 50.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.7026, allocations: 167.4 kB / 0.5807 GB, free: 50.3 MB / 414.1 MB Notification: Performance of SimCode: time 1.923e-06/0.7027, allocations: 0 / 0.5807 GB, free: 50.3 MB / 414.1 MB Notification: Performance of Templates: time 0.03996/0.7426, allocations: 19.4 MB / 0.5996 GB, free: 31 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches