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.001098/0.001098, allocations: 104.9 kB / 16.27 MB, free: 5.93 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.001155/0.001155, allocations: 190.8 kB / 17.2 MB, free: 5.574 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.348/1.348, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.1973/0.1973, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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: 66.14 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08197/0.08359, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01074/0.09438, allocations: 12.59 MB / 453.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006414/0.1008, allocations: 3.365 MB / 456.6 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.1022, allocations: 67.88 kB / 456.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004388/0.1067, allocations: 2.644 MB / 459.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.1095, allocations: 1.354 MB / 460.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000749/0.1103, allocations: 355.3 kB / 461 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00303/0.1134, allocations: 2.87 MB / 463.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.1164, allocations: 3.172 MB / 467 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.1177, allocations: 1.199 MB / 468.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.1194, allocations: 1.632 MB / 469.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.1198, allocations: 296 kB / 470.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.1212, allocations: 0.7724 MB / 470.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.1224, allocations: 1.551 MB / 472.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.1241, allocations: 1.845 MB / 474.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005159/0.1293, allocations: 5.783 MB / 480.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1293, allocations: 4 kB / 480.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1293, allocations: 0 / 480.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001332/0.1294, allocations: 4 kB / 480.1 MB, free: 15.15 MB / 366.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.00672/0.1362, allocations: 3.736 MB / 483.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1362, allocations: 11.89 kB / 483.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007679/0.137, allocations: 0.6408 MB / 484.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005751/0.1428, allocations: 1.712 MB / 486.2 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/0.1463, allocations: 1.644 MB / 487.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.1465, allocations: 209.2 kB / 488.1 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000582/0.1471, allocations: 259.9 kB / 488.3 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/0.1619, allocations: 8.37 MB / 496.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.672e-05/0.162, allocations: 19.88 kB / 496.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006334/0.1626, allocations: 119.9 kB / 496.8 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/0.1654, allocations: 1.76 MB / 498.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01292/0.1784, allocations: 7.039 MB / 0.4938 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03891/0.2173, allocations: 25.91 MB / 0.5191 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006119/0.2235, allocations: 2.541 MB / 0.5216 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.2252, allocations: 0.9734 MB / 0.5225 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009064/0.2343, allocations: 4.455 MB / 0.5269 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.2344, allocations: 47.55 kB / 0.5269 GB, free: 2.285 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 7.124e-06/0.2344, allocations: 0 / 0.5269 GB, free: 2.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.197/0.4315, allocations: 2.728 MB / 0.5296 GB, free: 88.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.4315, allocations: 65.53 kB / 0.5296 GB, free: 88.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/0.4352, allocations: 2.252 MB / 0.5318 GB, free: 88.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.4354, allocations: 42.89 kB / 0.5319 GB, free: 88.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.4368, allocations: 2.313 MB / 0.5341 GB, free: 86.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005402/0.4374, allocations: 464.9 kB / 0.5346 GB, free: 86.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.4385, allocations: 0.7456 MB / 0.5353 GB, free: 86.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.4386, allocations: 308.7 kB / 0.5356 GB, free: 86.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.4403, allocations: 1.122 MB / 0.5367 GB, free: 86.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/0.4431, allocations: 3.285 MB / 0.5399 GB, free: 82.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/0.4489, allocations: 4.821 MB / 0.5446 GB, free: 78.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001592/0.4491, allocations: 20.84 kB / 0.5446 GB, free: 78.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008222/0.4573, allocations: 4.326 MB / 0.5488 GB, free: 77.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.039e-05/0.4574, allocations: 35.41 kB / 0.5489 GB, free: 77.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/0.4575, allocations: 78.75 kB / 0.549 GB, free: 77.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.4577, allocations: 99.12 kB / 0.5491 GB, free: 77.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.4601, allocations: 0.8209 MB / 0.5499 GB, free: 77.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001112/0.4602, allocations: 144.2 kB / 0.55 GB, free: 77.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.4626, allocations: 0.4954 MB / 0.5505 GB, free: 76.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/0.4629, allocations: 227.6 kB / 0.5507 GB, free: 76.74 MB / 414.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.002238/0.4652, allocations: 1.706 MB / 0.5524 GB, free: 75.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.4655, allocations: 198.8 kB / 0.5525 GB, free: 75.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.4679, allocations: 1.515 MB / 0.554 GB, free: 75.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.4679, allocations: 16.25 kB / 0.554 GB, free: 75.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.468, allocations: 4 kB / 0.554 GB, free: 75.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.468, allocations: 7.828 kB / 0.5541 GB, free: 75.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.4785, allocations: 7.371 MB / 0.5613 GB, free: 70.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/0.4786, allocations: 14.53 kB / 0.5613 GB, free: 70.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006972/0.4793, allocations: 192.5 kB / 0.5614 GB, free: 70.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/0.4793, allocations: 20 kB / 0.5615 GB, free: 70.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.4794, allocations: 43.98 kB / 0.5615 GB, free: 70.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.638e-05/0.4794, allocations: 35.8 kB / 0.5615 GB, free: 70.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/0.4794, allocations: 19.94 kB / 0.5616 GB, free: 70.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.4814, allocations: 2.006 MB / 0.5635 GB, free: 68.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004845/0.4819, allocations: 314 kB / 0.5638 GB, free: 67.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003884/0.4823, allocations: 40.73 kB / 0.5639 GB, free: 67.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009385/0.4832, allocations: 51.88 kB / 0.5639 GB, free: 67.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.4834, allocations: 114.2 kB / 0.564 GB, free: 67.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/0.4835, allocations: 55.98 kB / 0.5641 GB, free: 67.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.4852, allocations: 1.57 MB / 0.5656 GB, free: 65.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4852, allocations: 0 / 0.5656 GB, free: 65.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002889/0.4881, allocations: 0.9286 MB / 0.5665 GB, free: 65.01 MB / 414.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.00219/0.4903, allocations: 2.623 MB / 0.5691 GB, free: 62.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003485/0.4938, allocations: 2.902 MB / 0.5719 GB, free: 59.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.4939, allocations: 4 kB / 0.5719 GB, free: 59.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007499/0.4946, allocations: 0.6983 MB / 0.5726 GB, free: 58.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.4964, allocations: 323.6 kB / 0.5729 GB, free: 58.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03384/0.5303, allocations: 29.35 MB / 0.6016 GB, free: 24.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003026/0.5333, allocations: 2.834 MB / 0.6043 GB, free: 21.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002555/0.5359, allocations: 1.167 MB / 0.6055 GB, free: 20.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/0.5375, allocations: 1.429 MB / 0.6069 GB, free: 19.36 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5375, allocations: 0 / 0.6069 GB, free: 19.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08134/0.6189, allocations: 41.64 MB / 0.6475 GB, free: 9.699 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/9.265, allocations: 3.75 kB / 0.6475 GB, free: 9.699 MB / 446.1 MB (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