Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",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.001171/0.001171, allocations: 104 kB / 17.63 MB, free: 5.523 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: 192.1 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 64.03 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1288, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01066/0.1395, allocations: 9.732 MB / 479.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005996/0.1455, allocations: 2.919 MB / 482 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009861/0.1466, allocations: 51.88 kB / 482.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.1501, allocations: 1.998 MB / 484.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.1527, allocations: 1.129 MB / 485.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.1534, allocations: 291.4 kB / 485.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002658/0.1561, allocations: 2.34 MB / 487.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.1586, allocations: 2.332 MB / 490.1 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009866/0.1596, allocations: 0.8956 MB / 491 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.1608, allocations: 1.176 MB / 492.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.1611, allocations: 196 kB / 492.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.1623, allocations: 0.7021 MB / 493.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009013/0.1632, allocations: 1.142 MB / 494.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.1643, allocations: 1.347 MB / 495.6 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003724/0.1681, allocations: 4.299 MB / 499.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1681, allocations: 0 / 499.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1681, allocations: 0 / 499.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.784e-05/0.1682, allocations: 0 / 499.9 MB, free: 15.57 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.004545/0.1727, allocations: 2.943 MB / 0.491 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1728, allocations: 8.031 kB / 0.4911 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005089/0.1733, allocations: 499.7 kB / 0.4915 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/0.1784, allocations: 1.588 MB / 0.4931 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.1807, allocations: 1.34 MB / 0.4944 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-05/0.1809, allocations: 151.8 kB / 0.4945 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.1812, allocations: 187.9 kB / 0.4947 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008438/0.1896, allocations: 6.428 MB / 0.501 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.1897, allocations: 11.88 kB / 0.501 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.1899, allocations: 95.88 kB / 0.5011 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/0.1919, allocations: 1.403 MB / 0.5025 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.208/0.3999, allocations: 5.486 MB / 0.5078 GB, free: 45.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02227/0.4222, allocations: 20.57 MB / 0.5279 GB, free: 32.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/0.4259, allocations: 2.082 MB / 0.5299 GB, free: 30.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007979/0.4267, allocations: 0.6904 MB / 0.5306 GB, free: 30.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004723/0.4314, allocations: 3.507 MB / 0.534 GB, free: 28.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4315, allocations: 37.91 kB / 0.5341 GB, free: 28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.775e-06/0.4315, allocations: 0 / 0.5341 GB, free: 28 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004622/0.4361, allocations: 1.984 MB / 0.536 GB, free: 26.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.4361, allocations: 55.84 kB / 0.5361 GB, free: 26.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.4381, allocations: 1.957 MB / 0.538 GB, free: 24.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.4382, allocations: 41.22 kB / 0.538 GB, free: 24.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006986/0.4389, allocations: 1.881 MB / 0.5399 GB, free: 22.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.439, allocations: 312 kB / 0.5402 GB, free: 22.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005533/0.4396, allocations: 0.6265 MB / 0.5408 GB, free: 21.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.4397, allocations: 361.9 kB / 0.5411 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009268/0.4406, allocations: 0.8881 MB / 0.542 GB, free: 20.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.4422, allocations: 2.776 MB / 0.5447 GB, free: 16.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002609/0.4448, allocations: 3.999 MB / 0.5486 GB, free: 11.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/0.4448, allocations: 19.38 kB / 0.5486 GB, free: 11.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.003959/0.4488, allocations: 3.546 MB / 0.5521 GB, free: 7.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.4488, allocations: 32 kB / 0.5521 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-05/0.4489, allocations: 68 kB / 0.5522 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.229e-05/0.449, allocations: 91.94 kB / 0.5523 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/0.4506, allocations: 0.6589 MB / 0.5529 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.9e-05/0.4507, allocations: 135.4 kB / 0.553 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.4524, allocations: 423.8 kB / 0.5534 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.4525, allocations: 191.8 kB / 0.5536 GB, free: 6.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (365): * Single equations (assignments): 360 * 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.001378/0.4539, allocations: 1.373 MB / 0.555 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.4541, allocations: 153.9 kB / 0.5551 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.4543, allocations: 197.2 kB / 0.5553 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.4544, allocations: 8 kB / 0.5553 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4544, allocations: 8 kB / 0.5553 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4544, allocations: 7.984 kB / 0.5553 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004953/0.4593, allocations: 4.134 MB / 0.5594 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.4594, allocations: 8 kB / 0.5594 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.4597, allocations: 100.6 kB / 0.5595 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.4597, allocations: 8 kB / 0.5595 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.4598, allocations: 31.84 kB / 0.5595 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.4598, allocations: 15.92 kB / 0.5595 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4598, allocations: 4 kB / 0.5595 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.4611, allocations: 1.239 MB / 0.5607 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.4614, allocations: 250.7 kB / 0.561 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.4616, allocations: 19.92 kB / 0.561 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.4621, allocations: 31.89 kB / 0.561 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.4622, allocations: 55.81 kB / 0.5611 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.4623, allocations: 24 kB / 0.5611 GB, free: 14.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001563/0.4638, allocations: 1.283 MB / 0.5623 GB, free: 13.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4638, allocations: 0 / 0.5623 GB, free: 13.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002297/0.4661, allocations: 0.7122 MB / 0.563 GB, free: 12.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.001721/0.4679, allocations: 1.849 MB / 0.5648 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00299/0.4709, allocations: 2.263 MB / 0.5671 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.4709, allocations: 0 / 0.5671 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.4714, allocations: 449.5 kB / 0.5675 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.4727, allocations: 251.6 kB / 0.5677 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/0.5019, allocations: 22.32 MB / 0.5895 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/0.5045, allocations: 2.319 MB / 0.5918 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002282/0.5068, allocations: 0.9677 MB / 0.5927 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/0.5082, allocations: 1.077 MB / 0.5938 GB, free: 9.891 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5082, allocations: 0 / 0.5938 GB, free: 9.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05909/0.5673, allocations: 32.46 MB / 0.6255 GB, free: 9.578 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.78, allocations: 4 kB / 0.6255 GB, free: 9.574 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches