Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001485/0.001485, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2133/0.2133, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4386, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01209/0.4508, allocations: 10.52 MB / 0.5292 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008774/0.4596, allocations: 3.102 MB / 0.5322 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/0.4629, allocations: 55.59 kB / 0.5322 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005426/0.4683, allocations: 2.624 MB / 0.5348 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003852/0.4723, allocations: 1.218 MB / 0.536 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.4735, allocations: 345.2 kB / 0.5363 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004736/0.4782, allocations: 2.594 MB / 0.5389 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004892/0.4831, allocations: 3.027 MB / 0.5418 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.4857, allocations: 1.093 MB / 0.5429 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002905/0.4886, allocations: 1.412 MB / 0.5443 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009157/0.4895, allocations: 260 kB / 0.5445 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.4917, allocations: 0.7607 MB / 0.5453 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.4937, allocations: 1.41 MB / 0.5466 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002447/0.4961, allocations: 1.631 MB / 0.5482 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005302/0.5014, allocations: 5.353 MB / 0.5534 GB, free: 8.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/0.5015, allocations: 4 kB / 0.5535 GB, free: 8.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5015, allocations: 0 / 0.5535 GB, free: 8.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001025/0.5016, allocations: 0 / 0.5535 GB, free: 8.547 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.005893/0.5075, allocations: 3.399 MB / 0.5568 GB, free: 5.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5076, allocations: 8.031 kB / 0.5568 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.5125, allocations: 1.658 MB / 0.5584 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.5158, allocations: 1.551 MB / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.5159, allocations: 185.1 kB / 0.5601 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005015/0.5164, allocations: 239.8 kB / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/0.5316, allocations: 7.493 MB / 0.5676 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.377e-05/0.5317, allocations: 15.88 kB / 0.5676 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/0.5321, allocations: 107.9 kB / 0.5678 GB, free: 9.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/0.5348, allocations: 1.568 MB / 0.5693 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.5475, allocations: 6.258 MB / 0.5754 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03517/0.5828, allocations: 23.14 MB / 0.598 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005097/0.5879, allocations: 2.203 MB / 0.6001 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.5892, allocations: 0.762 MB / 0.6009 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007645/0.5969, allocations: 3.884 MB / 0.6047 GB, free: 2.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.5969, allocations: 43.12 kB / 0.6047 GB, free: 2.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 3.737e-06/0.597, allocations: 0 / 0.6047 GB, free: 2.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.006321/0.6033, allocations: 2.248 MB / 0.6069 GB, free: 436 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.6034, allocations: 63.97 kB / 0.607 GB, free: 360 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/0.6077, allocations: 2.101 MB / 0.609 GB, free: 14.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.325e-05/0.6078, allocations: 33.7 kB / 0.6091 GB, free: 14.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001869/0.6097, allocations: 2.12 MB / 0.6111 GB, free: 12.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/0.6101, allocations: 351.6 kB / 0.6115 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/0.6111, allocations: 0.6664 MB / 0.6121 GB, free: 10.99 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.6112, allocations: 301.1 kB / 0.6124 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.6127, allocations: 0.9431 MB / 0.6133 GB, free: 9.746 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002981/0.6157, allocations: 2.913 MB / 0.6162 GB, free: 5.852 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004927/0.6206, allocations: 4.22 MB / 0.6203 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.553e-05/0.6207, allocations: 20 kB / 0.6203 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006923/0.6277, allocations: 3.744 MB / 0.624 GB, free: 12.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.101e-05/0.6278, allocations: 42.88 kB / 0.624 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/0.6279, allocations: 72 kB / 0.6241 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.6281, allocations: 92 kB / 0.6242 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/0.6303, allocations: 0.7056 MB / 0.6249 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001347/0.6305, allocations: 139.4 kB / 0.625 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.6329, allocations: 443.2 kB / 0.6254 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/0.6333, allocations: 200 kB / 0.6256 GB, free: 11.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.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 (388): * Single equations (assignments): 383 * 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.002649/0.636, allocations: 1.562 MB / 0.6271 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/0.6364, allocations: 177.6 kB / 0.6273 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.6369, allocations: 218.7 kB / 0.6275 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/0.6369, allocations: 12 kB / 0.6275 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.6369, allocations: 0 / 0.6275 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.056e-06/0.6369, allocations: 3.984 kB / 0.6275 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009605/0.6465, allocations: 5.076 MB / 0.6325 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.6466, allocations: 8 kB / 0.6325 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.6471, allocations: 115.8 kB / 0.6326 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.841e-05/0.6471, allocations: 12 kB / 0.6326 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.6472, allocations: 27.92 kB / 0.6326 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/0.6472, allocations: 15.94 kB / 0.6326 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.6472, allocations: 11.94 kB / 0.6327 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.649, allocations: 1.403 MB / 0.634 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006746/0.6497, allocations: 286.3 kB / 0.6343 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/0.6501, allocations: 27.92 kB / 0.6343 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.6508, allocations: 39.86 kB / 0.6344 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.651, allocations: 59.83 kB / 0.6344 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-05/0.651, allocations: 35.98 kB / 0.6345 GB, free: 1.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002617/0.6537, allocations: 1.477 MB / 0.6359 GB, free: 308 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.716e-06/0.6537, allocations: 0 / 0.6359 GB, free: 308 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.003148/0.6568, allocations: 0.8125 MB / 0.6367 GB, free: 15.48 MB / 0.4981 GB 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.0003853/0.6572, allocations: 150.9 kB / 0.6368 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00335/0.6606, allocations: 2.192 MB / 0.639 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.6606, allocations: 0 / 0.639 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006302/0.6613, allocations: 0.4982 MB / 0.6395 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.6629, allocations: 305 kB / 0.6398 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.6749, allocations: 5.926 MB / 0.6455 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004078/0.679, allocations: 2.599 MB / 0.6481 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002644/0.6817, allocations: 1.04 MB / 0.6491 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.6822, allocations: 135.4 kB / 0.6492 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of SimCode: time 1.203e-06/0.6822, allocations: 0 / 0.6492 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of Templates: time 0.03779/0.72, allocations: 17.4 MB / 0.6662 GB, free: 1.117 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches