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.001349/0.00135, allocations: 118.6 kB / 17.78 MB, free: 5.125 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.001406/0.001406, allocations: 185 kB / 18.72 MB, free: 4.203 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2293/0.2293, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3441, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01385/0.358, allocations: 10.51 MB / 0.5287 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008532/0.3666, allocations: 3.099 MB / 0.5317 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.3692, allocations: 54.97 kB / 0.5318 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006025/0.3753, allocations: 2.616 MB / 0.5343 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003989/0.3794, allocations: 1.222 MB / 0.5355 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3805, allocations: 352.8 kB / 0.5358 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003993/0.3845, allocations: 2.594 MB / 0.5384 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/0.3881, allocations: 3.029 MB / 0.5413 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.3901, allocations: 1.099 MB / 0.5424 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/0.3922, allocations: 1.411 MB / 0.5438 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005717/0.3928, allocations: 263.9 kB / 0.544 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.3943, allocations: 0.7529 MB / 0.5448 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001507/0.3958, allocations: 1.399 MB / 0.5461 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.3977, allocations: 1.635 MB / 0.5477 GB, free: 14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006413/0.4042, allocations: 5.369 MB / 0.553 GB, free: 8.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4042, allocations: 0 / 0.553 GB, free: 8.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4042, allocations: 0 / 0.553 GB, free: 8.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001506/0.4044, allocations: 0 / 0.553 GB, free: 8.609 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.007635/0.412, allocations: 3.498 MB / 0.5564 GB, free: 5.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4121, allocations: 12.03 kB / 0.5564 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/0.4132, allocations: 0.5707 MB / 0.557 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00563/0.4189, allocations: 1.679 MB / 0.5586 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.4221, allocations: 1.54 MB / 0.5601 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.4223, allocations: 192.8 kB / 0.5603 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005838/0.4229, allocations: 243.9 kB / 0.5605 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.4357, allocations: 7.485 MB / 0.5678 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-05/0.4358, allocations: 15.88 kB / 0.5679 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003642/0.4361, allocations: 111.9 kB / 0.568 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002577/0.4387, allocations: 1.568 MB / 0.5695 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.4512, allocations: 6.258 MB / 0.5756 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03493/0.4862, allocations: 23.2 MB / 0.5983 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004912/0.4911, allocations: 2.201 MB / 0.6004 GB, free: 6.836 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.4924, allocations: 0.7646 MB / 0.6012 GB, free: 6.066 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006911/0.4993, allocations: 3.904 MB / 0.605 GB, free: 2.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.4994, allocations: 39.12 kB / 0.605 GB, free: 1.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 3.196e-06/0.4994, allocations: 0 / 0.605 GB, free: 1.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.00638/0.5058, allocations: 2.26 MB / 0.6072 GB, free: 15.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.5058, allocations: 59.97 kB / 0.6073 GB, free: 15.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.5089, allocations: 2.109 MB / 0.6093 GB, free: 13.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.092e-05/0.5091, allocations: 33.69 kB / 0.6094 GB, free: 13.44 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001705/0.5108, allocations: 2.203 MB / 0.6115 GB, free: 11.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.5112, allocations: 357.3 kB / 0.6119 GB, free: 10.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000968/0.5122, allocations: 0.6709 MB / 0.6125 GB, free: 10.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5123, allocations: 309.1 kB / 0.6128 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.5137, allocations: 0.9431 MB / 0.6137 GB, free: 8.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003167/0.5169, allocations: 2.916 MB / 0.6166 GB, free: 5.035 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005369/0.5223, allocations: 4.217 MB / 0.6207 GB, free: 15.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.702e-05/0.5224, allocations: 20 kB / 0.6207 GB, free: 15.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007586/0.53, allocations: 3.757 MB / 0.6244 GB, free: 12.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/0.5301, allocations: 39.94 kB / 0.6244 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.6e-05/0.5302, allocations: 72 kB / 0.6245 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.5304, allocations: 92 kB / 0.6246 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/0.5327, allocations: 0.694 MB / 0.6252 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001332/0.5328, allocations: 139.4 kB / 0.6254 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.5352, allocations: 460.5 kB / 0.6258 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004978/0.5358, allocations: 200 kB / 0.626 GB, free: 10.38 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.003476/0.5392, allocations: 1.562 MB / 0.6275 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/0.5397, allocations: 182.7 kB / 0.6277 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.5402, allocations: 214.7 kB / 0.6279 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/0.5403, allocations: 15.98 kB / 0.6279 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.5403, allocations: 0 / 0.6279 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.5403, allocations: 0 / 0.6279 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.5503, allocations: 5.088 MB / 0.6329 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/0.5504, allocations: 8 kB / 0.6329 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005505/0.551, allocations: 115.8 kB / 0.633 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.794e-05/0.551, allocations: 15.94 kB / 0.633 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/0.5511, allocations: 27.98 kB / 0.6331 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.966e-05/0.5511, allocations: 15.94 kB / 0.6331 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.5512, allocations: 11.94 kB / 0.6331 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.5534, allocations: 1.412 MB / 0.6345 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007052/0.5541, allocations: 291.5 kB / 0.6347 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/0.5545, allocations: 31.91 kB / 0.6348 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.5552, allocations: 39.89 kB / 0.6348 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.5553, allocations: 59.81 kB / 0.6349 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/0.5554, allocations: 39.98 kB / 0.6349 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002534/0.5579, allocations: 1.48 MB / 0.6364 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.154e-06/0.558, allocations: 0 / 0.6364 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003213/0.5612, allocations: 0.8175 MB / 0.6372 GB, free: 14.62 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.002671/0.5639, allocations: 2.032 MB / 0.6391 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003835/0.5677, allocations: 2.192 MB / 0.6413 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.5678, allocations: 4 kB / 0.6413 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007795/0.5686, allocations: 0.4985 MB / 0.6418 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.5706, allocations: 304 kB / 0.6421 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04485/0.6155, allocations: 23.73 MB / 0.6652 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004952/0.6205, allocations: 2.599 MB / 0.6678 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002606/0.6232, allocations: 1.036 MB / 0.6688 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/0.6254, allocations: 1.253 MB / 0.67 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of SimCode: time 1.362e-06/0.6255, allocations: 4 kB / 0.67 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08333/0.7088, allocations: 37.71 MB / 0.7068 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.71, allocations: 4.969 kB / 0.7068 GB, free: 4.582 MB / 0.5606 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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