Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0009418/0.000942, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.001045/0.001045, allocations: 176.7 kB / 18.25 MB, free: 5.527 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.431/1.431, allocations: 223.3 MB / 242.3 MB, free: 212 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.2133/0.2133, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 9.312 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3292/0.4633, allocations: 51.13 MB / 0.5111 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02629/0.4897, allocations: 10.09 MB / 0.521 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01491/0.5047, allocations: 214.2 kB / 0.5212 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.5069, allocations: 333.6 kB / 0.5215 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.5121, allocations: 1.161 MB / 0.5226 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.5134, allocations: 320.7 kB / 0.5229 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006508/0.52, allocations: 3.874 MB / 0.5267 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006931/0.5269, allocations: 4.217 MB / 0.5308 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.529, allocations: 0.7429 MB / 0.5316 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.5312, allocations: 1.215 MB / 0.5327 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005808/0.5318, allocations: 102.5 kB / 0.5328 GB, free: 5.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.5336, allocations: 0.6489 MB / 0.5335 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002093/0.5358, allocations: 1.212 MB / 0.5347 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002154/0.5379, allocations: 1.427 MB / 0.536 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004297/0.5422, allocations: 4.952 MB / 0.5409 GB, free: 80 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5423, allocations: 0 / 0.5409 GB, free: 80 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5423, allocations: 2.719 kB / 0.5409 GB, free: 80 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001217/0.5424, allocations: 4 kB / 0.5409 GB, free: 76 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.005148/0.5476, allocations: 2.78 MB / 0.5436 GB, free: 14.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5476, allocations: 7.875 kB / 0.5436 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005457/0.5531, allocations: 1.694 MB / 0.5453 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.556, allocations: 1.53 MB / 0.5468 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.5561, allocations: 181.5 kB / 0.5469 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004459/0.5566, allocations: 243.3 kB / 0.5472 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/0.5687, allocations: 7.489 MB / 0.5545 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.5688, allocations: 15.86 kB / 0.5545 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002858/0.5691, allocations: 113.2 kB / 0.5546 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002376/0.5715, allocations: 1.573 MB / 0.5561 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.5829, allocations: 6.254 MB / 0.5622 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03305/0.616, allocations: 23.32 MB / 0.585 GB, free: 4.664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004772/0.6208, allocations: 2.196 MB / 0.5872 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.6219, allocations: 0.7699 MB / 0.5879 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006573/0.6285, allocations: 3.89 MB / 0.5917 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.6286, allocations: 47 kB / 0.5918 GB, free: 13.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.206e-06/0.6286, allocations: 0 / 0.5918 GB, free: 13.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.006129/0.6347, allocations: 2.248 MB / 0.594 GB, free: 11.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.6348, allocations: 63.91 kB / 0.594 GB, free: 11.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/0.6378, allocations: 2.105 MB / 0.5961 GB, free: 9.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.6379, allocations: 37.7 kB / 0.5961 GB, free: 8.977 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.6396, allocations: 2.112 MB / 0.5982 GB, free: 6.859 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003924/0.64, allocations: 347.4 kB / 0.5985 GB, free: 6.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.6404, allocations: 300.6 kB / 0.5988 GB, free: 6.223 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6405, allocations: 301.1 kB / 0.5991 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.6419, allocations: 0.9431 MB / 0.6 GB, free: 4.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/0.6449, allocations: 2.916 MB / 0.6029 GB, free: 1.082 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004948/0.6499, allocations: 4.214 MB / 0.607 GB, free: 11.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.744e-05/0.65, allocations: 20 kB / 0.607 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006213/0.6562, allocations: 3.758 MB / 0.6107 GB, free: 8.109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.6563, allocations: 32 kB / 0.6107 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.511e-05/0.6564, allocations: 76.12 kB / 0.6108 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.619e-05/0.6565, allocations: 92 kB / 0.6108 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.6584, allocations: 0.694 MB / 0.6115 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.905e-05/0.6585, allocations: 139.4 kB / 0.6117 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.6609, allocations: 443.2 kB / 0.6121 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/0.6612, allocations: 200 kB / 0.6123 GB, free: 6.449 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (388): * Single equations (assignments): 383 * 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.002808/0.664, allocations: 1.565 MB / 0.6138 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.6643, allocations: 181.7 kB / 0.614 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.6648, allocations: 214.7 kB / 0.6142 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.6648, allocations: 8 kB / 0.6142 GB, free: 4.477 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.6648, allocations: 0 / 0.6142 GB, free: 4.477 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.6649, allocations: 7.984 kB / 0.6142 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009511/0.6744, allocations: 5.072 MB / 0.6191 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.6744, allocations: 12.03 kB / 0.6192 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.6749, allocations: 115.8 kB / 0.6193 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.6749, allocations: 12 kB / 0.6193 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.682e-05/0.675, allocations: 35.86 kB / 0.6193 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.675, allocations: 11.94 kB / 0.6193 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/0.675, allocations: 11.94 kB / 0.6193 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.6769, allocations: 1.406 MB / 0.6207 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006355/0.6775, allocations: 298.2 kB / 0.621 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.6777, allocations: 27.92 kB / 0.621 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.6783, allocations: 31.89 kB / 0.621 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6784, allocations: 70.09 kB / 0.6211 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.071e-05/0.6785, allocations: 39.97 kB / 0.6212 GB, free: 13.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002117/0.6806, allocations: 1.473 MB / 0.6226 GB, free: 11.54 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6806, allocations: 0 / 0.6226 GB, free: 11.54 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003188/0.6838, allocations: 0.8125 MB / 0.6234 GB, free: 10.73 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0003675/0.6842, allocations: 151.1 kB / 0.6235 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003562/0.6878, allocations: 2.162 MB / 0.6256 GB, free: 8.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.6878, allocations: 8.062 kB / 0.6256 GB, free: 8.422 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006325/0.6884, allocations: 0.5014 MB / 0.6261 GB, free: 7.922 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/0.6918, allocations: 286.4 kB / 0.6264 GB, free: 7.648 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.7028, allocations: 7.562 MB / 0.6338 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/0.7055, allocations: 2.604 MB / 0.6363 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002574/0.7081, allocations: 1.024 MB / 0.6373 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/0.7085, allocations: 143.4 kB / 0.6375 GB, free: 12.14 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7085, allocations: 0 / 0.6375 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Templates: time 0.03487/0.7434, allocations: 16.02 MB / 0.6531 GB, free: 12.2 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches