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.001404/0.001404, allocations: 104.2 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.001569/0.00157, allocations: 191.9 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.445/1.445, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.2204/0.2204, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 61.02 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1134, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01098/0.1244, allocations: 9.72 MB / 479.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006196/0.1307, allocations: 2.928 MB / 482 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.1321, allocations: 59.81 kB / 482.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003669/0.1358, allocations: 1.986 MB / 484 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.1387, allocations: 1.129 MB / 485.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000795/0.1396, allocations: 303.4 kB / 485.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.1425, allocations: 2.325 MB / 487.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.1451, allocations: 2.328 MB / 490.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.1462, allocations: 0.9073 MB / 491 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.1476, allocations: 1.176 MB / 492.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.1479, allocations: 196 kB / 492.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.1492, allocations: 0.7021 MB / 493.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009/0.1501, allocations: 1.138 MB / 494.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.1514, allocations: 1.351 MB / 495.6 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.156, allocations: 4.287 MB / 499.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.156, allocations: 4 kB / 499.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.156, allocations: 0 / 499.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001455/0.1562, 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.005496/0.1617, allocations: 2.946 MB / 0.491 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.1618, allocations: 12.03 kB / 0.4911 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006863/0.1625, allocations: 491.8 kB / 0.4915 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005223/0.1677, allocations: 1.588 MB / 0.4931 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.1708, allocations: 1.34 MB / 0.4944 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.1709, allocations: 147.9 kB / 0.4945 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004408/0.1713, allocations: 195.9 kB / 0.4947 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009842/0.1812, allocations: 6.428 MB / 0.501 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/0.1813, allocations: 19.86 kB / 0.501 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.1815, allocations: 87.91 kB / 0.5011 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002394/0.1839, allocations: 1.403 MB / 0.5025 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2321/0.4161, allocations: 5.481 MB / 0.5078 GB, free: 45.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02797/0.4441, allocations: 20.57 MB / 0.5279 GB, free: 32.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003734/0.4479, allocations: 2.091 MB / 0.5299 GB, free: 30.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008362/0.4487, allocations: 0.6871 MB / 0.5306 GB, free: 30.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004921/0.4537, allocations: 3.511 MB / 0.534 GB, free: 28.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.4537, allocations: 39 kB / 0.5341 GB, free: 28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.747e-06/0.4537, allocations: 0 / 0.5341 GB, free: 28 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004704/0.4584, allocations: 1.972 MB / 0.536 GB, free: 26.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.4585, allocations: 55.84 kB / 0.5361 GB, free: 26.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.4606, allocations: 1.962 MB / 0.538 GB, free: 24.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.4606, allocations: 37.7 kB / 0.538 GB, free: 24.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000677/0.4613, allocations: 1.884 MB / 0.5398 GB, free: 22.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.4615, allocations: 315.9 kB / 0.5402 GB, free: 22.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005683/0.4621, allocations: 0.6229 MB / 0.5408 GB, free: 21.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.4622, allocations: 361.8 kB / 0.5411 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009219/0.4631, allocations: 0.8881 MB / 0.542 GB, free: 20.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.4645, allocations: 2.776 MB / 0.5447 GB, free: 16.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/0.4672, allocations: 4 MB / 0.5486 GB, free: 11.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-05/0.4672, allocations: 20 kB / 0.5486 GB, free: 11.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004064/0.4713, allocations: 3.549 MB / 0.5521 GB, free: 7.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.4714, allocations: 32 kB / 0.5521 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.696e-05/0.4714, allocations: 68 kB / 0.5522 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.464e-05/0.4715, allocations: 88.81 kB / 0.5523 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.4731, allocations: 0.6667 MB / 0.5529 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.187e-05/0.4732, allocations: 127.5 kB / 0.553 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.4748, allocations: 419.5 kB / 0.5534 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.475, allocations: 192 kB / 0.5536 GB, free: 6.379 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.001464/0.4765, allocations: 1.384 MB / 0.555 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.4766, allocations: 153.9 kB / 0.5551 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.4769, allocations: 197.2 kB / 0.5553 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.477, allocations: 8 kB / 0.5553 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.477, allocations: 0 / 0.5553 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.477, allocations: 4 kB / 0.5553 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/0.4819, allocations: 4.146 MB / 0.5594 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4819, allocations: 8 kB / 0.5594 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.4823, allocations: 99.83 kB / 0.5595 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.4823, allocations: 11.98 kB / 0.5595 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.4823, allocations: 23.94 kB / 0.5595 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.4823, allocations: 8 kB / 0.5595 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4824, allocations: 7.938 kB / 0.5595 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.4837, allocations: 1.246 MB / 0.5607 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.484, allocations: 246.8 kB / 0.561 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.4842, allocations: 15.94 kB / 0.561 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.4846, allocations: 31.88 kB / 0.561 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.4847, allocations: 59.77 kB / 0.5611 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.4848, allocations: 24 kB / 0.5611 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001633/0.4864, allocations: 1.283 MB / 0.5623 GB, free: 13.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4864, allocations: 0 / 0.5623 GB, free: 13.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002688/0.4891, allocations: 0.7151 MB / 0.563 GB, free: 12.49 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.002108/0.4913, allocations: 1.844 MB / 0.5648 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003472/0.4947, allocations: 2.261 MB / 0.567 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.4948, allocations: 4 kB / 0.567 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.4955, allocations: 461 kB / 0.5675 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.4975, allocations: 240.3 kB / 0.5677 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/0.5295, allocations: 22.33 MB / 0.5895 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/0.532, allocations: 2.316 MB / 0.5918 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002458/0.5345, allocations: 0.9716 MB / 0.5927 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/0.5361, allocations: 1.073 MB / 0.5938 GB, free: 9.918 MB / 430.1 MB Notification: Performance of SimCode: time 1.764e-06/0.5361, allocations: 0 / 0.5938 GB, free: 9.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06095/0.597, allocations: 32.45 MB / 0.6255 GB, free: 9.613 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.944, allocations: 0 / 0.6255 GB, free: 9.613 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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