Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 102.2 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 190.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.000284, allocations: 8 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 63.57 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.03295/0.1501, allocations: 34.23 MB / 0.5045 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3048/0.455, allocations: 7.228 MB / 0.5116 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008309/0.4633, allocations: 155 kB / 0.5117 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00722/0.4706, allocations: 1.7 MB / 0.5134 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01735/0.488, allocations: 4.86 MB / 0.5181 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.4904, allocations: 296.2 kB / 0.5184 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005577/0.496, allocations: 2.924 MB / 0.5213 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007079/0.5031, allocations: 3.758 MB / 0.5249 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.5054, allocations: 0.7475 MB / 0.5257 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.5077, allocations: 1.141 MB / 0.5268 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003919/0.5081, allocations: 98.59 kB / 0.5269 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.5096, allocations: 0.5397 MB / 0.5274 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.5109, allocations: 1.116 MB / 0.5285 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008143/0.5117, allocations: 0.5776 MB / 0.5291 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005138/0.5169, allocations: 3.965 MB / 0.5329 GB, free: 4.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.5169, allocations: 0.8438 kB / 0.5329 GB, free: 4.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5169, allocations: 3.938 kB / 0.5329 GB, free: 4.379 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002504/0.5172, allocations: 0 / 0.5329 GB, free: 4.379 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.007245/0.5245, allocations: 2.702 MB / 0.5356 GB, free: 2.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5245, allocations: 10 kB / 0.5356 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/0.5298, allocations: 1.648 MB / 0.5372 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/0.5336, allocations: 1.465 MB / 0.5386 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.5338, allocations: 176.3 kB / 0.5388 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/0.5344, allocations: 230.4 kB / 0.539 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.5479, allocations: 7.098 MB / 0.5459 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/0.548, allocations: 11.88 kB / 0.546 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/0.5483, allocations: 108.6 kB / 0.5461 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/0.5507, allocations: 1.447 MB / 0.5475 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.564, allocations: 5.911 MB / 0.5532 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03946/0.6036, allocations: 22.43 MB / 0.5752 GB, free: 2.625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005242/0.6089, allocations: 2.204 MB / 0.5773 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.6103, allocations: 0.7619 MB / 0.5781 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008257/0.6186, allocations: 3.856 MB / 0.5818 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.6187, allocations: 39.12 kB / 0.5819 GB, free: 11.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 5.631e-06/0.6187, allocations: 1.203 kB / 0.5819 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.006559/0.6253, allocations: 2.236 MB / 0.584 GB, free: 9.277 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.6254, allocations: 59.97 kB / 0.5841 GB, free: 9.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0042/0.6296, allocations: 2.043 MB / 0.5861 GB, free: 7.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.661e-05/0.6297, allocations: 33.7 kB / 0.5861 GB, free: 7.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00184/0.6315, allocations: 2.038 MB / 0.5881 GB, free: 5.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/0.6321, allocations: 343.3 kB / 0.5884 GB, free: 4.766 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.6323, allocations: 60 kB / 0.5885 GB, free: 4.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003923/0.6327, allocations: 0.4937 MB / 0.589 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.6344, allocations: 0.9235 MB / 0.5899 GB, free: 3.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/0.6375, allocations: 2.864 MB / 0.5927 GB, free: 15.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/0.6402, allocations: 1.618 MB / 0.5943 GB, free: 13.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.566e-05/0.6403, allocations: 25.69 kB / 0.5943 GB, free: 13.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006869/0.6471, allocations: 3.674 MB / 0.5979 GB, free: 10.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.6472, allocations: 36.19 kB / 0.5979 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/0.6474, allocations: 72 kB / 0.598 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001125/0.6475, allocations: 100 kB / 0.5981 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.6497, allocations: 0.6862 MB / 0.5987 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001323/0.6498, allocations: 135.5 kB / 0.5989 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/0.6523, allocations: 434.5 kB / 0.5993 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003286/0.6527, allocations: 200 kB / 0.5995 GB, free: 8.484 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.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 (382): * Single equations (assignments): 377 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002906/0.6556, allocations: 1.509 MB / 0.6009 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/0.6559, allocations: 169.7 kB / 0.6011 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.6564, allocations: 214.2 kB / 0.6013 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/0.6565, allocations: 8 kB / 0.6013 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.6565, allocations: 4 kB / 0.6013 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.6565, allocations: 3.984 kB / 0.6013 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009452/0.6659, allocations: 4.93 MB / 0.6061 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/0.666, allocations: 11.94 kB / 0.6062 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.6665, allocations: 115.8 kB / 0.6063 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.228e-05/0.6665, allocations: 15.95 kB / 0.6063 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.6666, allocations: 23.98 kB / 0.6063 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.83e-05/0.6666, allocations: 15.94 kB / 0.6063 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.6666, allocations: 9.969 kB / 0.6063 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.6686, allocations: 1.391 MB / 0.6077 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/0.6693, allocations: 302.2 kB / 0.608 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/0.6697, allocations: 19.95 kB / 0.608 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.6704, allocations: 38.22 kB / 0.608 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.6706, allocations: 63.83 kB / 0.6081 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/0.6706, allocations: 32 kB / 0.6081 GB, free: 15.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002544/0.6732, allocations: 1.432 MB / 0.6095 GB, free: 13.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6732, allocations: 4 kB / 0.6095 GB, free: 13.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0035/0.6767, allocations: 0.7713 MB / 0.6103 GB, free: 13.09 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003982/0.6771, allocations: 141.4 kB / 0.6104 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003833/0.681, allocations: 2.134 MB / 0.6125 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.681, allocations: 4.188 kB / 0.6125 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007342/0.6817, allocations: 0.4976 MB / 0.613 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.6838, allocations: 273.6 kB / 0.6132 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.6983, allocations: 6.95 MB / 0.62 GB, free: 2.984 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004593/0.703, allocations: 2.514 MB / 0.6225 GB, free: 452 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002992/0.706, allocations: 1.02 MB / 0.6235 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/0.7065, allocations: 135.4 kB / 0.6236 GB, free: 15.29 MB / 478.1 MB Notification: Performance of SimCode: time 1.413e-06/0.7065, allocations: 0 / 0.6236 GB, free: 15.29 MB / 478.1 MB Notification: Performance of Templates: time 0.03547/0.742, allocations: 15.21 MB / 0.6385 GB, free: 160 kB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches