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.001514/0.001519, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 46.11 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 81.98 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1237, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01044/0.1341, allocations: 10.1 MB / 491.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005954/0.1401, allocations: 3.08 MB / 494.6 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.1414, allocations: 55.88 kB / 494.7 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004435/0.1459, allocations: 2.609 MB / 497.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.1489, allocations: 1.175 MB / 498.5 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.1496, allocations: 355.3 kB / 498.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003288/0.1529, allocations: 2.54 MB / 0.4896 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003002/0.156, allocations: 2.992 MB / 0.4925 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.1571, allocations: 1.059 MB / 0.4936 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.1586, allocations: 1.367 MB / 0.4949 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.159, allocations: 255.9 kB / 0.4952 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.1601, allocations: 0.7529 MB / 0.4959 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.1612, allocations: 1.325 MB / 0.4972 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.1624, allocations: 1.557 MB / 0.4987 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004486/0.1669, allocations: 5.1 MB / 0.5037 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1669, allocations: 0 / 0.5037 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1669, allocations: 4 kB / 0.5037 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.987e-05/0.167, 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.2202/0.3872, allocations: 3.259 MB / 0.5069 GB, free: 40.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.3873, allocations: 9.594 kB / 0.5069 GB, free: 40.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005614/0.3929, allocations: 1.61 MB / 0.5085 GB, free: 39.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003425/0.3963, allocations: 1.503 MB / 0.5099 GB, free: 39.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.3965, allocations: 178.9 kB / 0.5101 GB, free: 38.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003929/0.3969, allocations: 228 kB / 0.5103 GB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00983/0.4067, allocations: 7.113 MB / 0.5173 GB, free: 35.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.4068, allocations: 21.72 kB / 0.5173 GB, free: 35.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.407, allocations: 110.1 kB / 0.5174 GB, free: 35.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001941/0.409, allocations: 1.447 MB / 0.5188 GB, free: 35.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.4191, allocations: 5.952 MB / 0.5246 GB, free: 33.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.024/0.4432, allocations: 22.28 MB / 0.5464 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/0.4469, allocations: 2.204 MB / 0.5485 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007606/0.4477, allocations: 0.7659 MB / 0.5493 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005733/0.4534, allocations: 3.849 MB / 0.553 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.4535, allocations: 39.12 kB / 0.5531 GB, free: 4.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 4.208e-06/0.4535, allocations: 0 / 0.5531 GB, free: 4.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005256/0.4588, allocations: 2.24 MB / 0.5552 GB, free: 1.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.4588, allocations: 55.97 kB / 0.5553 GB, free: 1.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.4611, allocations: 2.059 MB / 0.5573 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.4612, allocations: 33.7 kB / 0.5573 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.4626, allocations: 2.027 MB / 0.5593 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.463, allocations: 343.7 kB / 0.5597 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007991/0.4638, allocations: 0.6545 MB / 0.5603 GB, free: 12.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4639, allocations: 361.9 kB / 0.5606 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.4652, allocations: 0.9352 MB / 0.5615 GB, free: 11.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.4677, allocations: 2.869 MB / 0.5643 GB, free: 7.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004325/0.472, allocations: 4.152 MB / 0.5684 GB, free: 2.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.886e-05/0.4721, allocations: 20 kB / 0.5684 GB, free: 2.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005856/0.4779, allocations: 3.713 MB / 0.572 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.478, allocations: 35.94 kB / 0.5721 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/0.4781, allocations: 68.09 kB / 0.5721 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-05/0.4782, allocations: 96 kB / 0.5722 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.4801, allocations: 0.6861 MB / 0.5729 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001156/0.4803, allocations: 131.5 kB / 0.573 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.4823, allocations: 431.4 kB / 0.5734 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.4826, allocations: 196 kB / 0.5736 GB, free: 13.09 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.002028/0.4846, allocations: 1.503 MB / 0.5751 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.4849, allocations: 177.7 kB / 0.5753 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.4852, allocations: 210.2 kB / 0.5755 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.4853, allocations: 12 kB / 0.5755 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.4853, allocations: 0 / 0.5755 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4853, allocations: 7.922 kB / 0.5755 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007507/0.4928, allocations: 4.934 MB / 0.5803 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.4929, allocations: 16.05 kB / 0.5803 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.4933, allocations: 115.8 kB / 0.5804 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.4933, allocations: 8 kB / 0.5804 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.4934, allocations: 31.92 kB / 0.5805 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.379e-05/0.4934, allocations: 15.94 kB / 0.5805 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/0.4934, allocations: 11.94 kB / 0.5805 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.495, allocations: 1.407 MB / 0.5819 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.4955, allocations: 282.4 kB / 0.5821 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.4957, allocations: 23.92 kB / 0.5822 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.4962, allocations: 31.89 kB / 0.5822 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.4963, allocations: 67.75 kB / 0.5823 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/0.4964, allocations: 39.97 kB / 0.5823 GB, free: 3.887 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001843/0.4982, allocations: 1.444 MB / 0.5837 GB, free: 2.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4982, allocations: 4 kB / 0.5837 GB, free: 2.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002674/0.5009, allocations: 0.7711 MB / 0.5845 GB, free: 1.648 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.000339/0.5013, allocations: 149.6 kB / 0.5846 GB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003141/0.5044, allocations: 2.166 MB / 0.5867 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.5044, allocations: 64 / 0.5867 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005866/0.505, allocations: 0.5057 MB / 0.5872 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.5064, allocations: 280.4 kB / 0.5875 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.517, allocations: 5.706 MB / 0.5931 GB, free: 8.738 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002628/0.5197, allocations: 2.514 MB / 0.5955 GB, free: 6.191 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002258/0.522, allocations: 1.026 MB / 0.5965 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.5223, allocations: 135.4 kB / 0.5966 GB, free: 5.031 MB / 430.1 MB Notification: Performance of SimCode: time 1.924e-06/0.5223, allocations: 0 / 0.5966 GB, free: 5.031 MB / 430.1 MB Notification: Performance of Templates: time 0.03232/0.5547, allocations: 16.11 MB / 0.6124 GB, free: 4.938 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 cvode -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