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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 106.6 kB / 17.33 MB, free: 5.984 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.001285/0.001285, allocations: 193.3 kB / 18.25 MB, free: 5.074 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.413/1.413, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.2127/0.2127, allocations: 44.18 MB / 336.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 68.39 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1165, allocations: 60.84 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2957/0.4122, allocations: 52.48 MB / 0.5091 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02496/0.4372, allocations: 10.09 MB / 0.5189 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01485/0.4521, allocations: 214.7 kB / 0.5191 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005844/0.458, allocations: 2.534 MB / 0.5216 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.462, allocations: 1.143 MB / 0.5227 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.4632, allocations: 326.8 kB / 0.523 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00411/0.4673, allocations: 2.614 MB / 0.5256 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003813/0.4712, allocations: 3.186 MB / 0.5287 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.473, allocations: 1.101 MB / 0.5298 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.4746, allocations: 1.554 MB / 0.5313 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003592/0.4749, allocations: 258.6 kB / 0.5316 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.4762, allocations: 0.7663 MB / 0.5323 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.4772, allocations: 1.407 MB / 0.5337 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.4784, allocations: 1.644 MB / 0.5353 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004355/0.4828, allocations: 5.189 MB / 0.5403 GB, free: 15.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4828, allocations: 0 / 0.5403 GB, free: 15.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4828, allocations: 0 / 0.5403 GB, free: 15.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.911e-05/0.4829, allocations: 0 / 0.5403 GB, free: 15.15 MB / 398.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.005371/0.4883, allocations: 3.404 MB / 0.5437 GB, free: 12.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4884, allocations: 9.688 kB / 0.5437 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006535/0.489, allocations: 0.5698 MB / 0.5442 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00488/0.4939, allocations: 1.659 MB / 0.5459 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.4965, allocations: 1.526 MB / 0.5473 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.4967, allocations: 185.6 kB / 0.5475 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000356/0.497, allocations: 240.2 kB / 0.5478 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.509, allocations: 7.491 MB / 0.5551 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.982e-05/0.5092, allocations: 15.88 kB / 0.5551 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006184/0.5098, allocations: 107.8 kB / 0.5552 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002348/0.5122, allocations: 1.571 MB / 0.5567 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/0.5241, allocations: 6.258 MB / 0.5628 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.5589, allocations: 23.33 MB / 0.5856 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004808/0.5637, allocations: 2.198 MB / 0.5878 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.5649, allocations: 0.766 MB / 0.5885 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007541/0.5724, allocations: 3.894 MB / 0.5923 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.5725, allocations: 39.12 kB / 0.5923 GB, free: 11.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 7.123e-06/0.5725, allocations: 3.938 kB / 0.5924 GB, free: 11.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.006367/0.5789, allocations: 2.252 MB / 0.5946 GB, free: 8.797 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.579, allocations: 59.97 kB / 0.5946 GB, free: 8.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003663/0.5827, allocations: 2.101 MB / 0.5967 GB, free: 6.578 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.5827, allocations: 37.7 kB / 0.5967 GB, free: 6.535 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.5842, allocations: 2.121 MB / 0.5988 GB, free: 4.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/0.5846, allocations: 341 kB / 0.5991 GB, free: 4.078 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000934/0.5855, allocations: 0.6695 MB / 0.5997 GB, free: 3.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.5856, allocations: 301.1 kB / 0.6 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.587, allocations: 0.9392 MB / 0.601 GB, free: 2.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/0.5895, allocations: 2.916 MB / 0.6038 GB, free: 14.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/0.5939, allocations: 4.216 MB / 0.6079 GB, free: 9.074 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-05/0.5939, allocations: 20 kB / 0.6079 GB, free: 9.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005843/0.5998, allocations: 3.744 MB / 0.6116 GB, free: 5.301 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.5999, allocations: 36 kB / 0.6116 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/0.6, allocations: 72.88 kB / 0.6117 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.6001, allocations: 96 kB / 0.6118 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.6021, allocations: 0.6979 MB / 0.6125 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001092/0.6022, allocations: 139.4 kB / 0.6126 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.6044, allocations: 450.3 kB / 0.613 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/0.6047, allocations: 196 kB / 0.6132 GB, free: 3.633 MB / 462.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.002463/0.6071, allocations: 1.566 MB / 0.6147 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.6075, allocations: 177.6 kB / 0.6149 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.6079, allocations: 218.7 kB / 0.6151 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.6079, allocations: 14.48 kB / 0.6151 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6079, allocations: 0 / 0.6151 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.608, allocations: 0 / 0.6151 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0096/0.6176, allocations: 5.08 MB / 0.6201 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/0.6176, allocations: 8.156 kB / 0.6201 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.618, allocations: 115.8 kB / 0.6202 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.507e-05/0.6181, allocations: 12 kB / 0.6202 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.6181, allocations: 27.92 kB / 0.6203 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.6182, allocations: 15.94 kB / 0.6203 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.6182, allocations: 11.94 kB / 0.6203 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.62, allocations: 1.406 MB / 0.6217 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006421/0.6206, allocations: 286.3 kB / 0.6219 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003529/0.621, allocations: 30.97 kB / 0.622 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000654/0.6216, allocations: 31.89 kB / 0.622 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.6218, allocations: 67.75 kB / 0.6221 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.6218, allocations: 35.98 kB / 0.6221 GB, free: 10.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002276/0.6241, allocations: 1.477 MB / 0.6235 GB, free: 8.738 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6241, allocations: 0 / 0.6235 GB, free: 8.738 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003146/0.6273, allocations: 0.8183 MB / 0.6243 GB, free: 7.918 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.002311/0.6296, allocations: 2.014 MB / 0.6263 GB, free: 5.777 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003782/0.6334, allocations: 2.388 MB / 0.6286 GB, free: 3.406 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6334, allocations: 0 / 0.6286 GB, free: 3.406 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006163/0.634, allocations: 0.5024 MB / 0.6291 GB, free: 2.902 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.6356, allocations: 301.5 kB / 0.6294 GB, free: 2.613 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04318/0.6788, allocations: 26.82 MB / 0.6556 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004163/0.683, allocations: 2.603 MB / 0.6581 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002775/0.6858, allocations: 1.032 MB / 0.6591 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002117/0.688, allocations: 1.27 MB / 0.6604 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.688, allocations: 0 / 0.6604 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07005/0.7581, allocations: 36.87 MB / 0.6964 GB, free: 10.82 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.7583, allocations: 206.1 kB / 0.6966 GB, free: 10.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.691/3.449, allocations: 3.938 kB / 0.6966 GB, free: 10.56 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches