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.001098/0.001098, allocations: 104.5 kB / 15.98 MB, free: 5.902 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.001261/0.001261, allocations: 196 kB / 16.91 MB, free: 5.746 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.599/1.599, allocations: 205.1 MB / 222.8 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3735/0.3735, allocations: 43.5 MB / 313.6 MB, free: 8.59 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.001452/0.001453, allocations: 63.91 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1502, allocations: 57.78 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3409/0.4911, allocations: 54.56 MB / 494.6 MB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02724/0.5184, allocations: 10.33 MB / 0.4931 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01816/0.5366, allocations: 222.5 kB / 0.4933 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00659/0.5432, allocations: 2.561 MB / 0.4958 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006057/0.5494, allocations: 1.27 MB / 0.497 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.5514, allocations: 325.2 kB / 0.4973 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006887/0.5583, allocations: 2.897 MB / 0.5001 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008419/0.5667, allocations: 3.327 MB / 0.5034 GB, free: 5.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004552/0.5713, allocations: 1.207 MB / 0.5046 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.5761, allocations: 1.777 MB / 0.5063 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002021/0.5782, allocations: 296.5 kB / 0.5066 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004204/0.5824, allocations: 0.7896 MB / 0.5074 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004865/0.5873, allocations: 1.574 MB / 0.5089 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007124/0.5945, allocations: 1.843 MB / 0.5107 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.6084, allocations: 5.815 MB / 0.5164 GB, free: 15.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.6085, allocations: 0 / 0.5164 GB, free: 15.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.117e-06/0.6085, allocations: 5.312 kB / 0.5164 GB, free: 15.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003274/0.6088, allocations: 0 / 0.5164 GB, free: 15.79 MB / 398.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.01568/0.6245, allocations: 3.746 MB / 0.52 GB, free: 13.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.91e-05/0.6246, allocations: 12.45 kB / 0.5201 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006561/0.6312, allocations: 1.713 MB / 0.5217 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005291/0.6365, allocations: 1.64 MB / 0.5233 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/0.6368, allocations: 213.4 kB / 0.5235 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/0.6382, allocations: 261 kB / 0.5238 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02424/0.6624, allocations: 8.374 MB / 0.532 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.6627, allocations: 15.88 kB / 0.532 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/0.6638, allocations: 123.9 kB / 0.5321 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004346/0.6682, allocations: 1.756 MB / 0.5338 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01977/0.688, allocations: 7.042 MB / 0.5407 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05428/0.7424, allocations: 25.91 MB / 0.566 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005768/0.7482, allocations: 2.541 MB / 0.5685 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.7499, allocations: 0.9746 MB / 0.5694 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008815/0.7588, allocations: 4.457 MB / 0.5738 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.7588, allocations: 43.5 kB / 0.5738 GB, free: 6.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 3.356e-06/0.7589, allocations: 4 kB / 0.5738 GB, free: 6.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.007493/0.7664, allocations: 2.719 MB / 0.5765 GB, free: 4.137 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.7665, allocations: 64.41 kB / 0.5765 GB, free: 4.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/0.7708, allocations: 2.261 MB / 0.5787 GB, free: 1.762 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.771, allocations: 37.7 kB / 0.5788 GB, free: 1.719 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/0.773, allocations: 2.318 MB / 0.581 GB, free: 15.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007298/0.7737, allocations: 462 kB / 0.5815 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.7748, allocations: 0.746 MB / 0.5822 GB, free: 14.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.7751, allocations: 305.1 kB / 0.5825 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.7769, allocations: 1.124 MB / 0.5836 GB, free: 12.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004161/0.7811, allocations: 3.291 MB / 0.5868 GB, free: 8.371 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006626/0.7877, allocations: 4.811 MB / 0.5915 GB, free: 2.488 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.773e-05/0.7878, allocations: 20 kB / 0.5915 GB, free: 2.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008661/0.7965, allocations: 4.332 MB / 0.5958 GB, free: 14.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.7966, allocations: 36 kB / 0.5958 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.019e-05/0.7967, allocations: 76 kB / 0.5959 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/0.7968, allocations: 100.8 kB / 0.596 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.7992, allocations: 0.8188 MB / 0.5968 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000118/0.7993, allocations: 147.4 kB / 0.5969 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/0.8021, allocations: 0.4947 MB / 0.5974 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/0.8024, allocations: 223.9 kB / 0.5976 GB, free: 12.24 MB / 478.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.003619/0.806, allocations: 1.71 MB / 0.5993 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.8064, allocations: 197.4 kB / 0.5995 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.8091, allocations: 1.51 MB / 0.6009 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.344e-05/0.8091, allocations: 16 kB / 0.601 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8092, allocations: 0 / 0.601 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.8092, allocations: 3.984 kB / 0.601 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.8223, allocations: 7.377 MB / 0.6082 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/0.8224, allocations: 16 kB / 0.6082 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007614/0.8232, allocations: 196.5 kB / 0.6084 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.707e-05/0.8232, allocations: 24 kB / 0.6084 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/0.8233, allocations: 32 kB / 0.6084 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.242e-05/0.8233, allocations: 27.92 kB / 0.6084 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.727e-05/0.8233, allocations: 27.81 kB / 0.6085 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.8262, allocations: 1.996 MB / 0.6104 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006568/0.8269, allocations: 326 kB / 0.6107 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.8271, allocations: 35.98 kB / 0.6108 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007791/0.8279, allocations: 59.86 kB / 0.6108 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.8282, allocations: 115.3 kB / 0.6109 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/0.8283, allocations: 51.98 kB / 0.611 GB, free: 14.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002551/0.8308, allocations: 1.57 MB / 0.6125 GB, free: 12.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8308, allocations: 3.938 kB / 0.6125 GB, free: 12.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003745/0.8346, allocations: 0.9292 MB / 0.6134 GB, free: 11.48 MB / 494.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.0004389/0.835, allocations: 182.7 kB / 0.6136 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005486/0.8405, allocations: 2.898 MB / 0.6164 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/0.8406, allocations: 0.8125 kB / 0.6164 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.8417, allocations: 0.7021 MB / 0.6171 GB, free: 7.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.8439, allocations: 309.2 kB / 0.6174 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.8587, allocations: 8.744 MB / 0.6259 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00327/0.862, allocations: 2.836 MB / 0.6287 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00297/0.865, allocations: 1.171 MB / 0.6299 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/0.8654, allocations: 163.4 kB / 0.63 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/0.8654, allocations: 0 / 0.63 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.2783/1.144, allocations: 19.38 MB / 0.6489 GB, free: 155.1 MB / 0.4981 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/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