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.0014/0.0014, allocations: 118.4 kB / 17.78 MB, free: 5.234 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.001596/0.001596, allocations: 183.8 kB / 18.72 MB, free: 4.312 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.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2073/0.2073, allocations: 44.18 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3276, allocations: 60.81 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01046/0.3381, allocations: 9.744 MB / 0.5279 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006642/0.3448, allocations: 2.923 MB / 0.5308 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.3466, allocations: 53.66 kB / 0.5308 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004076/0.3507, allocations: 1.991 MB / 0.5328 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.3541, allocations: 1.16 MB / 0.5339 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00088/0.355, allocations: 286 kB / 0.5342 GB, free: 8.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003532/0.3585, allocations: 2.325 MB / 0.5365 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00302/0.3616, allocations: 2.323 MB / 0.5387 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.3634, allocations: 0.9072 MB / 0.5396 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.3654, allocations: 1.176 MB / 0.5408 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000573/0.366, allocations: 197.8 kB / 0.5409 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.3677, allocations: 0.7001 MB / 0.5416 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.3692, allocations: 1.159 MB / 0.5428 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002056/0.3713, allocations: 1.355 MB / 0.5441 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005644/0.3769, allocations: 4.471 MB / 0.5485 GB, free: 13.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.377, allocations: 4 kB / 0.5485 GB, free: 13.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.377, allocations: 0 / 0.5485 GB, free: 13.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001563/0.3772, allocations: 0 / 0.5485 GB, free: 13.24 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.006685/0.3839, allocations: 3.02 MB / 0.5514 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.3839, allocations: 12.03 kB / 0.5514 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009025/0.3849, allocations: 495.8 kB / 0.5519 GB, free: 9.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00513/0.39, allocations: 1.602 MB / 0.5535 GB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.3926, allocations: 1.36 MB / 0.5548 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.3927, allocations: 155.8 kB / 0.5549 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005228/0.3933, allocations: 195.9 kB / 0.5551 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009387/0.4027, allocations: 6.432 MB / 0.5614 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.595e-05/0.4028, allocations: 11.88 kB / 0.5614 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.403, allocations: 91.89 kB / 0.5615 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002053/0.4051, allocations: 1.399 MB / 0.5629 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009425/0.4145, allocations: 5.49 MB / 0.5682 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02679/0.4413, allocations: 20.47 MB / 0.5882 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00448/0.4459, allocations: 2.081 MB / 0.5902 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.4469, allocations: 0.6953 MB / 0.5909 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006136/0.4531, allocations: 3.512 MB / 0.5944 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.4532, allocations: 42.92 kB / 0.5944 GB, free: 12.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.178e-06/0.4532, allocations: 0 / 0.5944 GB, free: 12.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005285/0.4585, allocations: 1.982 MB / 0.5963 GB, free: 10.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4586, allocations: 59.84 kB / 0.5964 GB, free: 10.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/0.4619, allocations: 1.97 MB / 0.5983 GB, free: 8.887 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-05/0.462, allocations: 33.7 kB / 0.5983 GB, free: 8.848 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00133/0.4633, allocations: 1.954 MB / 0.6002 GB, free: 6.871 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.4637, allocations: 329.5 kB / 0.6006 GB, free: 6.547 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008761/0.4646, allocations: 0.6313 MB / 0.6012 GB, free: 5.906 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4647, allocations: 357.9 kB / 0.6015 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.4661, allocations: 0.8881 MB / 0.6024 GB, free: 4.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/0.4686, allocations: 2.778 MB / 0.6051 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004226/0.4729, allocations: 3.992 MB / 0.609 GB, free: 12.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.095e-05/0.473, allocations: 24 kB / 0.609 GB, free: 11.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.00609/0.4791, allocations: 3.551 MB / 0.6125 GB, free: 8.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/0.4792, allocations: 40.22 kB / 0.6125 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.482e-05/0.4793, allocations: 67.94 kB / 0.6126 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-05/0.4794, allocations: 88 kB / 0.6127 GB, free: 8.238 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.4814, allocations: 0.6667 MB / 0.6133 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001299/0.4815, allocations: 127.5 kB / 0.6135 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.4836, allocations: 436.7 kB / 0.6139 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003935/0.4841, allocations: 188 kB / 0.614 GB, free: 6.832 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.002198/0.4863, allocations: 1.377 MB / 0.6154 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/0.4866, allocations: 170.8 kB / 0.6156 GB, free: 5.277 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.487, allocations: 201.2 kB / 0.6157 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.4871, allocations: 8 kB / 0.6158 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4871, allocations: 0 / 0.6158 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4871, allocations: 0 / 0.6158 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007338/0.4944, allocations: 4.145 MB / 0.6198 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.4945, allocations: 4 kB / 0.6198 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.4949, allocations: 95.83 kB / 0.6199 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.495, allocations: 8 kB / 0.6199 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.495, allocations: 31.97 kB / 0.6199 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/0.4951, allocations: 11.94 kB / 0.6199 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.4951, allocations: 12.47 kB / 0.62 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.4966, allocations: 1.247 MB / 0.6212 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.497, allocations: 259.7 kB / 0.6214 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.4973, allocations: 20 kB / 0.6214 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.4979, allocations: 27.97 kB / 0.6215 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.498, allocations: 47.83 kB / 0.6215 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-05/0.4981, allocations: 28 kB / 0.6215 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002158/0.5003, allocations: 1.295 MB / 0.6228 GB, free: 13.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5003, allocations: 0 / 0.6228 GB, free: 13.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003003/0.5033, allocations: 0.7201 MB / 0.6235 GB, free: 12.88 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.002282/0.5056, allocations: 1.849 MB / 0.6253 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003107/0.5087, allocations: 2.058 MB / 0.6273 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.5088, allocations: 384 / 0.6273 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.5094, allocations: 455.9 kB / 0.6278 GB, free: 8.449 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.511, allocations: 253 kB / 0.628 GB, free: 8.207 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03196/0.543, allocations: 21.16 MB / 0.6487 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003201/0.5462, allocations: 2.323 MB / 0.6509 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002182/0.5484, allocations: 0.9599 MB / 0.6519 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/0.5501, allocations: 1.077 MB / 0.6529 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.5501, allocations: 0 / 0.6529 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06266/0.6127, allocations: 33.08 MB / 0.6852 GB, free: 11.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.68, allocations: 9.031 kB / 0.6852 GB, free: 11.18 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