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.001285/0.001285, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247.5 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.12 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002258, allocations: 76.75 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1294, allocations: 62.45 MB / 480.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01257/0.142, allocations: 10.1 MB / 490.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006832/0.1489, allocations: 3.08 MB / 493.9 MB, free: 8.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.1506, allocations: 51.94 kB / 494 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005024/0.1557, allocations: 2.617 MB / 496.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003409/0.1591, allocations: 1.179 MB / 497.8 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.16, allocations: 339.3 kB / 498.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003579/0.1636, allocations: 2.551 MB / 0.4889 GB, free: 1.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003849/0.1675, allocations: 2.988 MB / 0.4919 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.1693, allocations: 1.059 MB / 0.4929 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.1714, allocations: 1.371 MB / 0.4942 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005677/0.172, allocations: 252 kB / 0.4945 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.1735, allocations: 0.7529 MB / 0.4952 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.1749, allocations: 1.333 MB / 0.4965 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001782/0.1767, allocations: 1.55 MB / 0.498 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005742/0.1824, allocations: 4.938 MB / 0.5028 GB, free: 2.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1825, allocations: 4 kB / 0.5028 GB, free: 2.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1825, allocations: 4 kB / 0.5028 GB, free: 2.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001435/0.1827, allocations: 0 / 0.5028 GB, free: 2.945 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.2404/0.4231, allocations: 3.252 MB / 0.506 GB, free: 39.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4232, allocations: 10.34 kB / 0.506 GB, free: 39.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005901/0.4291, allocations: 1.606 MB / 0.5076 GB, free: 39.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003204/0.4323, allocations: 1.482 MB / 0.5091 GB, free: 39.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.4325, allocations: 182.7 kB / 0.5092 GB, free: 39.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005691/0.433, allocations: 229.7 kB / 0.5094 GB, free: 39.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.4457, allocations: 7.114 MB / 0.5164 GB, free: 36.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.158e-05/0.4458, allocations: 17.56 kB / 0.5164 GB, free: 36.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/0.4461, allocations: 106.7 kB / 0.5165 GB, free: 36.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002391/0.4485, allocations: 1.445 MB / 0.5179 GB, free: 35.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/0.4602, allocations: 5.955 MB / 0.5237 GB, free: 33.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02484/0.4851, allocations: 22.45 MB / 0.5457 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.489, allocations: 2.192 MB / 0.5478 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007718/0.4898, allocations: 0.7643 MB / 0.5485 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005253/0.4951, allocations: 3.861 MB / 0.5523 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.4951, allocations: 35.12 kB / 0.5524 GB, free: 4.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 4.208e-06/0.4952, allocations: 0 / 0.5524 GB, free: 4.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005318/0.5005, allocations: 2.252 MB / 0.5546 GB, free: 2.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.5005, allocations: 59.97 kB / 0.5546 GB, free: 2.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.5026, allocations: 2.056 MB / 0.5566 GB, free: 320 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.5027, allocations: 41.7 kB / 0.5567 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.5041, allocations: 2.027 MB / 0.5586 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.5044, allocations: 343.7 kB / 0.559 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008178/0.5053, allocations: 0.6467 MB / 0.5596 GB, free: 13.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.5055, allocations: 365.9 kB / 0.5599 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5068, allocations: 0.9313 MB / 0.5609 GB, free: 11.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/0.5099, allocations: 2.869 MB / 0.5637 GB, free: 8.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005252/0.5152, allocations: 4.157 MB / 0.5677 GB, free: 2.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.094e-05/0.5153, allocations: 20 kB / 0.5677 GB, free: 2.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006339/0.5216, allocations: 3.698 MB / 0.5713 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.5217, allocations: 36 kB / 0.5714 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.189e-05/0.5218, allocations: 69.48 kB / 0.5714 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.625e-05/0.5219, allocations: 88 kB / 0.5715 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.5239, allocations: 0.6901 MB / 0.5722 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001166/0.5241, allocations: 132 kB / 0.5723 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.5261, allocations: 439.2 kB / 0.5727 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/0.5263, allocations: 200 kB / 0.5729 GB, free: 13.61 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.002359/0.5287, allocations: 1.503 MB / 0.5744 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.529, allocations: 173.7 kB / 0.5746 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.5294, allocations: 210.2 kB / 0.5748 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.5294, allocations: 8 kB / 0.5748 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.5294, allocations: 4 kB / 0.5748 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.5295, allocations: 7.984 kB / 0.5748 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008097/0.5376, allocations: 4.933 MB / 0.5796 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.5376, allocations: 7.984 kB / 0.5796 GB, free: 6.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.5381, allocations: 119.8 kB / 0.5797 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/0.5381, allocations: 12.81 kB / 0.5797 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.5382, allocations: 27.92 kB / 0.5798 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-05/0.5382, allocations: 19.94 kB / 0.5798 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.5382, allocations: 8 kB / 0.5798 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.5401, allocations: 1.403 MB / 0.5812 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/0.5406, allocations: 286.3 kB / 0.5814 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.5408, allocations: 27.92 kB / 0.5815 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000538/0.5413, allocations: 39.89 kB / 0.5815 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.5414, allocations: 63.75 kB / 0.5816 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/0.5415, allocations: 35.98 kB / 0.5816 GB, free: 4.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00219/0.5437, allocations: 1.444 MB / 0.583 GB, free: 2.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5437, allocations: 0 / 0.583 GB, free: 2.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00281/0.5465, allocations: 0.7725 MB / 0.5838 GB, free: 2.172 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.0003439/0.5469, allocations: 152.1 kB / 0.5839 GB, free: 2.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003799/0.5507, allocations: 2.374 MB / 0.5862 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.5507, allocations: 1.938 kB / 0.5862 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006925/0.5514, allocations: 0.5051 MB / 0.5867 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.5529, allocations: 274 kB / 0.587 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.5637, allocations: 6.151 MB / 0.593 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00293/0.5667, allocations: 2.506 MB / 0.5954 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/0.5672, allocations: 167.4 kB / 0.5956 GB, free: 5.906 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5672, allocations: 0 / 0.5956 GB, free: 5.906 MB / 430.1 MB Notification: Performance of Templates: time 0.05788/0.6251, allocations: 33.49 MB / 0.6283 GB, free: 4.477 MB / 462.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/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