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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009766/0.0009764, allocations: 101.5 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3244/0.3244, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.91 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1268, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2623/0.3892, allocations: 54.55 MB / 0.5289 GB, free: 30.89 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02353/0.4127, allocations: 10.39 MB / 0.539 GB, free: 24.25 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01293/0.4257, allocations: 218.5 kB / 0.5392 GB, free: 24.22 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004137/0.4299, allocations: 2.653 MB / 0.5418 GB, free: 22.99 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002952/0.4329, allocations: 1.285 MB / 0.5431 GB, free: 22.43 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007851/0.4337, allocations: 332.3 kB / 0.5434 GB, free: 22.27 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003967/0.4377, allocations: 4.321 MB / 0.5476 GB, free: 21.02 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003172/0.4408, allocations: 3.13 MB / 0.5507 GB, free: 19.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.4422, allocations: 1.055 MB / 0.5517 GB, free: 19.42 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.4442, allocations: 1.703 MB / 0.5534 GB, free: 18.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000576/0.4448, allocations: 217.4 kB / 0.5536 GB, free: 18.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.4462, allocations: 0.7457 MB / 0.5543 GB, free: 18.63 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.4475, allocations: 1.489 MB / 0.5557 GB, free: 18.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.4491, allocations: 1.764 MB / 0.5575 GB, free: 16.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007074/0.4562, allocations: 5.713 MB / 0.563 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4562, allocations: 3.938 kB / 0.563 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4563, allocations: 1.125 kB / 0.563 GB, free: 14.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001784/0.4564, allocations: 0 / 0.563 GB, free: 14.82 MB / 394.7 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.007916/0.4644, allocations: 3.743 MB / 0.5667 GB, free: 12.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.4644, allocations: 9.906 kB / 0.5667 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005699/0.4701, allocations: 1.713 MB / 0.5684 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003576/0.4737, allocations: 1.644 MB / 0.57 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.4739, allocations: 208.3 kB / 0.5702 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004612/0.4744, allocations: 262.7 kB / 0.5704 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.4864, allocations: 8.366 MB / 0.5786 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.331e-05/0.4865, allocations: 16.28 kB / 0.5786 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/0.4868, allocations: 126.7 kB / 0.5787 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00267/0.4895, allocations: 1.758 MB / 0.5805 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.5014, allocations: 7.042 MB / 0.5873 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03747/0.5389, allocations: 25.91 MB / 0.6126 GB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005377/0.5443, allocations: 2.548 MB / 0.6151 GB, free: 1.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.5458, allocations: 0.9734 MB / 0.6161 GB, free: 116 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008575/0.5544, allocations: 4.455 MB / 0.6204 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.5544, allocations: 43.56 kB / 0.6205 GB, free: 11.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 4.448e-06/0.5544, allocations: 0 / 0.6205 GB, free: 11.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=120): time 0.006726/0.5612, allocations: 2.727 MB / 0.6231 GB, free: 8.727 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.5612, allocations: 60.41 kB / 0.6232 GB, free: 8.656 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/0.5647, allocations: 2.261 MB / 0.6254 GB, free: 6.355 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.5648, allocations: 41.7 kB / 0.6254 GB, free: 6.309 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001724/0.5665, allocations: 2.318 MB / 0.6277 GB, free: 3.957 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/0.5671, allocations: 470 kB / 0.6282 GB, free: 3.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009895/0.568, allocations: 0.746 MB / 0.6289 GB, free: 2.738 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5682, allocations: 305.1 kB / 0.6292 GB, free: 2.438 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.5699, allocations: 1.124 MB / 0.6303 GB, free: 1.312 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003398/0.5733, allocations: 3.287 MB / 0.6335 GB, free: 12.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005301/0.5786, allocations: 4.823 MB / 0.6382 GB, free: 7.062 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.026e-05/0.5787, allocations: 20 kB / 0.6382 GB, free: 7.043 MB / 458.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006703/0.5854, allocations: 4.321 MB / 0.6424 GB, free: 2.719 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.5855, allocations: 40 kB / 0.6425 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.347e-05/0.5855, allocations: 76 kB / 0.6425 GB, free: 2.605 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.873e-05/0.5856, allocations: 100 kB / 0.6426 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.588, allocations: 0.8149 MB / 0.6434 GB, free: 1.691 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001092/0.5881, allocations: 147.4 kB / 0.6436 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.5906, allocations: 0.4908 MB / 0.6441 GB, free: 1.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/0.5909, allocations: 224.2 kB / 0.6443 GB, free: 0.832 MB / 458.7 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.003103/0.594, allocations: 1.706 MB / 0.6459 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003558/0.5944, allocations: 201.4 kB / 0.6461 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.5969, allocations: 1.514 MB / 0.6476 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.597, allocations: 19.98 kB / 0.6476 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.597, allocations: 0 / 0.6476 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.597, allocations: 3.984 kB / 0.6476 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.6095, allocations: 7.382 MB / 0.6548 GB, free: 5.719 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.6096, allocations: 12 kB / 0.6548 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.6103, allocations: 187.7 kB / 0.655 GB, free: 5.523 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-05/0.6103, allocations: 20 kB / 0.655 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.85e-05/0.6104, allocations: 43.92 kB / 0.6551 GB, free: 5.461 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.56e-05/0.6105, allocations: 27.92 kB / 0.6551 GB, free: 5.434 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-05/0.6105, allocations: 27.81 kB / 0.6551 GB, free: 5.406 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.6146, allocations: 3.637 MB / 0.6587 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/0.6152, allocations: 321.9 kB / 0.659 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.6155, allocations: 39.98 kB / 0.659 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/0.6163, allocations: 51.86 kB / 0.6591 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.6165, allocations: 123.4 kB / 0.6592 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/0.6165, allocations: 55.98 kB / 0.6593 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002271/0.6188, allocations: 1.574 MB / 0.6608 GB, free: 15.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.533e-06/0.6188, allocations: 0 / 0.6608 GB, free: 15.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003406/0.6223, allocations: 0.9214 MB / 0.6617 GB, free: 14.39 MB / 490.7 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.0003631/0.6226, allocations: 182.7 kB / 0.6619 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003797/0.6264, allocations: 2.609 MB / 0.6644 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.6265, allocations: 4 kB / 0.6644 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009915/0.6275, allocations: 0.7027 MB / 0.6651 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.6299, allocations: 300.5 kB / 0.6654 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/0.6517, allocations: 9.474 MB / 0.6746 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00382/0.6556, allocations: 2.855 MB / 0.6774 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003421/0.659, allocations: 1.179 MB / 0.6786 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/0.6597, allocations: 163.4 kB / 0.6787 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of SimCode: time 1.904e-06/0.6598, allocations: 0 / 0.6787 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.2564/0.9161, allocations: 19.33 MB / 0.6976 GB, free: 155.4 MB / 0.4948 GB 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches