Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,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.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,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.CutForceAndTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 227.2 MB / 245 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008962/0.0008962, allocations: 99.7 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.2767/0.2767, allocations: 45.23 MB / 394.7 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002882, allocations: 8 kB / 468.4 MB, free: 7.734 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3453, allocations: 63.24 MB / 0.5192 GB, free: 43.86 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.4702, allocations: 108.3 MB / 0.6249 GB, free: 13.36 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4705, allocations: 79.95 kB / 0.625 GB, free: 13.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.635/1.106, allocations: 182.5 MB / 0.8032 GB, free: 68.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.396e-06/1.106, allocations: 0 / 0.8032 GB, free: 68.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006343/1.106, allocations: 174.2 kB / 0.8033 GB, free: 68.69 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.0287/1.135, allocations: 8.977 MB / 0.8121 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.135, allocations: 8.031 kB / 0.8121 GB, free: 59.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01743/1.152, allocations: 3.783 MB / 0.8158 GB, free: 55.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02046/1.173, allocations: 8.579 MB / 0.8242 GB, free: 47.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000593/1.174, allocations: 0.6899 MB / 0.8249 GB, free: 46.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004269/1.178, allocations: 0.9108 MB / 0.8258 GB, free: 45.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04529/1.223, allocations: 21.3 MB / 0.8466 GB, free: 22.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003893/1.224, allocations: 87.22 kB / 0.8466 GB, free: 22.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003223/1.227, allocations: 427.8 kB / 0.8471 GB, free: 22.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002447/1.229, allocations: 1.866 MB / 0.8489 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03339/1.263, allocations: 16.71 MB / 0.8652 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4031/1.666, allocations: 83.64 MB / 0.9469 GB, free: 41.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/1.683, allocations: 6.335 MB / 0.9531 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02109/1.704, allocations: 10.93 MB / 0.9637 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.315e-05/1.704, allocations: 57.34 kB / 0.9638 GB, free: 37.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 9.357e-06/1.704, allocations: 0 / 0.9638 GB, free: 37.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.04869/1.753, allocations: 17.11 MB / 0.9805 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/1.753, allocations: 153.8 kB / 0.9806 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/1.765, allocations: 6.055 MB / 0.9866 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004749/1.765, allocations: 63.62 kB / 0.9866 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004297/1.769, allocations: 6.047 MB / 0.9925 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001296/1.771, allocations: 0.9396 MB / 0.9934 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000464/1.771, allocations: 173.5 kB / 0.9936 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005119/1.772, allocations: 0.6811 MB / 0.9943 GB, free: 27.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003835/1.776, allocations: 2.488 MB / 0.9967 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005971/1.782, allocations: 8.235 MB / 1.005 GB, free: 19.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005779/1.787, allocations: 4.369 MB / 1.009 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.03e-05/1.788, allocations: 59.84 kB / 1.009 GB, free: 19.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01428/1.802, allocations: 10.38 MB / 1.019 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.376e-05/1.802, allocations: 95.84 kB / 1.019 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/1.802, allocations: 208.2 kB / 1.019 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/1.802, allocations: 298.8 kB / 1.02 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005618/1.808, allocations: 2.158 MB / 1.022 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002327/1.808, allocations: 400.2 kB / 1.022 GB, free: 16.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006705/1.815, allocations: 0.6028 MB / 1.023 GB, free: 16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007852/1.816, allocations: 0.5434 MB / 1.023 GB, free: 15.93 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.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],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],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],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.006794/1.823, allocations: 3.965 MB / 1.027 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.824, allocations: 0.5772 MB / 1.028 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/1.825, allocations: 0.7029 MB / 1.029 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/1.825, allocations: 25.97 kB / 1.029 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/1.825, allocations: 3.312 kB / 1.029 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.825, allocations: 10.36 kB / 1.029 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02969/1.855, allocations: 22.69 MB / 1.051 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.436e-05/1.855, allocations: 45.09 kB / 1.051 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.856, allocations: 460.8 kB / 1.051 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.546e-05/1.856, allocations: 65.25 kB / 1.051 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/1.856, allocations: 100.8 kB / 1.051 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-05/1.856, allocations: 89.06 kB / 1.051 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.91e-05/1.856, allocations: 68.12 kB / 1.051 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008066/1.865, allocations: 12.79 MB / 1.064 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/1.867, allocations: 0.678 MB / 1.065 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006505/1.868, allocations: 98.38 kB / 1.065 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/1.87, allocations: 210.7 kB / 1.065 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/1.87, allocations: 302.5 kB / 1.065 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.87, allocations: 128.6 kB / 1.065 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008088/1.879, allocations: 4.27 MB / 1.07 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.31e-07/1.879, allocations: 0 / 1.07 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0105/1.889, allocations: 1.55 MB / 1.071 GB, free: 1.016 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 205 * 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 (232): * Single equations (assignments): 229 * 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.0007175/1.89, allocations: 278.2 kB / 1.071 GB, free: 0.7422 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.9, allocations: 5.809 MB / 1.077 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.503e-05/1.9, allocations: 8 kB / 1.077 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002029/1.902, allocations: 1.329 MB / 1.078 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005188/1.908, allocations: 0.9434 MB / 1.079 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03241/1.94, allocations: 21.16 MB / 1.1 GB, free: 5.594 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007517/1.948, allocations: 6.237 MB / 1.106 GB, free: 1.059 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01096/1.959, allocations: 3.099 MB / 1.109 GB, free: 0 / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002316/1.961, allocations: 486.6 kB / 1.109 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/1.961, allocations: 4 kB / 1.109 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of Templates: time 0.3903/2.351, allocations: 46.8 MB / 1.155 GB, free: 134.8 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches