Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008735/0.0008735, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 185.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3746/0.3746, allocations: 43.58 MB / 315 MB, free: 8.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005815/0.0005816, allocations: 20 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1394, allocations: 58.86 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3196/0.4591, allocations: 53.14 MB / 496.6 MB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02898/0.4881, allocations: 10.35 MB / 0.495 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01569/0.5038, allocations: 217.7 kB / 0.4953 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.5057, allocations: 361.6 kB / 0.4956 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.5103, allocations: 1.292 MB / 0.4969 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.5117, allocations: 317 kB / 0.4972 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006853/0.5186, allocations: 4.303 MB / 0.5014 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008204/0.5268, allocations: 4.324 MB / 0.5056 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.5298, allocations: 0.8289 MB / 0.5064 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/0.5332, allocations: 1.431 MB / 0.5078 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.5343, allocations: 122.1 kB / 0.5079 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.5371, allocations: 0.651 MB / 0.5085 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003483/0.5407, allocations: 1.364 MB / 0.5099 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004511/0.5452, allocations: 1.612 MB / 0.5115 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009125/0.5543, allocations: 5.533 MB / 0.5169 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5544, allocations: 0 / 0.5169 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5544, allocations: 5.375 kB / 0.5169 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003051/0.5547, allocations: 4 kB / 0.5169 GB, free: 0.9766 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.009623/0.5643, allocations: 3.035 MB / 0.5198 GB, free: 14.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5644, allocations: 12.94 kB / 0.5198 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007346/0.5718, allocations: 1.759 MB / 0.5216 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005467/0.5773, allocations: 1.637 MB / 0.5232 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.5775, allocations: 212.5 kB / 0.5234 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.5786, allocations: 265 kB / 0.5236 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.5954, allocations: 8.371 MB / 0.5318 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.834e-05/0.5955, allocations: 19.81 kB / 0.5318 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003553/0.5958, allocations: 123.9 kB / 0.5319 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002718/0.5986, allocations: 1.764 MB / 0.5336 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.6148, allocations: 7.03 MB / 0.5405 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05152/0.6664, allocations: 25.92 MB / 0.5658 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005653/0.6721, allocations: 2.556 MB / 0.5683 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.6736, allocations: 0.9747 MB / 0.5693 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007508/0.6811, allocations: 4.444 MB / 0.5736 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.6812, allocations: 43.56 kB / 0.5737 GB, free: 9.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 3.867e-06/0.6812, allocations: 0 / 0.5737 GB, free: 9.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.007427/0.6886, allocations: 2.731 MB / 0.5763 GB, free: 6.453 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.6887, allocations: 60.41 kB / 0.5764 GB, free: 6.383 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.6925, allocations: 2.261 MB / 0.5786 GB, free: 4.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.6927, allocations: 41.7 kB / 0.5786 GB, free: 4.035 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.6944, allocations: 2.321 MB / 0.5809 GB, free: 1.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005083/0.6949, allocations: 458 kB / 0.5813 GB, free: 1.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004019/0.6953, allocations: 333.8 kB / 0.5816 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.6954, allocations: 313 kB / 0.5819 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.6973, allocations: 1.116 MB / 0.583 GB, free: 15.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003502/0.7008, allocations: 3.291 MB / 0.5863 GB, free: 11.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006581/0.7074, allocations: 4.811 MB / 0.5909 GB, free: 5.234 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-05/0.7075, allocations: 24 kB / 0.591 GB, free: 5.211 MB / 462.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008861/0.7164, allocations: 4.328 MB / 0.5952 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/0.7165, allocations: 36 kB / 0.5952 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.534e-05/0.7166, allocations: 76 kB / 0.5953 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/0.7167, allocations: 104 kB / 0.5954 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/0.7192, allocations: 0.8155 MB / 0.5962 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001291/0.7194, allocations: 151.4 kB / 0.5963 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003129/0.7225, allocations: 0.4909 MB / 0.5968 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/0.7229, allocations: 227.9 kB / 0.597 GB, free: 14.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.00403/0.7269, allocations: 1.71 MB / 0.5987 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/0.7274, allocations: 197.4 kB / 0.5989 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/0.7303, allocations: 1.51 MB / 0.6004 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.7303, allocations: 15.98 kB / 0.6004 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.7303, allocations: 8 kB / 0.6004 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.7303, allocations: 7.969 kB / 0.6004 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.7432, allocations: 7.37 MB / 0.6076 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.7433, allocations: 19.94 kB / 0.6076 GB, free: 3.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/0.7441, allocations: 183.7 kB / 0.6078 GB, free: 3.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.647e-05/0.7441, allocations: 20.69 kB / 0.6078 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.535e-05/0.7442, allocations: 39.98 kB / 0.6079 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.042e-05/0.7442, allocations: 35.86 kB / 0.6079 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.031e-05/0.7443, allocations: 23.88 kB / 0.6079 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.7471, allocations: 1.988 MB / 0.6099 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/0.7478, allocations: 337.9 kB / 0.6102 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.7481, allocations: 35.98 kB / 0.6102 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007834/0.7488, allocations: 55.86 kB / 0.6103 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.749, allocations: 115.5 kB / 0.6104 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.7491, allocations: 52 kB / 0.6104 GB, free: 0.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002576/0.7517, allocations: 1.578 MB / 0.612 GB, free: 15.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7517, allocations: 0 / 0.612 GB, free: 15.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003894/0.7556, allocations: 0.9252 MB / 0.6129 GB, free: 14.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0004052/0.756, allocations: 178.8 kB / 0.613 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004504/0.7606, allocations: 2.613 MB / 0.6156 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/0.7606, allocations: 4 kB / 0.6156 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.7616, allocations: 0.695 MB / 0.6163 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/0.7673, allocations: 320.3 kB / 0.6166 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/0.7832, allocations: 8.782 MB / 0.6252 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3346/1.118, allocations: 2.824 MB / 0.6279 GB, free: 103 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003387/1.121, allocations: 1.162 MB / 0.629 GB, free: 103 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/1.122, allocations: 166 kB / 0.6292 GB, free: 103 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/1.122, allocations: 4.906 kB / 0.6292 GB, free: 103 MB / 494.1 MB Notification: Performance of Templates: time 0.05002/1.172, allocations: 18.58 MB / 0.6474 GB, free: 100.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches