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.001804/0.001804, allocations: 116.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002084/0.002084, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.5 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2454/0.2454, allocations: 46.12 MB / 343.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 79.28 kB / 417.1 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1186, allocations: 62.46 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2706/0.3892, allocations: 37.84 MB / 0.5053 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01805/0.4073, allocations: 7.577 MB / 0.5127 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008982/0.4163, allocations: 155.7 kB / 0.5128 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005134/0.4215, allocations: 2.533 MB / 0.5153 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004147/0.4257, allocations: 1.102 MB / 0.5164 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.4269, allocations: 331.3 kB / 0.5167 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004732/0.4316, allocations: 2.563 MB / 0.5192 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004476/0.4361, allocations: 3.15 MB / 0.5223 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.4383, allocations: 1.068 MB / 0.5233 GB, free: 7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.4403, allocations: 1.501 MB / 0.5248 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006002/0.4409, allocations: 254.8 kB / 0.525 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.4424, allocations: 0.7596 MB / 0.5258 GB, free: 6.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.4438, allocations: 1.342 MB / 0.5271 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.4454, allocations: 1.562 MB / 0.5286 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005802/0.4512, allocations: 4.971 MB / 0.5335 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.4513, allocations: 6.625 kB / 0.5335 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.4513, allocations: 0 / 0.5335 GB, free: 1.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001981/0.4515, allocations: 0 / 0.5335 GB, free: 1.656 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.007016/0.4585, allocations: 3.258 MB / 0.5367 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4586, allocations: 13.03 kB / 0.5367 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/0.4637, allocations: 1.608 MB / 0.5382 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.4676, allocations: 1.479 MB / 0.5397 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.4678, allocations: 181.8 kB / 0.5399 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006783/0.4685, allocations: 236.3 kB / 0.5401 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.4832, allocations: 7.104 MB / 0.547 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/0.4834, allocations: 15.88 kB / 0.547 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/0.4837, allocations: 106.5 kB / 0.5471 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002543/0.4862, allocations: 1.447 MB / 0.5486 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.5011, allocations: 5.943 MB / 0.5544 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03807/0.5393, allocations: 22.46 MB / 0.5763 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005483/0.5448, allocations: 2.199 MB / 0.5784 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.5461, allocations: 0.7685 MB / 0.5792 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007486/0.5536, allocations: 3.842 MB / 0.5829 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.5537, allocations: 47.12 kB / 0.583 GB, free: 2.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 4.759e-06/0.5537, allocations: 0 / 0.583 GB, free: 2.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.00682/0.5605, allocations: 2.244 MB / 0.5852 GB, free: 15.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.5606, allocations: 55.97 kB / 0.5852 GB, free: 15.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/0.5641, allocations: 2.06 MB / 0.5872 GB, free: 13.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.5642, allocations: 33.7 kB / 0.5873 GB, free: 13.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001807/0.566, allocations: 2.028 MB / 0.5892 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003972/0.5664, allocations: 353 kB / 0.5896 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009614/0.5674, allocations: 0.6451 MB / 0.5902 GB, free: 10.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002455/0.5676, allocations: 365.9 kB / 0.5906 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.5692, allocations: 0.9352 MB / 0.5915 GB, free: 9.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/0.5726, allocations: 2.876 MB / 0.5943 GB, free: 5.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005565/0.5782, allocations: 4.154 MB / 0.5983 GB, free: 408 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-05/0.5783, allocations: 20 kB / 0.5984 GB, free: 388 kB / 446.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006666/0.5849, allocations: 3.696 MB / 0.602 GB, free: 12.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/0.585, allocations: 36 kB / 0.602 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.687e-05/0.5851, allocations: 68 kB / 0.6021 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.5852, allocations: 92.81 kB / 0.6022 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.5873, allocations: 0.6862 MB / 0.6028 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001368/0.5874, allocations: 143.4 kB / 0.603 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.5896, allocations: 427.4 kB / 0.6034 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002962/0.5899, allocations: 196 kB / 0.6036 GB, free: 11.04 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.003792/0.5937, allocations: 1.508 MB / 0.605 GB, free: 9.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/0.5942, allocations: 169.7 kB / 0.6052 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.5947, allocations: 210.2 kB / 0.6054 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.5947, allocations: 13.95 kB / 0.6054 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.5947, allocations: 0 / 0.6054 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5947, allocations: 3.984 kB / 0.6054 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009141/0.6039, allocations: 4.936 MB / 0.6102 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-05/0.604, allocations: 19.88 kB / 0.6103 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.6044, allocations: 119.9 kB / 0.6104 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/0.6045, allocations: 12 kB / 0.6104 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.088e-05/0.6045, allocations: 23.98 kB / 0.6104 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/0.6045, allocations: 15.94 kB / 0.6104 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/0.6046, allocations: 8 kB / 0.6104 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.6065, allocations: 1.405 MB / 0.6118 GB, free: 2.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005469/0.6071, allocations: 290.3 kB / 0.6121 GB, free: 2.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.6073, allocations: 20 kB / 0.6121 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.6078, allocations: 35.88 kB / 0.6121 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.608, allocations: 63.77 kB / 0.6122 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.608, allocations: 35.98 kB / 0.6122 GB, free: 1.863 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002336/0.6104, allocations: 1.448 MB / 0.6136 GB, free: 404 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6104, allocations: 0 / 0.6136 GB, free: 404 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.00308/0.6135, allocations: 0.7755 MB / 0.6144 GB, free: 15.62 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.000393/0.6139, allocations: 148.9 kB / 0.6145 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004196/0.6181, allocations: 2.375 MB / 0.6169 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.6181, allocations: 0.9375 kB / 0.6169 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007195/0.6188, allocations: 0.5056 MB / 0.6173 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.6206, allocations: 275.1 kB / 0.6176 GB, free: 12.33 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.6339, allocations: 7.236 MB / 0.6247 GB, free: 4.965 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003446/0.6374, allocations: 2.51 MB / 0.6271 GB, free: 2.426 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002784/0.6402, allocations: 1.02 MB / 0.6281 GB, free: 1.402 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.6406, allocations: 131.4 kB / 0.6282 GB, free: 1.273 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.6406, allocations: 4 kB / 0.6283 GB, free: 1.27 MB / 478.1 MB Notification: Performance of Templates: time 0.0403/0.6809, allocations: 16.11 MB / 0.644 GB, free: 1.238 MB / 494.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches