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.001448/0.001448, allocations: 202.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000786/0.000786, allocations: 94.38 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1797/0.1797, allocations: 45.14 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.212e-05/1.215e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.4817, allocations: 107.5 MB / 0.6094 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.4819, allocations: 75.03 kB / 0.6094 GB, free: 11.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6855/1.167, allocations: 177.3 MB / 0.7825 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.764e-06/1.167, allocations: 0 / 0.7825 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003437/1.168, allocations: 180.5 kB / 0.7827 GB, free: 100.1 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.02467/1.192, allocations: 8.422 MB / 0.7909 GB, free: 96.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/1.193, allocations: 6.375 kB / 0.7909 GB, free: 96.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01907/1.212, allocations: 3.781 MB / 0.7946 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01823/1.23, allocations: 8.537 MB / 0.803 GB, free: 95.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005088/1.23, allocations: 298.4 kB / 0.8032 GB, free: 95.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003806/1.234, allocations: 0.5322 MB / 0.8038 GB, free: 95.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02292/1.257, allocations: 12.33 MB / 0.8158 GB, free: 95.26 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04762/1.305, allocations: 17.88 MB / 0.8333 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004547/1.305, allocations: 85.06 kB / 0.8333 GB, free: 90.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00354/1.309, allocations: 55.97 kB / 0.8334 GB, free: 90.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002843/1.312, allocations: 1.864 MB / 0.8352 GB, free: 90.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1094/1.421, allocations: 84.44 MB / 0.9177 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/1.425, allocations: 2.703 MB / 0.9203 GB, free: 19.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/1.427, allocations: 1.301 MB / 0.9216 GB, free: 18.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/1.427, allocations: 32.69 kB / 0.9216 GB, free: 18.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/1.427, allocations: 67.7 kB / 0.9217 GB, free: 18.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=206): time 5.08e-06/1.427, allocations: 0 / 0.9217 GB, free: 18.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=218): time 0.02675/1.453, allocations: 12.06 MB / 0.9335 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/1.454, allocations: 149.8 kB / 0.9336 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006572/1.46, allocations: 5.159 MB / 0.9386 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003501/1.461, allocations: 29.31 kB / 0.9387 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003544/1.464, allocations: 6.099 MB / 0.9446 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009012/1.465, allocations: 0.8485 MB / 0.9455 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/1.465, allocations: 4 kB / 0.9455 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004944/1.466, allocations: 0.6849 MB / 0.9461 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/1.469, allocations: 2.165 MB / 0.9482 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3328/1.802, allocations: 7.992 MB / 0.9561 GB, free: 97.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009574/1.811, allocations: 4.09 MB / 0.96 GB, free: 97.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00039/1.812, allocations: 64.03 kB / 0.9601 GB, free: 97.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1171) (initialization): time 0.02228/1.834, allocations: 8.833 MB / 0.9687 GB, free: 97.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/1.834, allocations: 95.42 kB / 0.9688 GB, free: 97.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003965/1.835, allocations: 213.6 kB / 0.969 GB, free: 97.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/1.835, allocations: 306.8 kB / 0.9693 GB, free: 97.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00825/1.843, allocations: 2.194 MB / 0.9715 GB, free: 97.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00036/1.844, allocations: 413.3 kB / 0.9719 GB, free: 97.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008003/1.852, allocations: 445 kB / 0.9723 GB, free: 97.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.853, allocations: 0.5558 MB / 0.9728 GB, free: 97.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * 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 (1147): * Single equations (assignments): 1144 * 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.001374/1.855, allocations: 0.6352 MB / 0.9734 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.856, allocations: 0.5329 MB / 0.974 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/1.857, allocations: 0.6452 MB / 0.9746 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/1.857, allocations: 23.59 kB / 0.9746 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/1.857, allocations: 0 / 0.9746 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/1.857, allocations: 11.94 kB / 0.9746 GB, free: 96.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02556/1.883, allocations: 15.9 MB / 0.9902 GB, free: 94.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.171e-05/1.883, allocations: 46.69 kB / 0.9902 GB, free: 94.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.884, allocations: 479.3 kB / 0.9907 GB, free: 94.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.321e-05/1.884, allocations: 68.38 kB / 0.9907 GB, free: 94.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.885, allocations: 76.09 kB / 0.9908 GB, free: 94.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.384e-05/1.885, allocations: 98.28 kB / 0.9909 GB, free: 94.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-05/1.885, allocations: 76.53 kB / 0.991 GB, free: 94.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/1.891, allocations: 12.66 MB / 1.003 GB, free: 82.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.893, allocations: 0.6393 MB / 1.004 GB, free: 81.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005517/1.893, allocations: 73.19 kB / 1.004 GB, free: 81.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/1.895, allocations: 144.8 kB / 1.004 GB, free: 81.97 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/1.896, allocations: 329.3 kB / 1.004 GB, free: 81.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/1.896, allocations: 134 kB / 1.005 GB, free: 81.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005941/1.902, allocations: 3.447 MB / 1.008 GB, free: 81.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.902, allocations: 0 / 1.008 GB, free: 81.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01016/1.912, allocations: 1.33 MB / 1.009 GB, free: 81.68 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 251 * 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.0008222/1.913, allocations: 229.7 kB / 1.009 GB, free: 81.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008629/1.922, allocations: 5.06 MB / 1.014 GB, free: 81.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.069e-05/1.922, allocations: 3.906 kB / 1.014 GB, free: 81.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/1.923, allocations: 1.172 MB / 1.016 GB, free: 80.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005066/1.928, allocations: 0.8181 MB / 1.016 GB, free: 80.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02931/1.958, allocations: 14.36 MB / 1.03 GB, free: 76.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01074/1.968, allocations: 6.226 MB / 1.036 GB, free: 75.24 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009286/1.978, allocations: 2.804 MB / 1.039 GB, free: 74.99 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009883/1.979, allocations: 372 kB / 1.04 GB, free: 74.99 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/1.979, allocations: 0 / 1.04 GB, free: 74.99 MB / 0.5417 GB Notification: Performance of Templates: time 0.08346/2.062, allocations: 39.72 MB / 1.078 GB, free: 62.93 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