Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001072, allocations: 103.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 192 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.92 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1157, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01222/0.128, allocations: 10.51 MB / 481.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007512/0.1356, allocations: 3.103 MB / 484.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.1376, allocations: 63.88 kB / 484.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004986/0.1426, allocations: 2.609 MB / 487 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003199/0.1459, allocations: 1.222 MB / 488.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1469, allocations: 351.3 kB / 488.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003439/0.1504, allocations: 2.59 MB / 491.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003942/0.1544, allocations: 3.035 MB / 494.2 MB, free: 6.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.1563, allocations: 1.09 MB / 495.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.1588, allocations: 1.413 MB / 496.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008891/0.1597, allocations: 260 kB / 496.9 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.1618, allocations: 0.7607 MB / 497.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.1636, allocations: 1.391 MB / 499.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003022/0.1667, allocations: 1.635 MB / 0.489 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006108/0.1728, allocations: 5.353 MB / 0.4942 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1728, allocations: 0 / 0.4942 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1728, allocations: 0 / 0.4942 GB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001507/0.173, allocations: 0 / 0.4942 GB, free: 10.12 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.006202/0.1792, allocations: 3.399 MB / 0.4975 GB, free: 6.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1793, allocations: 12.03 kB / 0.4975 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/0.1842, allocations: 1.661 MB / 0.4992 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.1877, allocations: 1.539 MB / 0.5007 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.1878, allocations: 185.1 kB / 0.5008 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005413/0.1884, allocations: 243.8 kB / 0.5011 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2528/0.4412, allocations: 7.489 MB / 0.5084 GB, free: 45.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-05/0.4413, allocations: 14.19 kB / 0.5084 GB, free: 45.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002612/0.4416, allocations: 110.2 kB / 0.5085 GB, free: 45.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00228/0.4439, allocations: 1.569 MB / 0.51 GB, free: 44.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.4557, allocations: 6.258 MB / 0.5162 GB, free: 42.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0285/0.4843, allocations: 23.14 MB / 0.5388 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003671/0.488, allocations: 2.199 MB / 0.5409 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.4887, allocations: 0.7693 MB / 0.5417 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005747/0.4945, allocations: 3.894 MB / 0.5455 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.4945, allocations: 35.12 kB / 0.5455 GB, free: 17.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.284e-06/0.4945, allocations: 0 / 0.5455 GB, free: 17.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.004985/0.4995, allocations: 2.255 MB / 0.5477 GB, free: 15.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.4996, allocations: 55.97 kB / 0.5477 GB, free: 15.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/0.5015, allocations: 2.101 MB / 0.5498 GB, free: 13.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.5016, allocations: 37.7 kB / 0.5498 GB, free: 13.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007954/0.5024, allocations: 2.112 MB / 0.5519 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.5026, allocations: 355.5 kB / 0.5522 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006039/0.5032, allocations: 0.6625 MB / 0.5529 GB, free: 9.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.5032, allocations: 303.8 kB / 0.5532 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009444/0.5042, allocations: 0.9431 MB / 0.5541 GB, free: 8.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.5058, allocations: 2.916 MB / 0.5569 GB, free: 4.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/0.5089, allocations: 4.209 MB / 0.5611 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.841e-05/0.5089, allocations: 20 kB / 0.5611 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005172/0.5141, allocations: 3.759 MB / 0.5647 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.5142, allocations: 36 kB / 0.5648 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-05/0.5143, allocations: 71.94 kB / 0.5648 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.682e-05/0.5143, allocations: 95.98 kB / 0.5649 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.5162, allocations: 0.6979 MB / 0.5656 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000107/0.5163, allocations: 139.4 kB / 0.5657 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.5182, allocations: 435.7 kB / 0.5662 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/0.5184, allocations: 204 kB / 0.5664 GB, free: 10.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.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 (388): * Single equations (assignments): 383 * 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.002573/0.521, allocations: 1.55 MB / 0.5679 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.5213, allocations: 173.7 kB / 0.568 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.5217, allocations: 218.7 kB / 0.5682 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.5217, allocations: 15.92 kB / 0.5683 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.5217, allocations: 4 kB / 0.5683 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.5218, allocations: 3.984 kB / 0.5683 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008992/0.5308, allocations: 5.077 MB / 0.5732 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/0.5308, allocations: 8 kB / 0.5732 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.5313, allocations: 119.8 kB / 0.5733 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.5313, allocations: 11.94 kB / 0.5734 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.5314, allocations: 28.7 kB / 0.5734 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.5314, allocations: 11.94 kB / 0.5734 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.5314, allocations: 16 kB / 0.5734 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.533, allocations: 1.402 MB / 0.5748 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/0.5337, allocations: 290.3 kB / 0.5751 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.534, allocations: 23.94 kB / 0.5751 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/0.5348, allocations: 39.81 kB / 0.5751 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.5349, allocations: 55.83 kB / 0.5752 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/0.535, allocations: 35.98 kB / 0.5752 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002011/0.537, allocations: 1.48 MB / 0.5767 GB, free: 15.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.537, allocations: 0 / 0.5767 GB, free: 15.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002981/0.54, allocations: 0.8176 MB / 0.5775 GB, free: 14.42 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.0003895/0.5404, allocations: 153.5 kB / 0.5776 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003567/0.544, allocations: 2.198 MB / 0.5797 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.544, allocations: 0 / 0.5797 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006491/0.5446, allocations: 0.5009 MB / 0.5802 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.5462, allocations: 287.5 kB / 0.5805 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.5571, allocations: 5.92 MB / 0.5863 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00385/0.561, allocations: 2.599 MB / 0.5888 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002601/0.5636, allocations: 1.04 MB / 0.5898 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.5641, allocations: 139.4 kB / 0.59 GB, free: 1.441 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5641, allocations: 0 / 0.59 GB, free: 1.441 MB / 414.1 MB Notification: Performance of Templates: time 0.03835/0.6025, allocations: 16.71 MB / 0.6063 GB, free: 0.7812 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches