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.0007901/0.0007901, allocations: 103 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008627/0.0008627, allocations: 181.4 kB / 16.92 MB, free: 6.922 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.352/1.352, allocations: 205.4 MB / 223.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3158/0.3158, allocations: 43.57 MB / 315 MB, free: 8.648 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.0004662/0.0004662, allocations: 12 kB / 384.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2221/0.3371, allocations: 53.15 MB / 496.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02043/0.3576, allocations: 10.35 MB / 0.4952 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01086/0.3685, allocations: 217.6 kB / 0.4954 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.3699, allocations: 354.2 kB / 0.4957 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.3734, allocations: 1.298 MB / 0.497 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008243/0.3742, allocations: 315 kB / 0.4973 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005226/0.3795, allocations: 4.301 MB / 0.5015 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006522/0.386, allocations: 4.324 MB / 0.5057 GB, free: 5.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.3878, allocations: 0.8321 MB / 0.5065 GB, free: 5.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.3901, allocations: 1.423 MB / 0.5079 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004191/0.3906, allocations: 122.7 kB / 0.508 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.392, allocations: 0.654 MB / 0.5086 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.3936, allocations: 1.365 MB / 0.51 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001799/0.3955, allocations: 1.616 MB / 0.5116 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007064/0.4025, allocations: 5.529 MB / 0.517 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4026, allocations: 4 kB / 0.517 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4026, allocations: 0 / 0.517 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001923/0.4028, allocations: 4 kB / 0.517 GB, free: 0.8203 MB / 382.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.007803/0.4106, allocations: 3.047 MB / 0.5199 GB, free: 14.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.4107, allocations: 8.781 kB / 0.5199 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002028/0.4127, allocations: 0.6392 MB / 0.5206 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006689/0.4194, allocations: 1.755 MB / 0.5223 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/0.4235, allocations: 1.637 MB / 0.5239 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.4237, allocations: 211.5 kB / 0.5241 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006404/0.4244, allocations: 259.3 kB / 0.5243 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.4392, allocations: 8.365 MB / 0.5325 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.376e-05/0.4393, allocations: 19.81 kB / 0.5325 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003614/0.4397, allocations: 131.8 kB / 0.5326 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002778/0.4424, allocations: 1.756 MB / 0.5344 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/0.4569, allocations: 7.03 MB / 0.5412 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03691/0.4939, allocations: 25.92 MB / 0.5665 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005544/0.4995, allocations: 2.548 MB / 0.569 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.5011, allocations: 0.9708 MB / 0.57 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007531/0.5086, allocations: 4.452 MB / 0.5743 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5087, allocations: 39.56 kB / 0.5744 GB, free: 8.352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 3.546e-06/0.5087, allocations: 4 kB / 0.5744 GB, free: 8.348 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.006968/0.5157, allocations: 2.73 MB / 0.577 GB, free: 5.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.5157, allocations: 68.39 kB / 0.5771 GB, free: 5.531 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.5191, allocations: 2.261 MB / 0.5793 GB, free: 3.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.936e-05/0.5192, allocations: 45.69 kB / 0.5793 GB, free: 3.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.5207, allocations: 2.306 MB / 0.5816 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/0.5211, allocations: 462 kB / 0.582 GB, free: 392 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.5215, allocations: 333.8 kB / 0.5824 GB, free: 52 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5217, allocations: 309.1 kB / 0.5827 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.5234, allocations: 1.128 MB / 0.5838 GB, free: 14.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/0.5264, allocations: 3.283 MB / 0.587 GB, free: 10.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005391/0.5318, allocations: 4.811 MB / 0.5917 GB, free: 4.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.903e-05/0.5319, allocations: 31.88 kB / 0.5917 GB, free: 4.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.008431/0.5403, allocations: 4.32 MB / 0.5959 GB, free: 36 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.813e-05/0.5405, allocations: 36 kB / 0.5959 GB, free: 0 / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/0.5406, allocations: 76.89 kB / 0.596 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/0.5408, allocations: 108 kB / 0.5961 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002848/0.5436, allocations: 0.8187 MB / 0.5969 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001099/0.5437, allocations: 147.4 kB / 0.5971 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/0.5466, allocations: 0.4909 MB / 0.5975 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/0.547, allocations: 227.9 kB / 0.5978 GB, free: 14.14 MB / 478.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.003325/0.5503, allocations: 1.71 MB / 0.5994 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.5507, allocations: 197.5 kB / 0.5996 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.5533, allocations: 1.51 MB / 0.6011 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/0.5534, allocations: 23.94 kB / 0.6011 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5534, allocations: 0 / 0.6011 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.5534, allocations: 3.984 kB / 0.6011 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.5661, allocations: 7.373 MB / 0.6083 GB, free: 3.031 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/0.5662, allocations: 12 kB / 0.6083 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/0.5669, allocations: 192.5 kB / 0.6085 GB, free: 2.832 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-05/0.567, allocations: 20 kB / 0.6085 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.567, allocations: 43.98 kB / 0.6086 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.446e-05/0.5671, allocations: 35.8 kB / 0.6086 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/0.5671, allocations: 19.94 kB / 0.6086 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.5697, allocations: 2.004 MB / 0.6106 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/0.5703, allocations: 330 kB / 0.6109 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.5706, allocations: 39.98 kB / 0.6109 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/0.5713, allocations: 51.81 kB / 0.611 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.5715, allocations: 111.5 kB / 0.6111 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.176e-05/0.5716, allocations: 55.98 kB / 0.6111 GB, free: 15.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002536/0.5741, allocations: 1.57 MB / 0.6127 GB, free: 14.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5742, allocations: 0 / 0.6127 GB, free: 14.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003451/0.5776, allocations: 0.929 MB / 0.6136 GB, free: 13.38 MB / 494.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.002954/0.5806, allocations: 2.628 MB / 0.6162 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004026/0.5846, allocations: 2.617 MB / 0.6187 GB, free: 7.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.5846, allocations: 4 kB / 0.6187 GB, free: 7.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009237/0.5856, allocations: 0.6937 MB / 0.6194 GB, free: 7.238 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005297/0.5909, allocations: 328.3 kB / 0.6197 GB, free: 6.922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2773/0.8682, allocations: 31.03 MB / 0.65 GB, free: 92.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003341/0.8716, allocations: 2.822 MB / 0.6528 GB, free: 92.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003253/0.8749, allocations: 1.172 MB / 0.6539 GB, free: 91.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/0.8766, allocations: 1.439 MB / 0.6553 GB, free: 91.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/0.8767, allocations: 0 / 0.6553 GB, free: 91.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06236/0.939, allocations: 40.49 MB / 0.6948 GB, free: 67.82 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/0.9392, allocations: 205.5 kB / 0.695 GB, free: 67.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/3.679, allocations: 4.062 kB / 0.695 GB, free: 67.56 MB / 494.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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches