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.001203/0.001203, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007813/0.0007813, allocations: 98.09 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1721/0.1721, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.492e-05, allocations: 8 kB / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09398/0.09402, allocations: 63.24 MB / 0.5114 GB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3554/0.4495, allocations: 108.2 MB / 0.617 GB, free: 2.027 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.4497, allocations: 78.45 kB / 0.6171 GB, free: 1.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6543/1.104, allocations: 181.3 MB / 0.7942 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.004e-06/1.104, allocations: 4 kB / 0.7942 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002684/1.104, allocations: 176.4 kB / 0.7943 GB, free: 102.8 MB / 0.5261 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.01899/1.123, allocations: 8.428 MB / 0.8026 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/1.123, allocations: 11.19 kB / 0.8026 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01754/1.141, allocations: 3.78 MB / 0.8063 GB, free: 98.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0166/1.158, allocations: 8.555 MB / 0.8146 GB, free: 97.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/1.158, allocations: 0.6844 MB / 0.8153 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002775/1.161, allocations: 0.904 MB / 0.8162 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03978/1.201, allocations: 21.02 MB / 0.8367 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002607/1.201, allocations: 82 kB / 0.8368 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/1.202, allocations: 429.3 kB / 0.8372 GB, free: 91.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002126/1.204, allocations: 1.865 MB / 0.839 GB, free: 91.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02904/1.233, allocations: 16.23 MB / 0.8549 GB, free: 84.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09301/1.326, allocations: 83.66 MB / 0.9366 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01702/1.343, allocations: 6.369 MB / 0.9428 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003709/1.347, allocations: 2.307 MB / 0.945 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02103/1.368, allocations: 10.93 MB / 0.9557 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/1.368, allocations: 55.81 kB / 0.9558 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=212): time 4.339e-06/1.368, allocations: 0 / 0.9558 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of matching and sorting (n=236): time 0.3302/1.698, allocations: 15.74 MB / 0.9711 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/1.699, allocations: 157 kB / 0.9713 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009807/1.708, allocations: 5.879 MB / 0.977 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000388/1.709, allocations: 58.73 kB / 0.9771 GB, free: 105 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003636/1.712, allocations: 6.035 MB / 0.983 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.714, allocations: 0.9372 MB / 0.9839 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/1.714, allocations: 175.2 kB / 0.9841 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003199/1.714, allocations: 0.6816 MB / 0.9847 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/1.717, allocations: 2.304 MB / 0.987 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00459/1.722, allocations: 8.052 MB / 0.9948 GB, free: 93.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/1.726, allocations: 4.248 MB / 0.999 GB, free: 93.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/1.726, allocations: 58.56 kB / 0.999 GB, free: 93.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01536/1.742, allocations: 10.01 MB / 1.009 GB, free: 92.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/1.742, allocations: 94.56 kB / 1.009 GB, free: 92.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002164/1.742, allocations: 209.7 kB / 1.009 GB, free: 92.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/1.742, allocations: 301.7 kB / 1.009 GB, free: 92.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006301/1.749, allocations: 2.162 MB / 1.012 GB, free: 92.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002173/1.749, allocations: 404.5 kB / 1.012 GB, free: 92.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006946/1.756, allocations: 0.5972 MB / 1.012 GB, free: 92.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009754/1.757, allocations: 0.5491 MB / 1.013 GB, free: 92.54 MB / 0.5417 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 () * 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.0009983/1.758, allocations: 0.8268 MB / 1.014 GB, free: 92.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008227/1.759, allocations: 0.5807 MB / 1.014 GB, free: 91.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.76, allocations: 0.7051 MB / 1.015 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/1.76, allocations: 23.75 kB / 1.015 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/1.76, allocations: 6.828 kB / 1.015 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/1.76, allocations: 14.5 kB / 1.015 GB, free: 91.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02496/1.785, allocations: 19.48 MB / 1.034 GB, free: 86.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-05/1.785, allocations: 56.06 kB / 1.034 GB, free: 86.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.787, allocations: 0.5004 MB / 1.035 GB, free: 86.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.962e-05/1.787, allocations: 76.5 kB / 1.035 GB, free: 86.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/1.787, allocations: 114.8 kB / 1.035 GB, free: 86.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.808e-05/1.787, allocations: 106.2 kB / 1.035 GB, free: 86.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.559e-05/1.787, allocations: 93.7 kB / 1.035 GB, free: 86.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/1.792, allocations: 14.65 MB / 1.049 GB, free: 71.41 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.794, allocations: 0.6909 MB / 1.05 GB, free: 70.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004872/1.794, allocations: 129 kB / 1.05 GB, free: 70.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.796, allocations: 194.3 kB / 1.05 GB, free: 70.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/1.796, allocations: 356.1 kB / 1.051 GB, free: 70.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/1.797, allocations: 148.3 kB / 1.051 GB, free: 70.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00481/1.801, allocations: 4.088 MB / 1.055 GB, free: 69.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.3e-07/1.801, allocations: 0 / 1.055 GB, free: 69.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007035/1.808, allocations: 1.548 MB / 1.056 GB, free: 69.15 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 () * 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.0004402/1.809, allocations: 288.7 kB / 1.057 GB, free: 68.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006746/1.816, allocations: 5.569 MB / 1.062 GB, free: 67.01 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.873e-05/1.816, allocations: 9.75 kB / 1.062 GB, free: 67.01 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/1.817, allocations: 1.326 MB / 1.063 GB, free: 66.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005211/1.823, allocations: 0.9725 MB / 1.064 GB, free: 66.22 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/1.845, allocations: 14.8 MB / 1.079 GB, free: 55.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006447/1.851, allocations: 6.255 MB / 1.085 GB, free: 51.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006115/1.858, allocations: 2.788 MB / 1.088 GB, free: 49.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/1.858, allocations: 401.8 kB / 1.088 GB, free: 49.15 MB / 0.5417 GB Notification: Performance of SimCode: time 6.82e-07/1.858, allocations: 0 / 1.088 GB, free: 49.15 MB / 0.5417 GB Notification: Performance of Templates: time 0.07982/1.938, allocations: 47.1 MB / 1.134 GB, free: 15.64 MB / 0.5417 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