Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.001684/0.001685, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.001772/0.001772, allocations: 180.1 kB / 18.71 MB, free: 4.363 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.432/1.432, 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.2196/0.2196, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3147, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01125/0.326, allocations: 9.734 MB / 0.5279 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006852/0.3329, allocations: 2.924 MB / 0.5308 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.3346, allocations: 57.47 kB / 0.5308 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.339, allocations: 1.984 MB / 0.5328 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.3425, allocations: 1.136 MB / 0.5339 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000988/0.3435, allocations: 294.7 kB / 0.5342 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003934/0.3474, allocations: 2.325 MB / 0.5364 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003916/0.3514, allocations: 2.327 MB / 0.5387 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.3534, allocations: 0.907 MB / 0.5396 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.3563, allocations: 1.176 MB / 0.5407 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.3573, allocations: 197.5 kB / 0.5409 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.3598, allocations: 0.7018 MB / 0.5416 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001811/0.3616, allocations: 1.143 MB / 0.5427 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.3642, allocations: 1.355 MB / 0.5441 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006616/0.3709, allocations: 4.462 MB / 0.5484 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3709, allocations: 0 / 0.5484 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3709, allocations: 0 / 0.5484 GB, free: 13.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001353/0.3711, allocations: 0 / 0.5484 GB, free: 13.29 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.00629/0.3774, allocations: 3.02 MB / 0.5514 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3774, allocations: 12.03 kB / 0.5514 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009232/0.3784, allocations: 491.8 kB / 0.5518 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00572/0.3841, allocations: 1.606 MB / 0.5534 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/0.3869, allocations: 1.364 MB / 0.5547 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.3871, allocations: 151.8 kB / 0.5549 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005383/0.3876, allocations: 195.9 kB / 0.5551 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.3997, allocations: 6.432 MB / 0.5614 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.455e-05/0.3998, allocations: 11.88 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004611/0.4003, allocations: 87.91 kB / 0.5614 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002558/0.4029, allocations: 1.399 MB / 0.5628 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/0.4147, allocations: 5.495 MB / 0.5682 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03205/0.4468, allocations: 20.46 MB / 0.5882 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004797/0.4517, allocations: 2.084 MB / 0.5902 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.4529, allocations: 0.6953 MB / 0.5909 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006983/0.4599, allocations: 3.508 MB / 0.5943 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.46, allocations: 42.94 kB / 0.5943 GB, free: 12.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.657e-06/0.46, allocations: 0 / 0.5943 GB, free: 12.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.006055/0.4661, allocations: 1.986 MB / 0.5963 GB, free: 10.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.4662, allocations: 59.84 kB / 0.5963 GB, free: 10.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/0.4701, allocations: 1.963 MB / 0.5983 GB, free: 8.949 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.4703, allocations: 33.7 kB / 0.5983 GB, free: 8.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001986/0.4723, allocations: 1.965 MB / 0.6002 GB, free: 6.922 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004661/0.4728, allocations: 333.5 kB / 0.6005 GB, free: 6.594 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.474, allocations: 0.6235 MB / 0.6011 GB, free: 5.961 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002323/0.4742, allocations: 361.9 kB / 0.6015 GB, free: 5.602 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.4758, allocations: 0.8881 MB / 0.6023 GB, free: 4.711 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.4794, allocations: 2.782 MB / 0.6051 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005713/0.4852, allocations: 3.991 MB / 0.609 GB, free: 12.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/0.4853, allocations: 20 kB / 0.609 GB, free: 12.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.008046/0.4934, allocations: 3.562 MB / 0.6125 GB, free: 8.473 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-05/0.4935, allocations: 35.98 kB / 0.6125 GB, free: 8.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/0.4936, allocations: 71.94 kB / 0.6126 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.4938, allocations: 91.98 kB / 0.6126 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.496, allocations: 0.6589 MB / 0.6133 GB, free: 7.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001403/0.4962, allocations: 131.5 kB / 0.6134 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.4984, allocations: 433.2 kB / 0.6138 GB, free: 7.062 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004415/0.4988, allocations: 188 kB / 0.614 GB, free: 6.879 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (365): * Single equations (assignments): 360 * 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.002597/0.5014, allocations: 1.373 MB / 0.6154 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.5018, allocations: 166.8 kB / 0.6155 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.5023, allocations: 197.2 kB / 0.6157 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/0.5023, allocations: 12 kB / 0.6157 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5024, allocations: 0 / 0.6157 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.5024, allocations: 3.984 kB / 0.6157 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007305/0.5097, allocations: 4.141 MB / 0.6198 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.5097, allocations: 4.75 kB / 0.6198 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.5102, allocations: 103.8 kB / 0.6199 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.5102, allocations: 12 kB / 0.6199 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.5102, allocations: 16 kB / 0.6199 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/0.5103, allocations: 15.92 kB / 0.6199 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.5103, allocations: 15.88 kB / 0.6199 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.512, allocations: 1.247 MB / 0.6211 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.5124, allocations: 255.7 kB / 0.6214 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.5126, allocations: 16 kB / 0.6214 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/0.5131, allocations: 31.95 kB / 0.6214 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5132, allocations: 55.83 kB / 0.6215 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.5133, allocations: 28 kB / 0.6215 GB, free: 14.94 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001995/0.5153, allocations: 1.287 MB / 0.6228 GB, free: 13.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5153, allocations: 0 / 0.6228 GB, free: 13.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002578/0.5179, allocations: 0.7202 MB / 0.6235 GB, free: 12.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002327/0.5202, allocations: 1.853 MB / 0.6253 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003506/0.5238, allocations: 2.049 MB / 0.6273 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.5238, allocations: 0 / 0.6273 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000655/0.5245, allocations: 454.3 kB / 0.6277 GB, free: 8.512 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.5259, allocations: 256.1 kB / 0.628 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/0.5616, allocations: 21.16 MB / 0.6486 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003522/0.5652, allocations: 2.323 MB / 0.6509 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002477/0.5677, allocations: 0.9677 MB / 0.6518 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/0.5697, allocations: 1.073 MB / 0.6529 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.773e-06/0.5697, allocations: 0 / 0.6529 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07359/0.6433, allocations: 33.06 MB / 0.6852 GB, free: 11.26 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.64, allocations: 5.094 kB / 0.6852 GB, free: 11.26 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_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_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches