Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",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.001259/0.001259, 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.001376/0.001377, 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.368/1.368, 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.2122/0.2122, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.81 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01618/0.1256, allocations: 15.39 MB / 484.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.1369, allocations: 5.108 MB / 489.9 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002949/0.1399, allocations: 119.7 kB / 490 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.1508, allocations: 6.02 MB / 496 MB, free: 3.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008428/0.1593, allocations: 2.856 MB / 498.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003617/0.1629, allocations: 1.579 MB / 0.4887 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01144/0.1744, allocations: 7.725 MB / 0.4962 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.233/0.4075, allocations: 7.473 MB / 0.5035 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005961/0.4135, allocations: 3.037 MB / 0.5065 GB, free: 16.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007781/0.4213, allocations: 3.863 MB / 0.5103 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003505/0.4248, allocations: 0.5871 MB / 0.5109 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007524/0.4324, allocations: 1.426 MB / 0.5122 GB, free: 16.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008035/0.4405, allocations: 3.591 MB / 0.5158 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009991/0.4505, allocations: 4.005 MB / 0.5197 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.4638, allocations: 11.75 MB / 0.5311 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.4638, allocations: 0.5 kB / 0.5311 GB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4638, allocations: 3 kB / 0.5311 GB, free: 10.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004792/0.4643, allocations: 0 / 0.5311 GB, free: 10.08 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02451/0.4888, allocations: 8.776 MB / 0.5397 GB, free: 4.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4889, allocations: 8.562 kB / 0.5397 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003212/0.4921, allocations: 1.219 MB / 0.5409 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.503, allocations: 2.624 MB / 0.5435 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.5138, allocations: 5.811 MB / 0.5491 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005638/0.5144, allocations: 440.7 kB / 0.5496 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/0.5171, allocations: 0.5548 MB / 0.5501 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03446/0.5516, allocations: 17.44 MB / 0.5671 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/0.5518, allocations: 69.28 kB / 0.5672 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/0.5528, allocations: 268.6 kB / 0.5675 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004547/0.5574, allocations: 3.17 MB / 0.5706 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03494/0.5924, allocations: 13.41 MB / 0.5837 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08586/0.6783, allocations: 66.13 MB / 0.6482 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01655/0.6949, allocations: 5.496 MB / 0.6536 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003437/0.6984, allocations: 2.114 MB / 0.6557 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01873/0.7171, allocations: 9.995 MB / 0.6654 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.7172, allocations: 54.97 kB / 0.6655 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=182): time 5.721e-06/0.7172, allocations: 0 / 0.6655 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206): time 0.04868/0.7659, allocations: 14.28 MB / 0.6794 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.7661, allocations: 148.5 kB / 0.6796 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01483/0.7809, allocations: 6.415 MB / 0.6858 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004801/0.7815, allocations: 57.7 kB / 0.6859 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.005129/0.7866, allocations: 5.252 MB / 0.691 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/0.7878, allocations: 0.8236 MB / 0.6918 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004151/0.792, allocations: 1.682 MB / 0.6935 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7922, allocations: 309 kB / 0.6938 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00439/0.7966, allocations: 2.312 MB / 0.696 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2541/1.051, allocations: 7.728 MB / 0.7036 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01872/1.07, allocations: 10.93 MB / 0.7142 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004444/1.07, allocations: 54.62 kB / 0.7143 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.02333/1.093, allocations: 9.658 MB / 0.7237 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000175/1.094, allocations: 86.47 kB / 0.7238 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002996/1.094, allocations: 197.2 kB / 0.724 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/1.094, allocations: 253.5 kB / 0.7242 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006331/1.101, allocations: 1.929 MB / 0.7261 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003149/1.101, allocations: 375.8 kB / 0.7265 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006937/1.108, allocations: 408.8 kB / 0.7269 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/1.109, allocations: 0.5217 MB / 0.7274 GB, free: 160.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1039): * Single equations (assignments): 1028 * Array equations: 11 * 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.008271/1.118, allocations: 3.406 MB / 0.7307 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001735/1.119, allocations: 0.5357 MB / 0.7312 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/1.121, allocations: 0.6315 MB / 0.7318 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.992e-05/1.121, allocations: 27.41 kB / 0.7319 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.121, allocations: 0 / 0.7319 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/1.121, allocations: 16.7 kB / 0.7319 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02566/1.147, allocations: 16.71 MB / 0.7482 GB, free: 151.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.255e-05/1.147, allocations: 40.19 kB / 0.7482 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.148, allocations: 388.3 kB / 0.7486 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.468e-05/1.148, allocations: 51.94 kB / 0.7487 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/1.148, allocations: 84 kB / 0.7487 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.941e-05/1.148, allocations: 71.2 kB / 0.7488 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.54e-05/1.148, allocations: 67.34 kB / 0.7489 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/1.152, allocations: 3.953 MB / 0.7527 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/1.153, allocations: 0.6128 MB / 0.7533 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005841/1.154, allocations: 97.47 kB / 0.7534 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/1.156, allocations: 107.6 kB / 0.7535 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/1.156, allocations: 254.1 kB / 0.7538 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.156, allocations: 106.7 kB / 0.7539 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005881/1.162, allocations: 4.005 MB / 0.7578 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/1.162, allocations: 0 / 0.7578 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008968/1.171, allocations: 1.357 MB / 0.7591 GB, free: 141 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * 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.00469/1.176, allocations: 4.663 MB / 0.7637 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007756/1.183, allocations: 5.496 MB / 0.769 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.424e-05/1.184, allocations: 4 kB / 0.769 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/1.185, allocations: 1.133 MB / 0.7701 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005564/1.191, allocations: 0.8909 MB / 0.771 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09732/1.288, allocations: 79.7 MB / 0.8488 GB, free: 37.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005243/1.293, allocations: 5.242 MB / 0.854 GB, free: 32.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005849/1.299, allocations: 2.542 MB / 0.8564 GB, free: 29.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003882/1.303, allocations: 3.397 MB / 0.8598 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.272e-06/1.303, allocations: 8 kB / 0.8598 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3699/1.673, allocations: 98.73 MB / 0.9562 GB, free: 159.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/12.18, allocations: 15.17 kB / 0.9562 GB, free: 159.4 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_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_CutForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches