Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001171/0.001171, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.09 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 75.88 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3158, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.01784/0.3337, allocations: 16.28 MB / 0.5476 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01176/0.3455, allocations: 5.388 MB / 0.5528 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.3488, allocations: 127.7 kB / 0.5529 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01439/0.3633, allocations: 7.45 MB / 0.5602 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.3735, allocations: 3 MB / 0.5631 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004721/0.3783, allocations: 1.716 MB / 0.5648 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.3921, allocations: 8.417 MB / 0.573 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01214/0.4042, allocations: 8.902 MB / 0.5817 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005956/0.4102, allocations: 3.358 MB / 0.585 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00661/0.4169, allocations: 4.37 MB / 0.5893 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003023/0.4199, allocations: 0.707 MB / 0.59 GB, free: 5.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.4244, allocations: 1.53 MB / 0.5915 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005388/0.4299, allocations: 4.092 MB / 0.5955 GB, free: 132 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007389/0.4373, allocations: 4.467 MB / 0.5998 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01736/0.4547, allocations: 13.59 MB / 0.6131 GB, free: 14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4547, allocations: 0 / 0.6131 GB, free: 14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4547, allocations: 4 kB / 0.6131 GB, free: 14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005534/0.4553, allocations: 0 / 0.6131 GB, free: 14 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2873 * Number of variables: 2873 Notification: Performance of Generate backend data structure: time 0.0223/0.4776, allocations: 9.563 MB / 0.6224 GB, free: 4.344 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.4777, allocations: 12.03 kB / 0.6224 GB, free: 4.332 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.4887, allocations: 2.587 MB / 0.625 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.5005, allocations: 4.925 MB / 0.6298 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005106/0.5011, allocations: 0.5046 MB / 0.6303 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002192/0.5033, allocations: 0.648 MB / 0.6309 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04024/0.5435, allocations: 19.59 MB / 0.65 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003458/0.5439, allocations: 75.39 kB / 0.6501 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/0.546, allocations: 307.8 kB / 0.6504 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005164/0.5512, allocations: 3.313 MB / 0.6536 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03394/0.5852, allocations: 14.99 MB / 0.6683 GB, free: 4.086 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5932/1.178, allocations: 71.13 MB / 0.7377 GB, free: 115.4 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01851/1.197, allocations: 6.391 MB / 0.744 GB, free: 114.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002722/1.2, allocations: 2.36 MB / 0.7463 GB, free: 114.1 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01739/1.217, allocations: 10.81 MB / 0.7569 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/1.217, allocations: 61.22 kB / 0.7569 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=212): time 5.66e-06/1.217, allocations: 0 / 0.7569 GB, free: 108.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=236): time 0.04447/1.262, allocations: 16.46 MB / 0.773 GB, free: 97.36 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/1.262, allocations: 150.5 kB / 0.7731 GB, free: 97.18 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007073/1.269, allocations: 6.623 MB / 0.7796 GB, free: 90.57 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002301/1.269, allocations: 61.7 kB / 0.7796 GB, free: 90.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002114/1.271, allocations: 5.661 MB / 0.7852 GB, free: 84.84 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005914/1.272, allocations: 0.9304 MB / 0.7861 GB, free: 83.92 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/1.273, allocations: 1.812 MB / 0.7879 GB, free: 82.09 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.791e-05/1.273, allocations: 303.6 kB / 0.7881 GB, free: 81.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/1.276, allocations: 2.535 MB / 0.7906 GB, free: 79.26 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004714/1.281, allocations: 8.24 MB / 0.7987 GB, free: 68.31 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009064/1.29, allocations: 11.74 MB / 0.8101 GB, free: 53.95 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001366/1.29, allocations: 60 kB / 0.8102 GB, free: 53.89 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01626/1.307, allocations: 10.43 MB / 0.8204 GB, free: 43.45 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/1.307, allocations: 92 kB / 0.8205 GB, free: 43.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/1.307, allocations: 204.8 kB / 0.8207 GB, free: 43.16 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/1.307, allocations: 264 kB / 0.8209 GB, free: 42.91 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005832/1.313, allocations: 2.074 MB / 0.8229 GB, free: 40.83 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000279/1.313, allocations: 398.5 kB / 0.8233 GB, free: 40.44 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006113/1.32, allocations: 442.8 kB / 0.8237 GB, free: 40.01 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009734/1.321, allocations: 0.5546 MB / 0.8243 GB, free: 39.45 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 88 (cutForce2b.torqueArrow.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2a.torqueArrow.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1b.torqueArrow.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1a.torqueArrow.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.forceArrow.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1129): * Single equations (assignments): 1118 * Array equations: 11 * 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.006013/1.327, allocations: 3.733 MB / 0.8279 GB, free: 35.7 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.328, allocations: 0.5629 MB / 0.8285 GB, free: 35.13 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/1.329, allocations: 0.6745 MB / 0.8291 GB, free: 34.44 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/1.329, allocations: 19.95 kB / 0.8292 GB, free: 34.42 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/1.329, allocations: 0 / 0.8292 GB, free: 34.42 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.331, allocations: 0.5718 MB / 0.8297 GB, free: 33.82 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/1.332, allocations: 32 kB / 0.8297 GB, free: 33.79 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.334, allocations: 107.9 kB / 0.8298 GB, free: 33.69 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002654/1.334, allocations: 117.8 kB / 0.83 GB, free: 33.57 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004259/1.339, allocations: 2.856 MB / 0.8327 GB, free: 30.74 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00338/1.342, allocations: 3.246 MB / 0.8359 GB, free: 27.48 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001157/1.343, allocations: 1.143 MB / 0.837 GB, free: 26.34 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006942/1.35, allocations: 4.123 MB / 0.8411 GB, free: 22.23 MB / 0.5607 GB Notification: Performance of Backend: time 5.81e-07/1.35, allocations: 0 / 0.8411 GB, free: 22.23 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01015/1.36, allocations: 5.086 MB / 0.846 GB, free: 17.21 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02878/1.389, allocations: 15.98 MB / 0.8616 GB, free: 1.191 MB / 0.5607 GB Notification: Performance of Templates: time 0.1225/1.512, allocations: 57.68 MB / 0.918 GB, free: 7.777 MB / 0.6232 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches