Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.1 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001495, allocations: 79.83 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1195, allocations: 62.45 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2727/0.3923, allocations: 37.84 MB / 0.5056 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.411, allocations: 7.631 MB / 0.5131 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009707/0.4207, allocations: 155.7 kB / 0.5132 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005674/0.4265, allocations: 2.632 MB / 0.5158 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003873/0.4304, allocations: 1.109 MB / 0.5169 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.4315, allocations: 319.9 kB / 0.5172 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005625/0.4372, allocations: 3.765 MB / 0.5209 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004665/0.4418, allocations: 2.964 MB / 0.5238 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.4439, allocations: 0.9393 MB / 0.5247 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002498/0.4464, allocations: 1.45 MB / 0.5261 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008747/0.4473, allocations: 191.6 kB / 0.5263 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.4494, allocations: 0.7364 MB / 0.527 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001712/0.4511, allocations: 1.278 MB / 0.5283 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.4534, allocations: 1.51 MB / 0.5297 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003865/0.4573, allocations: 4.058 MB / 0.5337 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4573, allocations: 0 / 0.5337 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4573, allocations: 1.5 kB / 0.5337 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001489/0.4574, allocations: 0 / 0.5337 GB, free: 2.004 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.007167/0.4646, allocations: 3.273 MB / 0.5369 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.4647, allocations: 10.12 kB / 0.5369 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005003/0.4697, allocations: 1.6 MB / 0.5385 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.4725, allocations: 1.488 MB / 0.5399 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.4726, allocations: 176.2 kB / 0.5401 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004474/0.4731, allocations: 238.4 kB / 0.5403 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.484, allocations: 7.111 MB / 0.5473 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.484, allocations: 19.81 kB / 0.5473 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002547/0.4843, allocations: 101.9 kB / 0.5474 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001988/0.4863, allocations: 1.448 MB / 0.5488 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.4977, allocations: 5.949 MB / 0.5546 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03404/0.5318, allocations: 22.46 MB / 0.5765 GB, free: 9.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.537, allocations: 2.189 MB / 0.5787 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.5383, allocations: 0.7698 MB / 0.5794 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008032/0.5463, allocations: 3.854 MB / 0.5832 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.5464, allocations: 39.12 kB / 0.5832 GB, free: 2.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 3.997e-06/0.5464, allocations: 0 / 0.5832 GB, free: 2.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.006495/0.5529, allocations: 2.248 MB / 0.5854 GB, free: 15.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.553, allocations: 59.97 kB / 0.5855 GB, free: 15.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.5566, allocations: 2.056 MB / 0.5875 GB, free: 13.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/0.5567, allocations: 35.89 kB / 0.5875 GB, free: 13.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.5583, allocations: 2.024 MB / 0.5895 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004316/0.5587, allocations: 351.8 kB / 0.5898 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.56, allocations: 0.6493 MB / 0.5905 GB, free: 10.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.5602, allocations: 357.9 kB / 0.5908 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.5619, allocations: 0.9391 MB / 0.5917 GB, free: 9.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003098/0.565, allocations: 2.868 MB / 0.5945 GB, free: 5.562 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005025/0.57, allocations: 4.155 MB / 0.5986 GB, free: 460 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-05/0.5701, allocations: 20 kB / 0.5986 GB, free: 440 kB / 446.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007821/0.5779, allocations: 3.696 MB / 0.6022 GB, free: 12.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.5782, allocations: 38.34 kB / 0.6022 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.5783, allocations: 68 kB / 0.6023 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001116/0.5784, allocations: 96.06 kB / 0.6024 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.5805, allocations: 0.69 MB / 0.6031 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001671/0.5807, allocations: 131.5 kB / 0.6032 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.583, allocations: 439.2 kB / 0.6036 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003236/0.5833, allocations: 199.3 kB / 0.6038 GB, free: 11.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002782/0.5861, allocations: 1.499 MB / 0.6053 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.5865, allocations: 173.8 kB / 0.6054 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005489/0.587, allocations: 214.2 kB / 0.6056 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.5871, allocations: 8 kB / 0.6056 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.5871, allocations: 0 / 0.6056 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5871, allocations: 3.984 kB / 0.6056 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.5976, allocations: 4.937 MB / 0.6105 GB, free: 4.094 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.5977, allocations: 11.94 kB / 0.6105 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.5982, allocations: 123.8 kB / 0.6106 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/0.5982, allocations: 8 kB / 0.6106 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/0.5982, allocations: 20 kB / 0.6106 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.487e-05/0.5983, allocations: 19.92 kB / 0.6106 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.5983, allocations: 11.94 kB / 0.6107 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.6002, allocations: 1.404 MB / 0.612 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/0.6008, allocations: 286.4 kB / 0.6123 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/0.6012, allocations: 23.98 kB / 0.6123 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006891/0.6019, allocations: 31.89 kB / 0.6124 GB, free: 2.023 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.602, allocations: 71.69 kB / 0.6124 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.6021, allocations: 35.98 kB / 0.6125 GB, free: 1.918 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002428/0.6046, allocations: 1.444 MB / 0.6139 GB, free: 464 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6046, allocations: 7.938 kB / 0.6139 GB, free: 456 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.003197/0.6078, allocations: 0.7612 MB / 0.6146 GB, free: 15.68 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003985/0.6082, allocations: 149.3 kB / 0.6148 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00357/0.6118, allocations: 2.142 MB / 0.6169 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6118, allocations: 4.188 kB / 0.6169 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000637/0.6124, allocations: 0.4976 MB / 0.6173 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.6141, allocations: 276 kB / 0.6176 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.6278, allocations: 7.59 MB / 0.625 GB, free: 4.902 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003895/0.6317, allocations: 2.514 MB / 0.6275 GB, free: 2.359 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005865/0.6324, allocations: 155.4 kB / 0.6276 GB, free: 2.207 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6324, allocations: 0 / 0.6276 GB, free: 2.207 MB / 478.1 MB Notification: Performance of Templates: time 0.05565/0.688, allocations: 33.5 MB / 0.6603 GB, free: 0.7617 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches