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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 100.9 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3559/0.3559, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 51.92 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2973, allocations: 60.81 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.03715/0.3345, allocations: 52.48 MB / 0.5576 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02501/0.3596, allocations: 10.13 MB / 0.5675 GB, free: 9.984 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01524/0.3749, allocations: 214.6 kB / 0.5677 GB, free: 9.957 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006048/0.381, allocations: 2.624 MB / 0.5703 GB, free: 8.738 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004426/0.3855, allocations: 1.16 MB / 0.5714 GB, free: 8.254 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.3868, allocations: 320.8 kB / 0.5717 GB, free: 8.105 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006928/0.3938, allocations: 3.902 MB / 0.5756 GB, free: 6.988 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005297/0.3991, allocations: 3.012 MB / 0.5785 GB, free: 5.516 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.4013, allocations: 0.9704 MB / 0.5794 GB, free: 4.664 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.4042, allocations: 1.496 MB / 0.5809 GB, free: 3.484 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008995/0.4051, allocations: 196 kB / 0.5811 GB, free: 3.293 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.4073, allocations: 0.7354 MB / 0.5818 GB, free: 2.676 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.4092, allocations: 1.344 MB / 0.5831 GB, free: 1.328 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002522/0.4118, allocations: 1.58 MB / 0.5847 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005907/0.4177, allocations: 5.113 MB / 0.5897 GB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.4177, allocations: 0 / 0.5897 GB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4177, allocations: 4 kB / 0.5897 GB, free: 10.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002188/0.4179, allocations: 3.938 kB / 0.5897 GB, free: 10.6 MB / 410.7 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.009058/0.427, allocations: 3.399 MB / 0.593 GB, free: 7.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4271, allocations: 12.03 kB / 0.593 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005656/0.4327, allocations: 1.654 MB / 0.5946 GB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.4363, allocations: 1.527 MB / 0.5961 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.4365, allocations: 189.1 kB / 0.5963 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007996/0.4373, allocations: 239.8 kB / 0.5965 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/0.4509, allocations: 7.501 MB / 0.6038 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.471e-05/0.451, allocations: 11.88 kB / 0.6039 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006364/0.4517, allocations: 107.9 kB / 0.604 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002453/0.4541, allocations: 1.568 MB / 0.6055 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.4666, allocations: 6.254 MB / 0.6116 GB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03735/0.504, allocations: 23.32 MB / 0.6344 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/0.5088, allocations: 2.199 MB / 0.6365 GB, free: 9.441 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.5099, allocations: 0.762 MB / 0.6373 GB, free: 8.672 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007863/0.5178, allocations: 3.901 MB / 0.6411 GB, free: 4.629 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5179, allocations: 35.12 kB / 0.6411 GB, free: 4.586 MB / 458.7 MB Notification: Performance of pre-optimization done (n=87): time 4.589e-06/0.5179, allocations: 4 kB / 0.6411 GB, free: 4.582 MB / 458.7 MB Notification: Performance of matching and sorting (n=87): time 0.005945/0.5239, allocations: 2.255 MB / 0.6433 GB, free: 2.316 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.5239, allocations: 55.97 kB / 0.6434 GB, free: 2.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.5276, allocations: 2.105 MB / 0.6454 GB, free: 100 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.5276, allocations: 41.69 kB / 0.6455 GB, free: 52 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.5291, allocations: 2.112 MB / 0.6475 GB, free: 13.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003407/0.5295, allocations: 343.7 kB / 0.6478 GB, free: 13.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009074/0.5304, allocations: 0.6664 MB / 0.6485 GB, free: 12.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.5305, allocations: 301.1 kB / 0.6488 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5319, allocations: 0.9431 MB / 0.6497 GB, free: 11.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002663/0.5345, allocations: 2.92 MB / 0.6526 GB, free: 7.746 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004517/0.5391, allocations: 4.218 MB / 0.6567 GB, free: 2.555 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.779e-05/0.5391, allocations: 20 kB / 0.6567 GB, free: 2.535 MB / 474.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005786/0.5449, allocations: 3.746 MB / 0.6603 GB, free: 14.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.545, allocations: 37.41 kB / 0.6604 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.5451, allocations: 72.09 kB / 0.6605 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.884e-05/0.5452, allocations: 92 kB / 0.6605 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/0.5471, allocations: 0.7018 MB / 0.6612 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001097/0.5473, allocations: 139.4 kB / 0.6614 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.5494, allocations: 435.2 kB / 0.6618 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/0.5497, allocations: 203.9 kB / 0.662 GB, free: 13.11 MB / 490.7 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.002638/0.5523, allocations: 1.562 MB / 0.6635 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.5527, allocations: 181.6 kB / 0.6637 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.5532, allocations: 214.7 kB / 0.6639 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.5532, allocations: 12 kB / 0.6639 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5532, allocations: 0 / 0.6639 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.5532, allocations: 3.984 kB / 0.6639 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009826/0.5631, allocations: 5.068 MB / 0.6688 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.5632, allocations: 11.94 kB / 0.6688 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.5637, allocations: 119.8 kB / 0.669 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.04e-05/0.5637, allocations: 8 kB / 0.669 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.5638, allocations: 27.94 kB / 0.669 GB, free: 5.727 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.602e-05/0.5638, allocations: 15.92 kB / 0.669 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.5638, allocations: 12 kB / 0.669 GB, free: 5.699 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.567, allocations: 2.811 MB / 0.6718 GB, free: 2.727 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.5677, allocations: 286.4 kB / 0.672 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004208/0.5681, allocations: 27.98 kB / 0.6721 GB, free: 2.398 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000782/0.5689, allocations: 47.78 kB / 0.6721 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.569, allocations: 59.7 kB / 0.6722 GB, free: 2.293 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.5691, allocations: 39.98 kB / 0.6722 GB, free: 2.254 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002411/0.5715, allocations: 1.477 MB / 0.6737 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5716, allocations: 3.938 kB / 0.6737 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003271/0.5748, allocations: 0.8125 MB / 0.6744 GB, free: 15.93 MB / 0.4948 GB 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.0003889/0.5752, allocations: 147 kB / 0.6746 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003452/0.5787, allocations: 2.169 MB / 0.6767 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5787, allocations: 0 / 0.6767 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.5793, allocations: 0.5002 MB / 0.6772 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.5812, allocations: 281.5 kB / 0.6775 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.5948, allocations: 8.105 MB / 0.6854 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00401/0.5989, allocations: 2.623 MB / 0.6879 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002687/0.6016, allocations: 1.036 MB / 0.689 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.602, allocations: 143.4 kB / 0.6891 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.602, allocations: 0 / 0.6891 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of Templates: time 0.2638/0.8659, allocations: 16.62 MB / 0.7053 GB, free: 143.8 MB / 0.4948 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches