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.001097/0.001097, allocations: 112.8 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.001046/0.001046, allocations: 180.9 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.1976/0.1976, allocations: 44.2 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.009913/0.323, allocations: 9.738 MB / 0.5279 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.3291, allocations: 2.918 MB / 0.5308 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.3308, allocations: 50.81 kB / 0.5308 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003755/0.3346, allocations: 1.994 MB / 0.5328 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.3373, allocations: 1.16 MB / 0.5339 GB, free: 8.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.338, allocations: 291.2 kB / 0.5342 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.3408, allocations: 2.322 MB / 0.5365 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.3432, allocations: 2.33 MB / 0.5387 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.3444, allocations: 0.8995 MB / 0.5396 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.3459, allocations: 1.18 MB / 0.5408 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003454/0.3463, allocations: 197.9 kB / 0.5409 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.3475, allocations: 0.6996 MB / 0.5416 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009995/0.3485, allocations: 1.165 MB / 0.5428 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.3497, allocations: 1.351 MB / 0.5441 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004264/0.354, allocations: 4.466 MB / 0.5484 GB, free: 13.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.354, allocations: 4 kB / 0.5485 GB, free: 13.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.354, allocations: 0 / 0.5485 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.44e-05/0.3541, allocations: 0 / 0.5485 GB, free: 13.25 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.004753/0.3588, allocations: 3.02 MB / 0.5514 GB, free: 10.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3589, allocations: 8.031 kB / 0.5514 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005446/0.3594, allocations: 0.4919 MB / 0.5519 GB, free: 9.664 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005211/0.3647, allocations: 1.598 MB / 0.5535 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.3675, allocations: 1.371 MB / 0.5548 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.3676, allocations: 151.8 kB / 0.5549 GB, free: 6.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.368, allocations: 183.9 kB / 0.5551 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009042/0.377, allocations: 6.436 MB / 0.5614 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.174e-05/0.3771, allocations: 11.88 kB / 0.5614 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002446/0.3773, allocations: 91.89 kB / 0.5615 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0021/0.3794, allocations: 1.407 MB / 0.5629 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009395/0.3889, allocations: 5.488 MB / 0.5682 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02649/0.4154, allocations: 20.46 MB / 0.5882 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/0.4197, allocations: 2.08 MB / 0.5902 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009452/0.4207, allocations: 0.6953 MB / 0.5909 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00625/0.4269, allocations: 3.512 MB / 0.5943 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.427, allocations: 43 kB / 0.5944 GB, free: 12.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.895e-06/0.427, allocations: 0 / 0.5944 GB, free: 12.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005353/0.4323, allocations: 1.986 MB / 0.5963 GB, free: 10.94 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.4324, allocations: 55.84 kB / 0.5964 GB, free: 10.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.4351, allocations: 1.967 MB / 0.5983 GB, free: 8.906 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.4351, allocations: 41.7 kB / 0.5983 GB, free: 8.859 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.4367, allocations: 1.958 MB / 0.6003 GB, free: 6.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.4371, allocations: 325.6 kB / 0.6006 GB, free: 6.559 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000862/0.4379, allocations: 0.6274 MB / 0.6012 GB, free: 5.922 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.4381, allocations: 357.9 kB / 0.6015 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.4395, allocations: 0.892 MB / 0.6024 GB, free: 4.672 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002649/0.4421, allocations: 2.774 MB / 0.6051 GB, free: 0.957 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00404/0.4462, allocations: 3.998 MB / 0.609 GB, free: 12.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.883e-05/0.4462, allocations: 16 kB / 0.609 GB, free: 12.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.00502/0.4513, allocations: 3.554 MB / 0.6125 GB, free: 8.445 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.4513, allocations: 32.97 kB / 0.6125 GB, free: 8.414 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.052e-05/0.4514, allocations: 71.94 kB / 0.6126 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.379e-05/0.4515, allocations: 91.98 kB / 0.6127 GB, free: 8.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.4533, allocations: 0.6628 MB / 0.6133 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.446e-05/0.4534, allocations: 131.5 kB / 0.6134 GB, free: 7.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.4552, allocations: 432.7 kB / 0.6139 GB, free: 7.035 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.4555, allocations: 192 kB / 0.614 GB, free: 6.848 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.001902/0.4574, allocations: 1.373 MB / 0.6154 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.4576, allocations: 170.8 kB / 0.6155 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.4579, allocations: 201.1 kB / 0.6157 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.458, allocations: 8 kB / 0.6157 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.458, allocations: 8 kB / 0.6158 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.458, allocations: 3.984 kB / 0.6158 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006417/0.4644, allocations: 4.145 MB / 0.6198 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.4645, allocations: 4 kB / 0.6198 GB, free: 0.793 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.4649, allocations: 99.88 kB / 0.6199 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.4649, allocations: 11.94 kB / 0.6199 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.4649, allocations: 20 kB / 0.6199 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/0.465, allocations: 11.98 kB / 0.6199 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.465, allocations: 7.938 kB / 0.62 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.4666, allocations: 1.247 MB / 0.6212 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.4671, allocations: 259.7 kB / 0.6214 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.4673, allocations: 16 kB / 0.6214 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/0.4678, allocations: 31.97 kB / 0.6215 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.4679, allocations: 55.77 kB / 0.6215 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.468, allocations: 31.91 kB / 0.6216 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0018/0.4698, allocations: 1.283 MB / 0.6228 GB, free: 13.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4698, allocations: 4 kB / 0.6228 GB, free: 13.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002576/0.4724, allocations: 0.7163 MB / 0.6235 GB, free: 12.9 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.001977/0.4743, allocations: 1.853 MB / 0.6253 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003231/0.4776, allocations: 2.049 MB / 0.6273 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.4776, allocations: 0 / 0.6273 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.4782, allocations: 465 kB / 0.6278 GB, free: 8.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.4796, allocations: 256.2 kB / 0.628 GB, free: 8.215 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/0.5098, allocations: 21.16 MB / 0.6487 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00317/0.513, allocations: 2.323 MB / 0.6509 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002276/0.5153, allocations: 0.9638 MB / 0.6519 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/0.517, allocations: 1.066 MB / 0.6529 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of SimCode: time 1.202e-06/0.517, allocations: 0 / 0.6529 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06078/0.5778, allocations: 33.08 MB / 0.6852 GB, free: 11.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.08, allocations: 8.906 kB / 0.6852 GB, free: 11.2 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