Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 194.7 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 226.5 MB / 244.1 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007427/0.0007427, allocations: 100.9 kB / 296.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2875/0.2875, allocations: 44.81 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002926, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2946, allocations: 62.96 MB / 0.5165 GB, free: 37.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.4173, allocations: 108.2 MB / 0.6222 GB, free: 13.12 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.4176, allocations: 83.95 kB / 0.6222 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5681/0.9857, allocations: 175.9 MB / 0.794 GB, free: 47.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.9857, allocations: 0 / 0.794 GB, free: 47.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003733/0.9861, allocations: 176 kB / 0.7942 GB, free: 47.52 MB / 490.7 MB 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.02261/1.009, allocations: 8.67 MB / 0.8027 GB, free: 38.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.009, allocations: 8.031 kB / 0.8027 GB, free: 38.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/1.026, allocations: 3.655 MB / 0.8062 GB, free: 35.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/1.041, allocations: 7.742 MB / 0.8138 GB, free: 27.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000582/1.042, allocations: 0.698 MB / 0.8145 GB, free: 26.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004335/1.046, allocations: 0.9024 MB / 0.8154 GB, free: 25.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04347/1.09, allocations: 21.18 MB / 0.836 GB, free: 2.969 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003885/1.09, allocations: 91.25 kB / 0.8361 GB, free: 2.879 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002943/1.093, allocations: 439.7 kB / 0.8366 GB, free: 2.449 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002555/1.096, allocations: 1.858 MB / 0.8384 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03572/1.131, allocations: 16.52 MB / 0.8545 GB, free: 36 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5757/1.707, allocations: 83.46 MB / 0.936 GB, free: 43.67 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02131/1.729, allocations: 6.387 MB / 0.9422 GB, free: 43 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003837/1.732, allocations: 2.341 MB / 0.9445 GB, free: 42.97 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01947/1.752, allocations: 10.83 MB / 0.9551 GB, free: 39.75 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.736e-05/1.752, allocations: 54.69 kB / 0.9552 GB, free: 39.71 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=212): time 9.418e-06/1.752, allocations: 0 / 0.9552 GB, free: 39.71 MB / 0.5262 GB Notification: Performance of matching and sorting (n=236): time 0.06551/1.818, allocations: 16.86 MB / 0.9716 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/1.818, allocations: 152.6 kB / 0.9718 GB, free: 34.55 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00999/1.828, allocations: 6.815 MB / 0.9784 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003528/1.828, allocations: 59.14 kB / 0.9785 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003376/1.831, allocations: 6.036 MB / 0.9844 GB, free: 30.68 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009927/1.832, allocations: 0.9296 MB / 0.9853 GB, free: 30.17 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004618/1.833, allocations: 179.7 kB / 0.9855 GB, free: 30.17 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003287/1.833, allocations: 0.678 MB / 0.9861 GB, free: 29.84 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003703/1.837, allocations: 2.49 MB / 0.9885 GB, free: 29.82 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006223/1.843, allocations: 8.268 MB / 0.9966 GB, free: 22.34 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/1.854, allocations: 11.65 MB / 1.008 GB, free: 13.32 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001969/1.854, allocations: 59.16 kB / 1.008 GB, free: 13.32 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01804/1.872, allocations: 10.38 MB / 1.018 GB, free: 9.504 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002161/1.872, allocations: 92.66 kB / 1.018 GB, free: 9.504 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003433/1.873, allocations: 207.5 kB / 1.018 GB, free: 9.504 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/1.873, allocations: 268.7 kB / 1.019 GB, free: 9.504 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00625/1.879, allocations: 2.167 MB / 1.021 GB, free: 9.234 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003123/1.879, allocations: 404.6 kB / 1.021 GB, free: 9.145 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007035/1.886, allocations: 0.5937 MB / 1.022 GB, free: 8.984 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/1.888, allocations: 0.54 MB / 1.022 GB, free: 8.914 MB / 0.5262 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.00721/1.895, allocations: 3.964 MB / 1.026 GB, free: 7.152 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/1.896, allocations: 0.5777 MB / 1.027 GB, free: 6.832 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/1.898, allocations: 0.7061 MB / 1.027 GB, free: 6.484 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/1.898, allocations: 25.62 kB / 1.027 GB, free: 6.484 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.23e-05/1.898, allocations: 3.625 kB / 1.027 GB, free: 6.484 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/1.898, allocations: 13.14 kB / 1.028 GB, free: 6.48 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02841/1.927, allocations: 19.5 MB / 1.047 GB, free: 10.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.863e-05/1.927, allocations: 56.22 kB / 1.047 GB, free: 10.45 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/1.928, allocations: 0.502 MB / 1.047 GB, free: 10 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.406e-05/1.928, allocations: 71.52 kB / 1.047 GB, free: 9.934 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/1.928, allocations: 115.8 kB / 1.047 GB, free: 9.824 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.16e-05/1.929, allocations: 110.5 kB / 1.047 GB, free: 9.73 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.066e-05/1.929, allocations: 83.62 kB / 1.047 GB, free: 9.648 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005746/1.934, allocations: 4.858 MB / 1.052 GB, free: 4.234 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/1.936, allocations: 0.6964 MB / 1.053 GB, free: 3.547 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/1.938, allocations: 122.7 kB / 1.053 GB, free: 3.438 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/1.941, allocations: 191.8 kB / 1.053 GB, free: 3.285 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004866/1.941, allocations: 359.6 kB / 1.054 GB, free: 2.996 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/1.942, allocations: 151.1 kB / 1.054 GB, free: 2.852 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.00909/1.951, allocations: 4.336 MB / 1.058 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of sort global known variables: time 5.21e-07/1.951, allocations: 0 / 1.058 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.009426/1.96, allocations: 1.55 MB / 1.059 GB, free: 13.99 MB / 0.5574 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.0008695/1.961, allocations: 306 kB / 1.06 GB, free: 13.69 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.971, allocations: 5.763 MB / 1.065 GB, free: 8.656 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.785e-05/1.971, allocations: 11.94 kB / 1.065 GB, free: 8.645 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.00211/1.974, allocations: 1.337 MB / 1.067 GB, free: 7.477 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05151/2.025, allocations: 1.03 MB / 1.068 GB, free: 6.633 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0356/2.061, allocations: 22.49 MB / 1.09 GB, free: 1.086 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01078/2.072, allocations: 6.178 MB / 1.096 GB, free: 12.73 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/2.073, allocations: 464.3 kB / 1.096 GB, free: 12.3 MB / 0.5887 GB Notification: Performance of SimCode: time 7.72e-07/2.073, allocations: 0 / 1.096 GB, free: 12.3 MB / 0.5887 GB Notification: Performance of Templates: time 0.3814/2.454, allocations: 97.28 MB / 1.191 GB, free: 127.5 MB / 0.5887 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque2/CutForceAndTorque2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches