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.001391/0.001391, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001826/0.001826, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 78.14 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1361, allocations: 62.44 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01171/0.1478, allocations: 10.11 MB / 490.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006327/0.1542, allocations: 3.064 MB / 493.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.1558, allocations: 51.94 kB / 493.2 MB, free: 8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004787/0.1607, allocations: 2.621 MB / 495.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.1643, allocations: 1.175 MB / 497 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1654, allocations: 347.4 kB / 497.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004317/0.1697, allocations: 2.548 MB / 499.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/0.1741, allocations: 2.984 MB / 0.4911 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.1761, allocations: 1.063 MB / 0.4922 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.1785, allocations: 1.367 MB / 0.4935 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000846/0.1793, allocations: 255.9 kB / 0.4937 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.1811, allocations: 0.749 MB / 0.4945 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.1825, allocations: 1.325 MB / 0.4958 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.1841, allocations: 1.557 MB / 0.4973 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00508/0.1892, allocations: 4.938 MB / 0.5021 GB, free: 2.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.1892, allocations: 4 kB / 0.5021 GB, free: 2.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1892, allocations: 3.938 kB / 0.5021 GB, free: 2.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001023/0.1893, allocations: 0 / 0.5021 GB, free: 2.984 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.2352/0.4246, allocations: 3.255 MB / 0.5053 GB, free: 39.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.4246, allocations: 11.34 kB / 0.5053 GB, free: 39.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006218/0.4309, allocations: 1.601 MB / 0.5069 GB, free: 39.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.4341, allocations: 1.482 MB / 0.5083 GB, free: 39.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.4342, allocations: 182.8 kB / 0.5085 GB, free: 39.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000497/0.4347, allocations: 234.7 kB / 0.5087 GB, free: 39.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.4513, allocations: 7.113 MB / 0.5157 GB, free: 36.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.632e-05/0.4514, allocations: 17.75 kB / 0.5157 GB, free: 36.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006343/0.4521, allocations: 105.2 kB / 0.5158 GB, free: 36.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002482/0.4545, allocations: 1.454 MB / 0.5172 GB, free: 35.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.4667, allocations: 5.945 MB / 0.523 GB, free: 33.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03133/0.4981, allocations: 22.45 MB / 0.5449 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004195/0.5023, allocations: 2.196 MB / 0.5471 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009444/0.5033, allocations: 0.7682 MB / 0.5478 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00593/0.5092, allocations: 3.853 MB / 0.5516 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.5093, allocations: 35.12 kB / 0.5516 GB, free: 4.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.467e-06/0.5093, allocations: 0 / 0.5516 GB, free: 4.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.005551/0.5149, allocations: 2.251 MB / 0.5538 GB, free: 2.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.5149, allocations: 63.97 kB / 0.5539 GB, free: 2.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.5177, allocations: 2.056 MB / 0.5559 GB, free: 408 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.5178, allocations: 37.7 kB / 0.5559 GB, free: 364 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.5193, allocations: 2.027 MB / 0.5579 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.5196, allocations: 343.7 kB / 0.5582 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008703/0.5205, allocations: 0.6506 MB / 0.5589 GB, free: 13.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5207, allocations: 365.9 kB / 0.5592 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.5223, allocations: 0.9313 MB / 0.5601 GB, free: 12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002998/0.5253, allocations: 2.866 MB / 0.5629 GB, free: 8.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005125/0.5305, allocations: 4.159 MB / 0.567 GB, free: 3.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.459e-05/0.5305, allocations: 20 kB / 0.567 GB, free: 3.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006227/0.5368, allocations: 3.694 MB / 0.5706 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.5368, allocations: 40.16 kB / 0.5706 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-05/0.5369, allocations: 75.98 kB / 0.5707 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.684e-05/0.5371, allocations: 88 kB / 0.5708 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.5391, allocations: 0.6862 MB / 0.5715 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001183/0.5392, allocations: 135.4 kB / 0.5716 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.5415, allocations: 439.1 kB / 0.572 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/0.5418, allocations: 196 kB / 0.5722 GB, free: 13.69 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.002465/0.5443, allocations: 1.503 MB / 0.5737 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.5446, allocations: 169.8 kB / 0.5738 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/0.5451, allocations: 214.2 kB / 0.574 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.5451, allocations: 8 kB / 0.5741 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.5451, allocations: 7.938 kB / 0.5741 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5452, allocations: 3.984 kB / 0.5741 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009444/0.5546, allocations: 4.937 MB / 0.5789 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.5546, allocations: 8 kB / 0.5789 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.5551, allocations: 115.8 kB / 0.579 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.5552, allocations: 12 kB / 0.579 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.485e-05/0.5552, allocations: 23.92 kB / 0.579 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.5553, allocations: 15.94 kB / 0.5791 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.5553, allocations: 8 kB / 0.5791 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.5569, allocations: 1.411 MB / 0.5804 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/0.5574, allocations: 290.3 kB / 0.5807 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/0.5578, allocations: 23.94 kB / 0.5807 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.5584, allocations: 39.88 kB / 0.5808 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.5585, allocations: 59.77 kB / 0.5808 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.5586, allocations: 35.98 kB / 0.5809 GB, free: 4.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002878/0.5615, allocations: 1.452 MB / 0.5823 GB, free: 3.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5615, allocations: 0 / 0.5823 GB, free: 3.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004503/0.566, allocations: 0.7608 MB / 0.583 GB, free: 2.262 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.0005544/0.5666, allocations: 156.1 kB / 0.5832 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004238/0.5708, allocations: 2.372 MB / 0.5855 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/0.5709, allocations: 4.062 kB / 0.5855 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.5716, allocations: 0.5016 MB / 0.586 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.5736, allocations: 282 kB / 0.5863 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.5851, allocations: 5.786 MB / 0.5919 GB, free: 9.062 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003755/0.5889, allocations: 2.515 MB / 0.5944 GB, free: 6.516 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002682/0.5916, allocations: 1.024 MB / 0.5954 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.5921, allocations: 139.4 kB / 0.5955 GB, free: 5.355 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5921, allocations: 0 / 0.5955 GB, free: 5.355 MB / 430.1 MB Notification: Performance of Templates: time 0.03805/0.6301, allocations: 16.12 MB / 0.6112 GB, free: 5.27 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 -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