Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_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.001066/0.001066, allocations: 110.5 kB / 16.4 MB, free: 6.367 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.001102/0.001102, allocations: 196.2 kB / 17.34 MB, free: 5.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1959/0.1959, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 73.47 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01251/0.1162, allocations: 12.61 MB / 0.4997 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006656/0.1229, allocations: 3.357 MB / 0.503 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.1247, allocations: 67.88 kB / 0.503 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004911/0.1296, allocations: 2.652 MB / 0.5056 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00342/0.1331, allocations: 1.393 MB / 0.507 GB, free: 8.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009815/0.1341, allocations: 347.3 kB / 0.5073 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0039/0.138, allocations: 2.87 MB / 0.5101 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.1421, allocations: 3.168 MB / 0.5132 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.1443, allocations: 1.199 MB / 0.5144 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002451/0.1468, allocations: 1.624 MB / 0.516 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008425/0.1476, allocations: 300 kB / 0.5163 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.1493, allocations: 0.7762 MB / 0.517 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.151, allocations: 1.566 MB / 0.5185 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002604/0.1536, allocations: 1.833 MB / 0.5203 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00645/0.1601, allocations: 6.023 MB / 0.5262 GB, free: 4.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1601, allocations: 4 kB / 0.5262 GB, free: 4.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1601, allocations: 3.938 kB / 0.5262 GB, free: 4.344 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001663/0.1603, allocations: 0 / 0.5262 GB, free: 4.344 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.007238/0.1676, allocations: 3.843 MB / 0.53 GB, free: 440 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1676, allocations: 11.89 kB / 0.53 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1739/0.3415, allocations: 0.6318 MB / 0.5306 GB, free: 38.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005949/0.3475, allocations: 1.742 MB / 0.5323 GB, free: 37.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/0.3508, allocations: 1.657 MB / 0.5339 GB, free: 37.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.3509, allocations: 205.6 kB / 0.5341 GB, free: 37.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005343/0.3515, allocations: 265.4 kB / 0.5344 GB, free: 37.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.3641, allocations: 8.373 MB / 0.5426 GB, free: 34.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.054e-05/0.3642, allocations: 18.41 kB / 0.5426 GB, free: 34.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003354/0.3645, allocations: 121.1 kB / 0.5427 GB, free: 34.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002775/0.3673, allocations: 1.759 MB / 0.5444 GB, free: 34.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.38, allocations: 7.037 MB / 0.5513 GB, free: 32.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02705/0.4071, allocations: 25.78 MB / 0.5764 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/0.4117, allocations: 2.545 MB / 0.5789 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.4129, allocations: 0.9695 MB / 0.5799 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006807/0.4197, allocations: 4.466 MB / 0.5842 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.4197, allocations: 39.56 kB / 0.5843 GB, free: 96 kB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.206e-06/0.4197, allocations: 0 / 0.5843 GB, free: 96 kB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.007177/0.4269, allocations: 2.736 MB / 0.587 GB, free: 13.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.427, allocations: 60.41 kB / 0.587 GB, free: 13.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/0.43, allocations: 2.269 MB / 0.5892 GB, free: 10.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.4301, allocations: 41.7 kB / 0.5893 GB, free: 10.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.4316, allocations: 2.41 MB / 0.5916 GB, free: 8.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004972/0.4321, allocations: 488.3 kB / 0.5921 GB, free: 8.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009276/0.4331, allocations: 0.7544 MB / 0.5928 GB, free: 7.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.4332, allocations: 305.1 kB / 0.5931 GB, free: 6.949 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.4348, allocations: 1.12 MB / 0.5942 GB, free: 5.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/0.438, allocations: 3.284 MB / 0.5974 GB, free: 1.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005342/0.4433, allocations: 4.821 MB / 0.6021 GB, free: 11.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.404e-05/0.4434, allocations: 23.94 kB / 0.6021 GB, free: 11.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006782/0.4502, allocations: 4.326 MB / 0.6064 GB, free: 7.234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.4503, allocations: 40 kB / 0.6064 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.011e-05/0.4504, allocations: 76 kB / 0.6065 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.42e-05/0.4505, allocations: 100 kB / 0.6066 GB, free: 7.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.4529, allocations: 0.8188 MB / 0.6074 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001242/0.4531, allocations: 147.4 kB / 0.6075 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.4553, allocations: 0.504 MB / 0.608 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/0.4557, allocations: 224 kB / 0.6082 GB, free: 5.332 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.002605/0.4583, allocations: 1.726 MB / 0.6099 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003349/0.4587, allocations: 206.6 kB / 0.6101 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.4612, allocations: 1.51 MB / 0.6116 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.4612, allocations: 23.92 kB / 0.6116 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4612, allocations: 0 / 0.6116 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.4613, allocations: 3.984 kB / 0.6116 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.4733, allocations: 7.383 MB / 0.6188 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/0.4734, allocations: 16 kB / 0.6188 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/0.4742, allocations: 191.6 kB / 0.619 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-05/0.4742, allocations: 20 kB / 0.619 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-05/0.4743, allocations: 39.98 kB / 0.6191 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.086e-05/0.4744, allocations: 31.86 kB / 0.6191 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/0.4744, allocations: 19.94 kB / 0.6191 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.4768, allocations: 2.014 MB / 0.6211 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.4774, allocations: 335.2 kB / 0.6214 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00036/0.4778, allocations: 39.98 kB / 0.6214 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008603/0.4787, allocations: 51.86 kB / 0.6215 GB, free: 7.227 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.4789, allocations: 115.5 kB / 0.6216 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.479, allocations: 51.98 kB / 0.6216 GB, free: 7.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002264/0.4812, allocations: 1.574 MB / 0.6232 GB, free: 5.473 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4812, allocations: 0 / 0.6232 GB, free: 5.473 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003055/0.4843, allocations: 0.9343 MB / 0.6241 GB, free: 4.535 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.003072/0.4874, allocations: 2.639 MB / 0.6267 GB, free: 1.672 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00428/0.4917, allocations: 2.664 MB / 0.6293 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.4917, allocations: 0 / 0.6293 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.4928, allocations: 0.6911 MB / 0.63 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.495, allocations: 336.2 kB / 0.6303 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04051/0.5355, allocations: 27.28 MB / 0.6569 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004426/0.54, allocations: 2.828 MB / 0.6597 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002901/0.5429, allocations: 1.174 MB / 0.6608 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/0.5451, allocations: 1.436 MB / 0.6622 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.5451, allocations: 0 / 0.6622 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07059/0.6157, allocations: 40.95 MB / 0.7022 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.02, allocations: 19.94 kB / 0.7022 GB, free: 1.004 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_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_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches