Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",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.001779/0.001779, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001814/0.001814, allocations: 192 kB / 18.56 MB, free: 4.434 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.332/1.332, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2316/0.2316, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 64.89 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1435, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01285/0.1564, allocations: 9.724 MB / 479.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006254/0.1627, allocations: 2.917 MB / 482 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.1641, allocations: 51.94 kB / 482 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0038/0.1679, allocations: 1.998 MB / 484 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002613/0.1706, allocations: 1.129 MB / 485.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.1714, allocations: 299.4 kB / 485.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003074/0.1745, allocations: 2.333 MB / 487.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002966/0.1775, allocations: 2.332 MB / 490.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.1789, allocations: 0.9034 MB / 491 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.1803, allocations: 1.184 MB / 492.2 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003141/0.1806, allocations: 196 kB / 492.4 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1817, allocations: 0.7021 MB / 493.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008849/0.1826, allocations: 1.138 MB / 494.3 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.1837, allocations: 1.347 MB / 495.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003563/0.1873, allocations: 4.291 MB / 499.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1873, allocations: 4 kB / 499.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1873, allocations: 0 / 499.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.714e-05/0.1874, allocations: 0 / 499.9 MB, free: 15.59 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.004369/0.1918, allocations: 2.939 MB / 0.491 GB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1918, allocations: 12.03 kB / 0.4911 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005323/0.1924, allocations: 499.8 kB / 0.4915 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005189/0.1976, allocations: 1.584 MB / 0.4931 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.1996, allocations: 1.34 MB / 0.4944 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.961e-05/0.1998, allocations: 151.9 kB / 0.4945 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.2001, allocations: 187.9 kB / 0.4947 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008412/0.2085, allocations: 6.436 MB / 0.501 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.2086, allocations: 15.88 kB / 0.501 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.2088, allocations: 87.91 kB / 0.5011 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002063/0.2109, allocations: 1.395 MB / 0.5025 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1798/0.3906, allocations: 5.489 MB / 0.5078 GB, free: 45.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.4114, allocations: 20.57 MB / 0.5279 GB, free: 32.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/0.4149, allocations: 2.077 MB / 0.5299 GB, free: 30.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007387/0.4156, allocations: 0.6977 MB / 0.5306 GB, free: 30.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004551/0.4202, allocations: 3.5 MB / 0.534 GB, free: 28.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.4202, allocations: 46.92 kB / 0.5341 GB, free: 28.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/0.4202, allocations: 0 / 0.5341 GB, free: 28.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004538/0.4248, allocations: 1.974 MB / 0.536 GB, free: 26.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.4248, allocations: 59.84 kB / 0.5361 GB, free: 26.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.4266, allocations: 1.958 MB / 0.538 GB, free: 24.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.4267, allocations: 37.7 kB / 0.538 GB, free: 24.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006148/0.4273, allocations: 1.891 MB / 0.5399 GB, free: 22.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.4274, allocations: 304.1 kB / 0.5402 GB, free: 22.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005531/0.428, allocations: 0.6228 MB / 0.5408 GB, free: 21.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.4281, allocations: 361.9 kB / 0.5411 GB, free: 21.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009401/0.429, allocations: 0.8881 MB / 0.542 GB, free: 20.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.4305, allocations: 2.78 MB / 0.5447 GB, free: 16.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/0.4331, allocations: 3.992 MB / 0.5486 GB, free: 11.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/0.4331, allocations: 20 kB / 0.5486 GB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.003938/0.437, allocations: 3.554 MB / 0.5521 GB, free: 7.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.4371, allocations: 33 kB / 0.5521 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.958e-05/0.4371, allocations: 68 kB / 0.5522 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.93e-05/0.4372, allocations: 95.94 kB / 0.5523 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.4388, allocations: 0.6589 MB / 0.5529 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.876e-05/0.4389, allocations: 135.4 kB / 0.553 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.4405, allocations: 419.5 kB / 0.5534 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.4407, allocations: 192.8 kB / 0.5536 GB, free: 6.395 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.001495/0.4422, allocations: 1.377 MB / 0.555 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.4423, allocations: 153.9 kB / 0.5551 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.4426, allocations: 197.2 kB / 0.5553 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.4426, allocations: 8 kB / 0.5553 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4426, allocations: 7.969 kB / 0.5553 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4426, allocations: 0 / 0.5553 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004931/0.4476, allocations: 4.145 MB / 0.5594 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.4476, allocations: 4 kB / 0.5594 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.4479, allocations: 103.8 kB / 0.5595 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.448, allocations: 8 kB / 0.5595 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.448, allocations: 15.94 kB / 0.5595 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.448, allocations: 15.92 kB / 0.5595 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.448, allocations: 8 kB / 0.5595 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.4494, allocations: 1.24 MB / 0.5607 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.4497, allocations: 246.7 kB / 0.561 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.4499, allocations: 23.94 kB / 0.561 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.4504, allocations: 35.88 kB / 0.561 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/0.4505, allocations: 54.88 kB / 0.5611 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/0.4506, allocations: 28 kB / 0.5611 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001608/0.4522, allocations: 1.279 MB / 0.5623 GB, free: 13.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4522, allocations: 4 kB / 0.5623 GB, free: 13.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002385/0.4546, allocations: 0.7091 MB / 0.563 GB, free: 12.52 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.001787/0.4564, allocations: 1.845 MB / 0.5648 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00321/0.4596, allocations: 2.258 MB / 0.567 GB, free: 8.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.4596, allocations: 4 kB / 0.567 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.4601, allocations: 461 kB / 0.5675 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.4613, allocations: 237.2 kB / 0.5677 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02586/0.4872, allocations: 22.33 MB / 0.5895 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/0.4904, allocations: 2.316 MB / 0.5918 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002368/0.4928, allocations: 0.9685 MB / 0.5927 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.4942, allocations: 1.066 MB / 0.5938 GB, free: 9.945 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4942, allocations: 0 / 0.5938 GB, free: 9.945 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05787/0.5521, allocations: 32.48 MB / 0.6255 GB, free: 9.621 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.666, allocations: 0 / 0.6255 GB, free: 9.621 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches