Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 200.3 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 226.5 MB / 243.4 MB, free: 6.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000856/0.0008561, allocations: 96.91 kB / 295.5 MB, free: 6.633 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.33/0.33, allocations: 44.82 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002688, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3222, allocations: 62.96 MB / 0.5159 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.03303/0.3552, allocations: 47.59 MB / 0.5623 GB, free: 3.293 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.3771, allocations: 9.724 MB / 0.5718 GB, free: 12.64 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01011/0.3872, allocations: 214.6 kB / 0.572 GB, free: 12.62 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008612/0.3959, allocations: 2.067 MB / 0.5741 GB, free: 11.89 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02093/0.4169, allocations: 5.958 MB / 0.5799 GB, free: 7.711 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.4199, allocations: 335.5 kB / 0.5802 GB, free: 7.383 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00478/0.4247, allocations: 3.117 MB / 0.5832 GB, free: 4.258 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00572/0.4304, allocations: 4.057 MB / 0.5872 GB, free: 132 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.4321, allocations: 0.7861 MB / 0.588 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.4337, allocations: 1.187 MB / 0.5891 GB, free: 14.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.4341, allocations: 104 kB / 0.5892 GB, free: 14.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.4353, allocations: 0.6396 MB / 0.5899 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.4363, allocations: 1.184 MB / 0.591 GB, free: 12.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.4375, allocations: 1.341 MB / 0.5923 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003915/0.4414, allocations: 4.15 MB / 0.5964 GB, free: 6.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.4415, allocations: 8 kB / 0.5964 GB, free: 6.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4415, allocations: 3.938 kB / 0.5964 GB, free: 6.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001836/0.4417, allocations: 0 / 0.5964 GB, free: 6.691 MB / 410.7 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.005294/0.447, allocations: 2.767 MB / 0.5991 GB, free: 3.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.447, allocations: 8.031 kB / 0.5991 GB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005059/0.4521, allocations: 1.708 MB / 0.6008 GB, free: 2.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.455, allocations: 1.52 MB / 0.6023 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.4551, allocations: 185.1 kB / 0.6024 GB, free: 396 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004695/0.4556, allocations: 243.8 kB / 0.6027 GB, free: 152 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.4671, allocations: 7.466 MB / 0.61 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.4672, allocations: 19.88 kB / 0.61 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/0.4675, allocations: 115.8 kB / 0.6101 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002253/0.4698, allocations: 1.564 MB / 0.6116 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.4816, allocations: 6.227 MB / 0.6177 GB, free: 432 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03422/0.5159, allocations: 23.32 MB / 0.6405 GB, free: 8.484 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004768/0.5207, allocations: 2.201 MB / 0.6426 GB, free: 6.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.5219, allocations: 0.7649 MB / 0.6434 GB, free: 5.391 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007083/0.529, allocations: 3.891 MB / 0.6472 GB, free: 1.355 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.5291, allocations: 39.12 kB / 0.6472 GB, free: 1.309 MB / 458.7 MB Notification: Performance of pre-optimization done (n=87): time 4.088e-06/0.5291, allocations: 0 / 0.6472 GB, free: 1.309 MB / 458.7 MB Notification: Performance of matching and sorting (n=87): time 0.006145/0.5353, allocations: 2.244 MB / 0.6494 GB, free: 15.06 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.5354, allocations: 59.97 kB / 0.6495 GB, free: 14.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003204/0.5386, allocations: 2.089 MB / 0.6515 GB, free: 12.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/0.5387, allocations: 37.7 kB / 0.6515 GB, free: 12.81 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.54, allocations: 2.116 MB / 0.6536 GB, free: 10.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.5404, allocations: 347.6 kB / 0.6539 GB, free: 10.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5405, allocations: 60 kB / 0.654 GB, free: 10.26 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.5407, allocations: 448.9 kB / 0.6544 GB, free: 9.816 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.5421, allocations: 0.9353 MB / 0.6553 GB, free: 8.879 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/0.5448, allocations: 2.901 MB / 0.6582 GB, free: 4.996 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/0.5497, allocations: 4.196 MB / 0.6623 GB, free: 15.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.418e-05/0.5498, allocations: 20 kB / 0.6623 GB, free: 15.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006451/0.5562, allocations: 3.733 MB / 0.6659 GB, free: 12.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.876e-05/0.5563, allocations: 32 kB / 0.6659 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.395e-05/0.5564, allocations: 72 kB / 0.666 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.905e-05/0.5565, allocations: 96 kB / 0.6661 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.5585, allocations: 0.6979 MB / 0.6668 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001058/0.5586, allocations: 135.5 kB / 0.6669 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.5607, allocations: 439.2 kB / 0.6673 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.5609, allocations: 204 kB / 0.6675 GB, free: 10.4 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002516/0.5634, allocations: 1.57 MB / 0.6691 GB, free: 8.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.5637, allocations: 173.7 kB / 0.6692 GB, free: 8.648 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.5641, allocations: 210.7 kB / 0.6694 GB, free: 8.441 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.5641, allocations: 8 kB / 0.6694 GB, free: 8.434 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.5641, allocations: 4 kB / 0.6694 GB, free: 8.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.5641, allocations: 3.984 kB / 0.6694 GB, free: 8.426 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007353/0.5715, allocations: 5.072 MB / 0.6744 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5715, allocations: 8 kB / 0.6744 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.5719, allocations: 119.7 kB / 0.6745 GB, free: 3.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.572, allocations: 12 kB / 0.6745 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.572, allocations: 23.94 kB / 0.6746 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.315e-05/0.572, allocations: 15.98 kB / 0.6746 GB, free: 2.992 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/0.5721, allocations: 11.94 kB / 0.6746 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.5736, allocations: 1.403 MB / 0.676 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/0.5741, allocations: 294.3 kB / 0.6762 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5742, allocations: 23.94 kB / 0.6763 GB, free: 1.121 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/0.5747, allocations: 39.88 kB / 0.6763 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.5748, allocations: 63.75 kB / 0.6764 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.5749, allocations: 32 kB / 0.6764 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.2541/0.829, allocations: 1.46 MB / 0.6778 GB, free: 130 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.829, allocations: 1.531 kB / 0.6778 GB, free: 130 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003799/0.8328, allocations: 0.8146 MB / 0.6786 GB, free: 129.9 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003916/0.8333, allocations: 148.9 kB / 0.6788 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003579/0.8368, allocations: 2.158 MB / 0.6809 GB, free: 129.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.8369, allocations: 0 / 0.6809 GB, free: 129.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005803/0.8375, allocations: 0.4984 MB / 0.6813 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/0.8409, allocations: 278.5 kB / 0.6816 GB, free: 129.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.8517, allocations: 7.623 MB / 0.6891 GB, free: 125.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.8542, allocations: 2.607 MB / 0.6916 GB, free: 123.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005425/0.8548, allocations: 164.5 kB / 0.6918 GB, free: 123.9 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.8548, allocations: 0 / 0.6918 GB, free: 123.9 MB / 490.7 MB Notification: Performance of Templates: time 0.06135/0.9161, allocations: 34.14 MB / 0.7251 GB, free: 110.9 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches