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.001413/0.001413, allocations: 103.9 kB / 16.4 MB, free: 6.504 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.001729/0.001729, 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.346/1.346, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.1992/0.1992, allocations: 43.52 MB / 314.1 MB, free: 452 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.001543/0.001543, allocations: 73.45 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09611, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01224/0.1084, allocations: 12.61 MB / 0.4997 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006513/0.115, allocations: 3.353 MB / 0.503 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.1166, allocations: 67.88 kB / 0.503 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004804/0.1215, allocations: 2.644 MB / 0.5056 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.1247, allocations: 1.362 MB / 0.507 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.1257, allocations: 351.3 kB / 0.5073 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003684/0.1294, allocations: 2.874 MB / 0.5101 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003759/0.1332, allocations: 3.16 MB / 0.5132 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.135, allocations: 1.199 MB / 0.5144 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/0.1372, allocations: 1.632 MB / 0.5159 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007721/0.138, allocations: 300 kB / 0.5162 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.1397, allocations: 0.7724 MB / 0.517 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.1414, allocations: 1.563 MB / 0.5185 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002466/0.1438, allocations: 1.841 MB / 0.5203 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006338/0.1502, allocations: 5.991 MB / 0.5262 GB, free: 4.387 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.1503, allocations: 4 kB / 0.5262 GB, free: 4.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1503, allocations: 0 / 0.5262 GB, free: 4.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002372/0.1505, allocations: 3.938 kB / 0.5262 GB, free: 4.379 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.007892/0.1584, allocations: 3.744 MB / 0.5298 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1585, allocations: 15.83 kB / 0.5298 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2/0.3585, allocations: 0.6377 MB / 0.5305 GB, free: 38.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005595/0.3641, allocations: 1.71 MB / 0.5321 GB, free: 37.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.3668, allocations: 1.654 MB / 0.5337 GB, free: 37.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.3669, allocations: 207.5 kB / 0.5339 GB, free: 37.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003878/0.3673, allocations: 262.9 kB / 0.5342 GB, free: 37.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.378, allocations: 8.375 MB / 0.5424 GB, free: 34.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.178e-05/0.3781, allocations: 18.69 kB / 0.5424 GB, free: 34.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000292/0.3784, allocations: 119.4 kB / 0.5425 GB, free: 34.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002533/0.3809, allocations: 1.759 MB / 0.5442 GB, free: 34.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.3921, allocations: 7.038 MB / 0.5511 GB, free: 32.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/0.4167, allocations: 25.71 MB / 0.5762 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.4209, allocations: 2.54 MB / 0.5787 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.422, allocations: 0.9695 MB / 0.5796 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005734/0.4277, allocations: 4.458 MB / 0.584 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.4277, allocations: 39.56 kB / 0.584 GB, free: 15.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=120): time 3.186e-06/0.4278, allocations: 0 / 0.584 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=120): time 0.006895/0.4347, allocations: 2.727 MB / 0.5867 GB, free: 13.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.4347, allocations: 64.41 kB / 0.5868 GB, free: 13.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.4374, allocations: 2.261 MB / 0.589 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/0.4375, allocations: 41.7 kB / 0.589 GB, free: 10.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.4389, allocations: 2.306 MB / 0.5913 GB, free: 8.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003801/0.4393, allocations: 470 kB / 0.5917 GB, free: 7.965 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000869/0.4402, allocations: 0.7421 MB / 0.5924 GB, free: 7.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.4403, allocations: 305.1 kB / 0.5927 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.4419, allocations: 1.124 MB / 0.5938 GB, free: 5.789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003119/0.445, allocations: 3.276 MB / 0.597 GB, free: 1.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005115/0.4501, allocations: 4.825 MB / 0.6017 GB, free: 11.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-05/0.4502, allocations: 27.94 kB / 0.6017 GB, free: 11.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006992/0.4572, allocations: 4.325 MB / 0.606 GB, free: 7.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.4573, allocations: 39.98 kB / 0.606 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-05/0.4574, allocations: 76 kB / 0.6061 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.311e-05/0.4575, allocations: 100 kB / 0.6062 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.4598, allocations: 0.8149 MB / 0.607 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001099/0.4599, allocations: 147.4 kB / 0.6071 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.4623, allocations: 0.4947 MB / 0.6076 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/0.4626, allocations: 220 kB / 0.6078 GB, free: 5.312 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.002359/0.465, allocations: 1.726 MB / 0.6095 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.4653, allocations: 193.5 kB / 0.6097 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.4678, allocations: 1.514 MB / 0.6112 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/0.4679, allocations: 12 kB / 0.6112 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4679, allocations: 3.938 kB / 0.6112 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.4679, allocations: 3.984 kB / 0.6112 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.4819, allocations: 7.378 MB / 0.6184 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/0.4819, allocations: 16 kB / 0.6184 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007883/0.4827, allocations: 191.6 kB / 0.6186 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.35e-05/0.4828, allocations: 16 kB / 0.6186 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-05/0.4829, allocations: 39.98 kB / 0.6186 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-05/0.4829, allocations: 31.86 kB / 0.6187 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/0.4829, allocations: 19.94 kB / 0.6187 GB, free: 9.887 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.4852, allocations: 2.009 MB / 0.6206 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.4858, allocations: 318 kB / 0.6209 GB, free: 7.336 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/0.4862, allocations: 35.98 kB / 0.621 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008424/0.487, allocations: 63.78 kB / 0.621 GB, free: 7.238 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.4872, allocations: 115.5 kB / 0.6212 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.4873, allocations: 44 kB / 0.6212 GB, free: 7.082 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002275/0.4896, allocations: 1.578 MB / 0.6227 GB, free: 5.488 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4896, allocations: 0 / 0.6227 GB, free: 5.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003083/0.4927, allocations: 0.9305 MB / 0.6236 GB, free: 4.559 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.00289/0.4956, allocations: 2.621 MB / 0.6262 GB, free: 1.715 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004018/0.4996, allocations: 2.664 MB / 0.6288 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.4996, allocations: 4 kB / 0.6288 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000971/0.5006, allocations: 0.6906 MB / 0.6295 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.5022, allocations: 321.6 kB / 0.6298 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03663/0.5388, allocations: 27.17 MB / 0.6563 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003741/0.5426, allocations: 2.828 MB / 0.6591 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002678/0.5453, allocations: 1.17 MB / 0.6602 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/0.5473, allocations: 1.436 MB / 0.6616 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.5473, allocations: 0 / 0.6616 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07136/0.6186, allocations: 41.4 MB / 0.7021 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.79, allocations: 19.89 kB / 0.7021 GB, free: 0.7461 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