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.001118/0.001118, allocations: 109.5 kB / 17.78 MB, free: 5.293 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.001154/0.001154, allocations: 188 kB / 18.71 MB, free: 4.371 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.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.1901/0.1901, allocations: 44.17 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 59.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3353, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01125/0.3466, allocations: 10.51 MB / 0.5287 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007252/0.3539, allocations: 3.101 MB / 0.5317 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.356, allocations: 58.5 kB / 0.5318 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004847/0.3608, allocations: 2.621 MB / 0.5343 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.3643, allocations: 1.221 MB / 0.5355 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009487/0.3653, allocations: 349.3 kB / 0.5358 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00364/0.3689, allocations: 2.585 MB / 0.5384 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/0.3725, allocations: 3.037 MB / 0.5413 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.3745, allocations: 1.089 MB / 0.5424 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.3765, allocations: 1.424 MB / 0.5438 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000542/0.3771, allocations: 260 kB / 0.544 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.3785, allocations: 0.7607 MB / 0.5448 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.3797, allocations: 1.403 MB / 0.5462 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.3815, allocations: 1.635 MB / 0.5478 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.3865, allocations: 5.353 MB / 0.553 GB, free: 8.605 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3865, allocations: 0 / 0.553 GB, free: 8.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3865, allocations: 0 / 0.553 GB, free: 8.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001103/0.3866, allocations: 4 kB / 0.553 GB, free: 8.602 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.005932/0.3926, allocations: 3.399 MB / 0.5563 GB, free: 5.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.3926, allocations: 8.031 kB / 0.5563 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008789/0.3935, allocations: 0.5668 MB / 0.5569 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005313/0.3988, allocations: 1.665 MB / 0.5585 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/0.4025, allocations: 1.539 MB / 0.56 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.4026, allocations: 192.8 kB / 0.5602 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007291/0.4034, allocations: 235.9 kB / 0.5604 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/0.4161, allocations: 7.497 MB / 0.5677 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/0.4162, allocations: 11.88 kB / 0.5677 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004531/0.4167, allocations: 111.9 kB / 0.5678 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002415/0.4191, allocations: 1.572 MB / 0.5694 GB, free: 7.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.4307, allocations: 6.254 MB / 0.5755 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03378/0.4645, allocations: 23.14 MB / 0.5981 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004624/0.4692, allocations: 2.201 MB / 0.6002 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.4703, allocations: 0.7659 MB / 0.601 GB, free: 6.238 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007579/0.4779, allocations: 3.888 MB / 0.6048 GB, free: 2.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.478, allocations: 39.12 kB / 0.6048 GB, free: 2.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 3.747e-06/0.478, allocations: 0 / 0.6048 GB, free: 2.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.006065/0.4841, allocations: 2.248 MB / 0.607 GB, free: 15.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4842, allocations: 63.91 kB / 0.6071 GB, free: 15.83 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003415/0.4876, allocations: 2.105 MB / 0.6091 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.238e-05/0.4877, allocations: 41.69 kB / 0.6092 GB, free: 13.63 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001425/0.4891, allocations: 2.116 MB / 0.6112 GB, free: 11.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.4895, allocations: 347.6 kB / 0.6116 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009283/0.4905, allocations: 0.6625 MB / 0.6122 GB, free: 10.47 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.4906, allocations: 301.1 kB / 0.6125 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4919, allocations: 0.947 MB / 0.6134 GB, free: 9.223 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/0.4945, allocations: 2.913 MB / 0.6163 GB, free: 5.328 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004616/0.4992, allocations: 4.214 MB / 0.6204 GB, free: 132 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.343e-05/0.4992, allocations: 20 kB / 0.6204 GB, free: 112 kB / 478.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006116/0.5054, allocations: 3.761 MB / 0.6241 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.5055, allocations: 32 kB / 0.6241 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-05/0.5056, allocations: 72 kB / 0.6242 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.5057, allocations: 92 kB / 0.6243 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.5078, allocations: 0.6979 MB / 0.6249 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001136/0.5079, allocations: 131.5 kB / 0.6251 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.5101, allocations: 439.3 kB / 0.6255 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/0.5104, allocations: 203.9 kB / 0.6257 GB, free: 10.69 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.002332/0.5128, allocations: 1.566 MB / 0.6272 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/0.5131, allocations: 177.6 kB / 0.6274 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.5135, allocations: 214.7 kB / 0.6276 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.5135, allocations: 8 kB / 0.6276 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.5136, allocations: 0 / 0.6276 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5136, allocations: 3.984 kB / 0.6276 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009462/0.523, allocations: 5.079 MB / 0.6325 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.5231, allocations: 8 kB / 0.6326 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.5236, allocations: 119.7 kB / 0.6327 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/0.5236, allocations: 15.94 kB / 0.6327 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.327e-05/0.5237, allocations: 24 kB / 0.6327 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.905e-05/0.5237, allocations: 19.91 kB / 0.6327 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.5237, allocations: 12 kB / 0.6327 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.5254, allocations: 1.403 MB / 0.6341 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/0.526, allocations: 286.3 kB / 0.6344 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/0.5263, allocations: 23.94 kB / 0.6344 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.527, allocations: 35.88 kB / 0.6344 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.5271, allocations: 67.73 kB / 0.6345 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.604e-05/0.5272, allocations: 36 kB / 0.6345 GB, free: 1.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002363/0.5295, allocations: 1.48 MB / 0.636 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.463e-06/0.5296, allocations: 0 / 0.636 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002907/0.5325, allocations: 0.8086 MB / 0.6368 GB, free: 14.96 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.002154/0.5346, allocations: 2.031 MB / 0.6388 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003207/0.5379, allocations: 2.191 MB / 0.6409 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.5379, allocations: 0 / 0.6409 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006005/0.5385, allocations: 0.4946 MB / 0.6414 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.5401, allocations: 300.1 kB / 0.6417 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03419/0.5743, allocations: 23.61 MB / 0.6647 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003557/0.5779, allocations: 2.599 MB / 0.6673 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002306/0.5803, allocations: 1.036 MB / 0.6683 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001783/0.5821, allocations: 1.261 MB / 0.6695 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.5821, allocations: 3.938 kB / 0.6695 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06995/0.652, allocations: 38.07 MB / 0.7067 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.4, allocations: 1.031 kB / 0.7067 GB, free: 4.699 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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