Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,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.CutForceAndTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,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.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008105/0.0008105, allocations: 106.3 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3239/0.3239, allocations: 45.24 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002638, allocations: 12 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3007, allocations: 63.24 MB / 0.5192 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4254, allocations: 108.2 MB / 0.6249 GB, free: 13.36 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4257, allocations: 83.95 kB / 0.625 GB, free: 13.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6334/1.059, allocations: 181.2 MB / 0.8019 GB, free: 71.76 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.354e-06/1.059, allocations: 0 / 0.8019 GB, free: 71.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006581/1.06, allocations: 170.1 kB / 0.8021 GB, free: 71.76 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02907/1.089, allocations: 8.982 MB / 0.8108 GB, free: 62.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.089, allocations: 8.031 kB / 0.8108 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01785/1.107, allocations: 3.779 MB / 0.8145 GB, free: 58.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02738/1.134, allocations: 8.575 MB / 0.8229 GB, free: 50.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008987/1.135, allocations: 0.6899 MB / 0.8236 GB, free: 49.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00586/1.141, allocations: 0.9069 MB / 0.8245 GB, free: 48.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05255/1.194, allocations: 21.31 MB / 0.8453 GB, free: 25.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005933/1.194, allocations: 87.16 kB / 0.8454 GB, free: 25.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004356/1.199, allocations: 431.8 kB / 0.8458 GB, free: 25.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002762/1.202, allocations: 1.866 MB / 0.8476 GB, free: 23.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03276/1.234, allocations: 16.72 MB / 0.8639 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3941/1.629, allocations: 83.64 MB / 0.9456 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/1.646, allocations: 6.388 MB / 0.9518 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02047/1.667, allocations: 10.94 MB / 0.9625 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/1.667, allocations: 57.59 kB / 0.9626 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 5.53e-06/1.667, allocations: 3.609 kB / 0.9626 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.05221/1.719, allocations: 17.11 MB / 0.9793 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/1.719, allocations: 157.1 kB / 0.9794 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/1.73, allocations: 6.056 MB / 0.9854 GB, free: 32.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004502/1.731, allocations: 59.42 kB / 0.9854 GB, free: 32.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004181/1.735, allocations: 6.041 MB / 0.9913 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.736, allocations: 0.9318 MB / 0.9922 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/1.736, allocations: 178.1 kB / 0.9924 GB, free: 29.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004138/1.737, allocations: 0.6723 MB / 0.9931 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003811/1.741, allocations: 2.494 MB / 0.9955 GB, free: 28.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/1.746, allocations: 8.234 MB / 1.004 GB, free: 21.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006123/1.753, allocations: 4.367 MB / 1.008 GB, free: 21.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001825/1.753, allocations: 59.03 kB / 1.008 GB, free: 21.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01967/1.772, allocations: 10.38 MB / 1.018 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001728/1.773, allocations: 92.78 kB / 1.018 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002921/1.773, allocations: 205.8 kB / 1.018 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/1.773, allocations: 298.4 kB / 1.019 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006695/1.78, allocations: 2.167 MB / 1.021 GB, free: 18.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003036/1.78, allocations: 399.4 kB / 1.021 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008112/1.788, allocations: 0.5986 MB / 1.022 GB, free: 18.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/1.79, allocations: 0.5387 MB / 1.022 GB, free: 17.99 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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): 1126 * 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 prepare postOptimizeDAE: time 0.007646/1.797, allocations: 3.954 MB / 1.026 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.799, allocations: 0.5871 MB / 1.027 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/1.8, allocations: 0.7063 MB / 1.027 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/1.8, allocations: 30.27 kB / 1.027 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.152e-05/1.8, allocations: 6.688 kB / 1.027 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/1.8, allocations: 7.875 kB / 1.027 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03331/1.834, allocations: 19.49 MB / 1.046 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.238e-05/1.834, allocations: 58.53 kB / 1.046 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.835, allocations: 0.5105 MB / 1.047 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.822e-05/1.835, allocations: 83.16 kB / 1.047 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/1.835, allocations: 112.7 kB / 1.047 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-05/1.836, allocations: 103.1 kB / 1.047 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-05/1.836, allocations: 82.06 kB / 1.047 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008872/1.844, allocations: 14.69 MB / 1.062 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/1.847, allocations: 0.6946 MB / 1.062 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008838/1.848, allocations: 126.9 kB / 1.062 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/1.85, allocations: 198.1 kB / 1.063 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003538/1.851, allocations: 352.9 kB / 1.063 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/1.851, allocations: 151.7 kB / 1.063 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008487/1.859, allocations: 4.266 MB / 1.067 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/1.859, allocations: 0 / 1.067 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01065/1.87, allocations: 1.549 MB / 1.069 GB, free: 1.797 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * 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 (272): * Single equations (assignments): 269 * 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.0009134/1.871, allocations: 311.9 kB / 1.069 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.884, allocations: 5.863 MB / 1.075 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.887e-05/1.884, allocations: 8.5 kB / 1.075 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002298/1.886, allocations: 1.338 MB / 1.076 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006291/1.892, allocations: 0.978 MB / 1.077 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04012/1.933, allocations: 21.45 MB / 1.098 GB, free: 6.07 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.013/1.946, allocations: 6.256 MB / 1.104 GB, free: 1.52 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009761/1.955, allocations: 2.886 MB / 1.107 GB, free: 0 / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002453/1.958, allocations: 0.4925 MB / 1.107 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/1.958, allocations: 4 kB / 1.107 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of Templates: time 0.349/2.307, allocations: 47.08 MB / 1.153 GB, free: 135.1 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches