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.001146/0.001146, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2013/0.2013, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 69.14 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1228, allocations: 62.45 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01144/0.1343, allocations: 10.1 MB / 491.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006106/0.1405, allocations: 3.076 MB / 494.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.142, allocations: 51.94 kB / 494.7 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004769/0.1468, allocations: 2.617 MB / 497.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.15, allocations: 1.171 MB / 498.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.1509, allocations: 355.3 kB / 498.8 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.1544, allocations: 2.544 MB / 0.4896 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.1579, allocations: 2.992 MB / 0.4925 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.1593, allocations: 1.048 MB / 0.4936 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.1609, allocations: 1.375 MB / 0.4949 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.1612, allocations: 252 kB / 0.4951 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.1624, allocations: 0.7568 MB / 0.4959 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.1635, allocations: 1.329 MB / 0.4972 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.165, allocations: 1.55 MB / 0.4987 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.169, allocations: 5.112 MB / 0.5037 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1691, allocations: 3.938 kB / 0.5037 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1691, allocations: 0 / 0.5037 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.632e-05/0.1691, allocations: 0 / 0.5037 GB, free: 2.047 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.2093/0.3784, allocations: 3.261 MB / 0.5069 GB, free: 40.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3785, allocations: 9.734 kB / 0.5069 GB, free: 40.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.3836, allocations: 1.603 MB / 0.5084 GB, free: 39.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/0.3865, allocations: 1.507 MB / 0.5099 GB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.3867, allocations: 178.7 kB / 0.5101 GB, free: 38.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003852/0.3871, allocations: 234.5 kB / 0.5103 GB, free: 38.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.3981, allocations: 7.112 MB / 0.5173 GB, free: 35.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.303e-05/0.3982, allocations: 16.5 kB / 0.5173 GB, free: 35.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/0.3985, allocations: 107.5 kB / 0.5174 GB, free: 35.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002083/0.4006, allocations: 1.446 MB / 0.5188 GB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009968/0.4106, allocations: 5.958 MB / 0.5246 GB, free: 33.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02265/0.4332, allocations: 22.27 MB / 0.5464 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/0.4369, allocations: 2.192 MB / 0.5485 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.4377, allocations: 0.7659 MB / 0.5492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005731/0.4434, allocations: 3.849 MB / 0.553 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.4435, allocations: 43.11 kB / 0.553 GB, free: 4.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.237e-06/0.4435, allocations: 0 / 0.553 GB, free: 4.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005007/0.4485, allocations: 2.244 MB / 0.5552 GB, free: 1.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.4485, allocations: 59.97 kB / 0.5553 GB, free: 1.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.4506, allocations: 2.059 MB / 0.5573 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.4506, allocations: 33.7 kB / 0.5573 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.4523, allocations: 2.031 MB / 0.5593 GB, free: 13.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.4526, allocations: 335.7 kB / 0.5596 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007294/0.4534, allocations: 0.6545 MB / 0.5603 GB, free: 12.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4535, allocations: 365.9 kB / 0.5606 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.4548, allocations: 0.9352 MB / 0.5615 GB, free: 11.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002842/0.4576, allocations: 2.866 MB / 0.5643 GB, free: 7.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004635/0.4623, allocations: 4.161 MB / 0.5684 GB, free: 2.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-05/0.4623, allocations: 20 kB / 0.5684 GB, free: 2.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005123/0.4674, allocations: 3.702 MB / 0.572 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.4675, allocations: 32.19 kB / 0.5721 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-05/0.4675, allocations: 76.88 kB / 0.5721 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.118e-05/0.4676, allocations: 88 kB / 0.5722 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.4695, allocations: 0.694 MB / 0.5729 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.682e-05/0.4696, allocations: 128.8 kB / 0.573 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.4713, allocations: 435.3 kB / 0.5734 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.4716, allocations: 196 kB / 0.5736 GB, free: 13.06 MB / 414.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.002115/0.4738, allocations: 1.511 MB / 0.5751 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.474, allocations: 173.7 kB / 0.5753 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.4743, allocations: 214.2 kB / 0.5755 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.4744, allocations: 8 kB / 0.5755 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4744, allocations: 0 / 0.5755 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.4744, allocations: 7.984 kB / 0.5755 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007687/0.4821, allocations: 4.934 MB / 0.5803 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.4821, allocations: 8 kB / 0.5803 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.4826, allocations: 119.8 kB / 0.5804 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.4826, allocations: 12 kB / 0.5804 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.685e-05/0.4826, allocations: 19.94 kB / 0.5805 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.381e-05/0.4826, allocations: 19.92 kB / 0.5805 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.4827, allocations: 11.94 kB / 0.5805 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.4843, allocations: 1.403 MB / 0.5819 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.4847, allocations: 278.5 kB / 0.5821 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.485, allocations: 27.92 kB / 0.5821 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/0.4855, allocations: 31.89 kB / 0.5822 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.4856, allocations: 67.75 kB / 0.5822 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.4857, allocations: 39.97 kB / 0.5823 GB, free: 3.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001893/0.4876, allocations: 1.444 MB / 0.5837 GB, free: 2.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4876, allocations: 4 kB / 0.5837 GB, free: 2.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002466/0.4901, allocations: 0.7711 MB / 0.5844 GB, free: 1.633 MB / 414.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 (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.0002871/0.4903, allocations: 149.5 kB / 0.5846 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002795/0.4932, allocations: 2.166 MB / 0.5867 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4932, allocations: 8.125 kB / 0.5867 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.4937, allocations: 0.5016 MB / 0.5872 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.4949, allocations: 284.6 kB / 0.5875 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007716/0.5027, allocations: 5.702 MB / 0.593 GB, free: 8.719 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/0.5051, allocations: 2.514 MB / 0.5955 GB, free: 6.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001869/0.507, allocations: 1.027 MB / 0.5965 GB, free: 5.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.5072, allocations: 131.4 kB / 0.5966 GB, free: 5.016 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5073, allocations: 0 / 0.5966 GB, free: 5.016 MB / 430.1 MB Notification: Performance of Templates: time 0.02877/0.536, allocations: 16.11 MB / 0.6124 GB, free: 4.926 MB / 446.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches