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.001033/0.001033, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 79.86 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3626, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01159/0.3742, allocations: 10.12 MB / 0.5409 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007095/0.3814, allocations: 3.078 MB / 0.5439 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.3831, allocations: 52.28 kB / 0.5439 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004889/0.3881, allocations: 2.613 MB / 0.5465 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.3911, allocations: 1.177 MB / 0.5476 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009223/0.3921, allocations: 351.3 kB / 0.548 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003517/0.3956, allocations: 2.536 MB / 0.5504 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003626/0.3992, allocations: 3 MB / 0.5534 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.4009, allocations: 1.052 MB / 0.5544 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.4032, allocations: 1.367 MB / 0.5557 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00074/0.404, allocations: 252 kB / 0.556 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.4059, allocations: 0.7568 MB / 0.5567 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.4077, allocations: 1.336 MB / 0.558 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.4107, allocations: 1.553 MB / 0.5595 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007046/0.4178, allocations: 5.117 MB / 0.5645 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.4178, allocations: 4 kB / 0.5645 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.686e-06/0.4179, allocations: 0 / 0.5645 GB, free: 15.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001684/0.418, allocations: 3.938 kB / 0.5645 GB, free: 15.25 MB / 430.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.007541/0.4256, allocations: 3.353 MB / 0.5678 GB, free: 11.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4256, allocations: 8.031 kB / 0.5678 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004892/0.4305, allocations: 1.621 MB / 0.5694 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.4331, allocations: 1.505 MB / 0.5709 GB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.4333, allocations: 180.9 kB / 0.571 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003679/0.4337, allocations: 235.8 kB / 0.5713 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.4444, allocations: 7.11 MB / 0.5782 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-05/0.4444, allocations: 11.88 kB / 0.5782 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/0.4447, allocations: 103.9 kB / 0.5783 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002082/0.4468, allocations: 1.451 MB / 0.5797 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.4572, allocations: 5.956 MB / 0.5855 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03191/0.4891, allocations: 22.34 MB / 0.6074 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/0.4937, allocations: 2.196 MB / 0.6095 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.4949, allocations: 0.766 MB / 0.6103 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007188/0.5021, allocations: 3.872 MB / 0.614 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.5022, allocations: 39.12 kB / 0.6141 GB, free: 11.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 2.976e-06/0.5022, allocations: 0 / 0.6141 GB, free: 11.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.005973/0.5082, allocations: 2.256 MB / 0.6163 GB, free: 8.941 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.5082, allocations: 55.97 kB / 0.6163 GB, free: 8.875 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003784/0.512, allocations: 2.056 MB / 0.6183 GB, free: 6.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.5121, allocations: 37.7 kB / 0.6184 GB, free: 6.777 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.514, allocations: 2.114 MB / 0.6204 GB, free: 4.641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004826/0.5145, allocations: 361.3 kB / 0.6208 GB, free: 4.285 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.5155, allocations: 0.6512 MB / 0.6214 GB, free: 3.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.5158, allocations: 369.8 kB / 0.6218 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.5172, allocations: 0.9352 MB / 0.6227 GB, free: 2.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003015/0.5202, allocations: 2.864 MB / 0.6255 GB, free: 14.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004838/0.5251, allocations: 4.151 MB / 0.6295 GB, free: 9.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-05/0.5252, allocations: 20 kB / 0.6296 GB, free: 9.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006358/0.5315, allocations: 3.714 MB / 0.6332 GB, free: 5.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/0.5316, allocations: 39.97 kB / 0.6332 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/0.5317, allocations: 68 kB / 0.6333 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/0.5318, allocations: 92 kB / 0.6334 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002026/0.5339, allocations: 0.6862 MB / 0.634 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002015/0.5341, allocations: 139.4 kB / 0.6342 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.5361, allocations: 448.6 kB / 0.6346 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.5364, allocations: 192 kB / 0.6348 GB, free: 3.996 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002388/0.5388, allocations: 1.507 MB / 0.6363 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.5391, allocations: 178.8 kB / 0.6364 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.5396, allocations: 214.2 kB / 0.6366 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/0.5396, allocations: 11.98 kB / 0.6366 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.5397, allocations: 0 / 0.6366 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.5397, allocations: 3.984 kB / 0.6366 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009271/0.5489, allocations: 4.944 MB / 0.6415 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.549, allocations: 8 kB / 0.6415 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.5495, allocations: 119.8 kB / 0.6416 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.5495, allocations: 12 kB / 0.6416 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/0.5496, allocations: 23.98 kB / 0.6416 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.5496, allocations: 12 kB / 0.6416 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.834e-05/0.5496, allocations: 11.94 kB / 0.6417 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.5516, allocations: 1.419 MB / 0.643 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/0.5522, allocations: 295.5 kB / 0.6433 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/0.5525, allocations: 23.98 kB / 0.6433 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/0.5533, allocations: 39.86 kB / 0.6434 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.5534, allocations: 71.7 kB / 0.6434 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.5535, allocations: 35.98 kB / 0.6435 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002713/0.5562, allocations: 1.448 MB / 0.6449 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5562, allocations: 0 / 0.6449 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003453/0.5597, allocations: 0.7825 MB / 0.6457 GB, free: 8.516 MB / 0.4981 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.0004305/0.5601, allocations: 146.9 kB / 0.6458 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00418/0.5643, allocations: 2.173 MB / 0.6479 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.5643, allocations: 4 kB / 0.6479 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/0.5649, allocations: 0.4935 MB / 0.6484 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.5667, allocations: 278.5 kB / 0.6487 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.5778, allocations: 5.805 MB / 0.6543 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003517/0.5813, allocations: 2.518 MB / 0.6568 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0024/0.5838, allocations: 1.024 MB / 0.6578 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.5842, allocations: 139.4 kB / 0.6579 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of SimCode: time 1.383e-06/0.5843, allocations: 0 / 0.6579 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.03408/0.6183, allocations: 17.05 MB / 0.6746 GB, free: 10.75 MB / 0.5294 GB 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