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.001295/0.001295, allocations: 106.3 kB / 16.4 MB, free: 6.508 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.001348/0.001348, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.214/0.214, allocations: 43.52 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.001597/0.001597, allocations: 73.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.1003, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01319/0.1136, allocations: 12.6 MB / 0.4997 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0073/0.1209, allocations: 3.365 MB / 0.503 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.123, allocations: 63.94 kB / 0.503 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005238/0.1284, allocations: 2.648 MB / 0.5056 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003511/0.1319, allocations: 1.35 MB / 0.507 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.1329, allocations: 355.3 kB / 0.5073 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003809/0.1367, allocations: 2.87 MB / 0.5101 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003819/0.1406, allocations: 3.164 MB / 0.5132 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.1424, allocations: 1.199 MB / 0.5144 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.1447, allocations: 1.628 MB / 0.5159 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007799/0.1455, allocations: 296 kB / 0.5162 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.1472, allocations: 0.7686 MB / 0.517 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.1491, allocations: 1.578 MB / 0.5185 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002597/0.1517, allocations: 1.833 MB / 0.5203 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006395/0.1581, allocations: 5.995 MB / 0.5262 GB, free: 4.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1581, allocations: 4 kB / 0.5262 GB, free: 4.402 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1581, allocations: 0 / 0.5262 GB, free: 4.402 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001879/0.1583, allocations: 0 / 0.5262 GB, free: 4.402 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.008628/0.167, allocations: 3.744 MB / 0.5298 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.167, allocations: 15.83 kB / 0.5298 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2043/0.3713, allocations: 0.6362 MB / 0.5305 GB, free: 38.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006537/0.3779, allocations: 1.706 MB / 0.5321 GB, free: 37.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00424/0.3822, allocations: 1.656 MB / 0.5337 GB, free: 37.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.3824, allocations: 206.9 kB / 0.5339 GB, free: 37.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009868/0.3834, allocations: 263.6 kB / 0.5342 GB, free: 37.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.4016, allocations: 8.373 MB / 0.5424 GB, free: 34.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001498/0.4018, allocations: 17.91 kB / 0.5424 GB, free: 34.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.4029, allocations: 120.7 kB / 0.5425 GB, free: 34.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003449/0.4064, allocations: 1.755 MB / 0.5442 GB, free: 34.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.4221, allocations: 7.039 MB / 0.5511 GB, free: 32.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03532/0.4574, allocations: 25.71 MB / 0.5762 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004947/0.4624, allocations: 2.549 MB / 0.5787 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.4638, allocations: 0.9656 MB / 0.5796 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008113/0.472, allocations: 4.45 MB / 0.584 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.4721, allocations: 47.56 kB / 0.584 GB, free: 15.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=120): time 5.27e-06/0.4721, allocations: 0 / 0.584 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=120): time 0.007578/0.4797, allocations: 2.727 MB / 0.5867 GB, free: 13.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.4798, allocations: 64.41 kB / 0.5867 GB, free: 13.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/0.4835, allocations: 2.257 MB / 0.589 GB, free: 10.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.4837, allocations: 41.7 kB / 0.589 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.4852, allocations: 2.314 MB / 0.5913 GB, free: 8.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005534/0.4858, allocations: 466 kB / 0.5917 GB, free: 8.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001256/0.4871, allocations: 0.7499 MB / 0.5924 GB, free: 7.258 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.809e-05/0.4872, allocations: 301.1 kB / 0.5927 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.489, allocations: 1.12 MB / 0.5938 GB, free: 5.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/0.4922, allocations: 3.287 MB / 0.597 GB, free: 1.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005536/0.4977, allocations: 4.819 MB / 0.6017 GB, free: 11.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.296e-05/0.4978, allocations: 29.72 kB / 0.6018 GB, free: 11.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008091/0.506, allocations: 4.317 MB / 0.606 GB, free: 7.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.419e-05/0.5061, allocations: 40.06 kB / 0.606 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/0.5062, allocations: 76 kB / 0.6061 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.5064, allocations: 100 kB / 0.6062 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.5091, allocations: 0.8188 MB / 0.607 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001319/0.5093, allocations: 147.4 kB / 0.6071 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/0.5119, allocations: 0.4908 MB / 0.6076 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005468/0.5125, allocations: 220 kB / 0.6078 GB, free: 5.363 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.003168/0.5157, allocations: 1.721 MB / 0.6095 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005244/0.5162, allocations: 193.5 kB / 0.6097 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.5193, allocations: 1.514 MB / 0.6111 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/0.5193, allocations: 15.98 kB / 0.6112 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5193, allocations: 0 / 0.6112 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.5193, allocations: 4.547 kB / 0.6112 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.5339, allocations: 7.374 MB / 0.6184 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-05/0.5339, allocations: 20.22 kB / 0.6184 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008868/0.5348, allocations: 187.6 kB / 0.6186 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.653e-05/0.5349, allocations: 24 kB / 0.6186 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.535, allocations: 39.98 kB / 0.6186 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.581e-05/0.5351, allocations: 34.61 kB / 0.6187 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/0.5351, allocations: 19.94 kB / 0.6187 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.5378, allocations: 2.005 MB / 0.6206 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/0.5385, allocations: 330 kB / 0.621 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/0.5389, allocations: 39.92 kB / 0.621 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009696/0.5399, allocations: 51.88 kB / 0.621 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.5401, allocations: 107.5 kB / 0.6211 GB, free: 7.184 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.5402, allocations: 51.98 kB / 0.6212 GB, free: 7.133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002575/0.5428, allocations: 1.578 MB / 0.6227 GB, free: 5.539 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5428, allocations: 0 / 0.6227 GB, free: 5.539 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003396/0.5462, allocations: 0.9305 MB / 0.6236 GB, free: 4.609 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.003256/0.5495, allocations: 2.625 MB / 0.6262 GB, free: 1.762 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004305/0.5538, allocations: 2.659 MB / 0.6288 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.5538, allocations: 4 kB / 0.6288 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.5549, allocations: 0.6953 MB / 0.6295 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.5571, allocations: 329.3 kB / 0.6298 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04555/0.6026, allocations: 27.16 MB / 0.6563 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004381/0.6071, allocations: 2.824 MB / 0.6591 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003047/0.6101, allocations: 1.178 MB / 0.6602 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002334/0.6125, allocations: 1.433 MB / 0.6616 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/0.6125, allocations: 0 / 0.6616 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07831/0.6908, allocations: 41.4 MB / 0.7021 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.46, allocations: 15.95 kB / 0.7021 GB, free: 0.7969 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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