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.001114/0.001114, 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.001177/0.001177, 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.371/1.371, allocations: 222.9 MB / 242.3 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.2024/0.2024, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.31 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1025, 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.01021/0.1127, allocations: 9.731 MB / 479.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006446/0.1192, allocations: 2.92 MB / 482 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.1209, allocations: 55.81 kB / 482.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003831/0.1247, allocations: 1.998 MB / 484.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.1276, allocations: 1.125 MB / 485.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000816/0.1284, allocations: 291.5 kB / 485.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00351/0.1319, allocations: 2.336 MB / 487.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/0.1351, allocations: 2.336 MB / 490.1 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.1366, allocations: 0.9073 MB / 491 MB, free: 8.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.1385, allocations: 1.176 MB / 492.2 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005929/0.1391, allocations: 200 kB / 492.4 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.141, allocations: 0.6904 MB / 493.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001659/0.1426, allocations: 1.142 MB / 494.2 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.1449, allocations: 1.355 MB / 495.6 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005602/0.1505, allocations: 4.287 MB / 499.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1506, allocations: 0 / 499.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1506, allocations: 0 / 499.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000197/0.1508, 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.006248/0.1571, allocations: 2.95 MB / 0.4911 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1571, allocations: 8.031 kB / 0.4911 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008283/0.158, allocations: 499.8 kB / 0.4915 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005061/0.163, allocations: 1.58 MB / 0.4931 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.1657, allocations: 1.344 MB / 0.4944 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.1659, allocations: 151.8 kB / 0.4945 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.1662, allocations: 187.9 kB / 0.4947 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009278/0.1755, allocations: 6.428 MB / 0.501 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/0.1756, allocations: 11.88 kB / 0.501 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.1758, allocations: 91.89 kB / 0.5011 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002064/0.1779, allocations: 1.407 MB / 0.5025 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.236/0.4139, allocations: 5.483 MB / 0.5078 GB, free: 45.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02564/0.4396, allocations: 20.56 MB / 0.5279 GB, free: 32.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.4434, allocations: 2.085 MB / 0.5299 GB, free: 30.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007859/0.4442, allocations: 0.6957 MB / 0.5306 GB, free: 30.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004942/0.4492, allocations: 3.505 MB / 0.534 GB, free: 28.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.4492, allocations: 38.91 kB / 0.5341 GB, free: 28.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 4.177e-06/0.4492, allocations: 0 / 0.5341 GB, free: 28.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004566/0.4538, allocations: 1.978 MB / 0.536 GB, free: 26.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.4539, allocations: 59.84 kB / 0.5361 GB, free: 26.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.4559, allocations: 1.96 MB / 0.538 GB, free: 24.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.456, allocations: 37.7 kB / 0.538 GB, free: 24.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006905/0.4567, allocations: 1.879 MB / 0.5399 GB, free: 22.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.4568, allocations: 315.8 kB / 0.5402 GB, free: 22.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00056/0.4574, allocations: 0.6217 MB / 0.5408 GB, free: 21.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.4575, allocations: 357.9 kB / 0.5411 GB, free: 21.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/0.4584, allocations: 0.8959 MB / 0.542 GB, free: 20.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.4599, allocations: 2.772 MB / 0.5447 GB, free: 16.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.4626, allocations: 4.003 MB / 0.5486 GB, free: 11.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-05/0.4627, allocations: 24 kB / 0.5486 GB, free: 11.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004224/0.4669, allocations: 3.547 MB / 0.5521 GB, free: 7.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.467, allocations: 32 kB / 0.5521 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-05/0.467, allocations: 71.94 kB / 0.5522 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.899e-05/0.4671, allocations: 88 kB / 0.5523 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.4687, allocations: 0.6598 MB / 0.5529 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.048e-05/0.4688, allocations: 131.5 kB / 0.553 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.4706, allocations: 420.3 kB / 0.5534 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.4708, allocations: 195.6 kB / 0.5536 GB, free: 6.367 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.001621/0.4724, allocations: 1.373 MB / 0.555 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.4727, allocations: 157.9 kB / 0.5551 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.473, allocations: 193.2 kB / 0.5553 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.473, allocations: 15.98 kB / 0.5553 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/0.473, allocations: 0 / 0.5553 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.473, allocations: 3.938 kB / 0.5553 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/0.4781, allocations: 4.148 MB / 0.5594 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.4782, allocations: 8 kB / 0.5594 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.4786, allocations: 91.83 kB / 0.5595 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.4786, allocations: 8 kB / 0.5595 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.4786, allocations: 28.61 kB / 0.5595 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.4786, allocations: 11.94 kB / 0.5595 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.4786, allocations: 12 kB / 0.5595 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.48, allocations: 1.24 MB / 0.5607 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.4803, allocations: 246.8 kB / 0.561 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.4805, allocations: 15.94 kB / 0.561 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.481, allocations: 39.55 kB / 0.561 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.4811, allocations: 43.83 kB / 0.5611 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.4811, allocations: 32 kB / 0.5611 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001599/0.4827, allocations: 1.287 MB / 0.5623 GB, free: 13.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4827, allocations: 0 / 0.5623 GB, free: 13.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002397/0.4851, allocations: 0.7091 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.001779/0.4869, allocations: 1.844 MB / 0.5648 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003269/0.4902, allocations: 2.256 MB / 0.567 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.4902, allocations: 4.062 kB / 0.5671 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005377/0.4908, allocations: 455.9 kB / 0.5675 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.492, allocations: 253.7 kB / 0.5677 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02707/0.5191, allocations: 22.32 MB / 0.5895 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/0.5214, allocations: 2.327 MB / 0.5918 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002167/0.5236, allocations: 0.9607 MB / 0.5927 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/0.5248, allocations: 1.069 MB / 0.5938 GB, free: 9.918 MB / 430.1 MB Notification: Performance of SimCode: time 1.213e-06/0.5248, allocations: 0 / 0.5938 GB, free: 9.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06124/0.5861, allocations: 32.46 MB / 0.6255 GB, free: 9.605 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.483/9.069, allocations: 7.688 kB / 0.6255 GB, free: 9.602 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_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_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.csv","/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