Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",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.001312/0.001312, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.00124/0.00124, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2163/0.2163, allocations: 44.18 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3156, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01099/0.3266, allocations: 9.735 MB / 0.5279 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006646/0.3333, allocations: 2.919 MB / 0.5308 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.3352, allocations: 49.47 kB / 0.5308 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004187/0.3394, allocations: 1.999 MB / 0.5328 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.3425, allocations: 1.129 MB / 0.5339 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008499/0.3433, allocations: 286.4 kB / 0.5342 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003348/0.3467, allocations: 2.329 MB / 0.5364 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.3498, allocations: 2.338 MB / 0.5387 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.3514, allocations: 0.8987 MB / 0.5396 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.3533, allocations: 1.178 MB / 0.5407 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005143/0.3538, allocations: 198 kB / 0.5409 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.3552, allocations: 0.7023 MB / 0.5416 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.3564, allocations: 1.15 MB / 0.5427 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.3579, allocations: 1.347 MB / 0.5441 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005361/0.3632, allocations: 4.471 MB / 0.5484 GB, free: 13.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3633, allocations: 0 / 0.5484 GB, free: 13.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3633, allocations: 0 / 0.5484 GB, free: 13.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001055/0.3634, allocations: 0 / 0.5484 GB, free: 13.27 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.005215/0.3686, allocations: 3.02 MB / 0.5514 GB, free: 10.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3687, allocations: 12.03 kB / 0.5514 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006188/0.3693, allocations: 491.8 kB / 0.5518 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005328/0.3746, allocations: 1.606 MB / 0.5534 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/0.3771, allocations: 1.356 MB / 0.5547 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3772, allocations: 155.8 kB / 0.5549 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/0.3776, allocations: 187.9 kB / 0.5551 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009673/0.3873, allocations: 6.432 MB / 0.5613 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/0.3873, allocations: 11.88 kB / 0.5614 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.3876, allocations: 91.89 kB / 0.5614 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002237/0.3898, allocations: 1.403 MB / 0.5628 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009644/0.3995, allocations: 5.486 MB / 0.5682 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02763/0.4272, allocations: 20.47 MB / 0.5882 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.4317, allocations: 2.096 MB / 0.5902 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.4328, allocations: 0.6836 MB / 0.5909 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006138/0.4389, allocations: 3.523 MB / 0.5943 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.439, allocations: 39 kB / 0.5944 GB, free: 12.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.206e-06/0.439, allocations: 0 / 0.5944 GB, free: 12.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005266/0.4443, allocations: 1.974 MB / 0.5963 GB, free: 10.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.4444, allocations: 67.84 kB / 0.5963 GB, free: 10.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.4473, allocations: 1.967 MB / 0.5983 GB, free: 8.918 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.904e-05/0.4474, allocations: 29.7 kB / 0.5983 GB, free: 8.883 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.4489, allocations: 1.965 MB / 0.6002 GB, free: 6.895 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.4493, allocations: 329.5 kB / 0.6005 GB, free: 6.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008288/0.4501, allocations: 0.6235 MB / 0.6011 GB, free: 5.938 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.4503, allocations: 357.9 kB / 0.6015 GB, free: 5.582 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.4517, allocations: 0.8959 MB / 0.6024 GB, free: 4.684 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/0.4546, allocations: 2.77 MB / 0.6051 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/0.4593, allocations: 3.992 MB / 0.609 GB, free: 12.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.544e-05/0.4594, allocations: 20 kB / 0.609 GB, free: 12.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005464/0.4648, allocations: 3.566 MB / 0.6125 GB, free: 8.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.4649, allocations: 32 kB / 0.6125 GB, free: 8.422 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.447e-05/0.465, allocations: 71.94 kB / 0.6126 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.289e-05/0.4651, allocations: 88 kB / 0.6126 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/0.467, allocations: 0.6589 MB / 0.6133 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001265/0.4671, allocations: 131.5 kB / 0.6134 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.469, allocations: 432.9 kB / 0.6138 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.4692, allocations: 195.9 kB / 0.614 GB, free: 6.859 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.002047/0.4713, allocations: 1.377 MB / 0.6154 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.4715, allocations: 166.8 kB / 0.6155 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003621/0.4719, allocations: 205.2 kB / 0.6157 GB, free: 5.105 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.4719, allocations: 8 kB / 0.6157 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4719, allocations: 0 / 0.6157 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.4719, allocations: 3.984 kB / 0.6157 GB, free: 5.094 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006613/0.4785, allocations: 4.149 MB / 0.6198 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.4786, allocations: 4 kB / 0.6198 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.479, allocations: 99.81 kB / 0.6199 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.479, allocations: 8 kB / 0.6199 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.4791, allocations: 16.72 kB / 0.6199 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.4791, allocations: 12 kB / 0.6199 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.4791, allocations: 11.94 kB / 0.6199 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.4807, allocations: 1.251 MB / 0.6211 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.4811, allocations: 251.7 kB / 0.6214 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.4813, allocations: 23.98 kB / 0.6214 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.4818, allocations: 23.92 kB / 0.6214 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4819, allocations: 59.83 kB / 0.6215 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/0.4819, allocations: 31.98 kB / 0.6215 GB, free: 14.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001874/0.4838, allocations: 1.279 MB / 0.6228 GB, free: 13.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4838, allocations: 0 / 0.6228 GB, free: 13.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002392/0.4862, allocations: 0.7241 MB / 0.6235 GB, free: 12.91 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.002119/0.4884, allocations: 1.845 MB / 0.6253 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003225/0.4916, allocations: 2.054 MB / 0.6273 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4916, allocations: 4.062 kB / 0.6273 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000609/0.4922, allocations: 455.9 kB / 0.6277 GB, free: 8.484 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.4935, allocations: 249.9 kB / 0.628 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03002/0.5236, allocations: 21.16 MB / 0.6486 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/0.5262, allocations: 2.323 MB / 0.6509 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002071/0.5283, allocations: 0.9677 MB / 0.6518 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/0.5297, allocations: 1.073 MB / 0.6529 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/0.5297, allocations: 0 / 0.6529 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0702/0.5999, allocations: 33.07 MB / 0.6852 GB, free: 11.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.78, allocations: 13.03 kB / 0.6852 GB, free: 11.22 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_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_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches