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.001487/0.001487, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.001542/0.001542, allocations: 180.9 kB / 18.71 MB, free: 4.359 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.488/1.488, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.227/0.227, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.88 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3345, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01759/0.3522, allocations: 15.4 MB / 0.5335 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.3659, allocations: 5.106 MB / 0.5384 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003557/0.3695, allocations: 119.6 kB / 0.5386 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01269/0.3822, allocations: 6.019 MB / 0.5444 GB, free: 228 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009217/0.3916, allocations: 2.857 MB / 0.5472 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.396, allocations: 1.583 MB / 0.5488 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01358/0.4096, allocations: 7.737 MB / 0.5563 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.4211, allocations: 7.463 MB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005499/0.4266, allocations: 3.042 MB / 0.5666 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006795/0.4334, allocations: 3.867 MB / 0.5704 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002051/0.4355, allocations: 0.5859 MB / 0.5709 GB, free: 6.145 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.4397, allocations: 1.42 MB / 0.5723 GB, free: 4.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004831/0.4446, allocations: 3.589 MB / 0.5758 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006745/0.4514, allocations: 4 MB / 0.5797 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01687/0.4683, allocations: 12.18 MB / 0.5916 GB, free: 0.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.4683, allocations: 8 kB / 0.5916 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4683, allocations: 0 / 0.5916 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000417/0.4687, allocations: 0 / 0.5916 GB, free: 0.8672 MB / 446.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.02209/0.4908, allocations: 9.013 MB / 0.6004 GB, free: 7.746 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.4909, allocations: 12.03 kB / 0.6004 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003758/0.4947, allocations: 1.215 MB / 0.6016 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/0.5068, allocations: 2.675 MB / 0.6042 GB, free: 3.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.5199, allocations: 5.947 MB / 0.6101 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004977/0.5204, allocations: 434.9 kB / 0.6105 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002184/0.5226, allocations: 0.5544 MB / 0.611 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0382/0.5608, allocations: 17.44 MB / 0.628 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002791/0.5612, allocations: 83.33 kB / 0.6281 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001651/0.5628, allocations: 267.8 kB / 0.6284 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005582/0.5684, allocations: 3.166 MB / 0.6315 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03127/0.5997, allocations: 13.42 MB / 0.6446 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1003/0.7001, allocations: 65.87 MB / 0.7089 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4373/1.137, allocations: 5.498 MB / 0.7143 GB, free: 165.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004133/1.142, allocations: 2.119 MB / 0.7163 GB, free: 165.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01846/1.16, allocations: 10.01 MB / 0.7261 GB, free: 160.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/1.16, allocations: 57.03 kB / 0.7262 GB, free: 160.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=182): time 5.38e-06/1.16, allocations: 0 / 0.7262 GB, free: 160.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=206): time 0.04049/1.201, allocations: 14.69 MB / 0.7405 GB, free: 155 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/1.201, allocations: 148.9 kB / 0.7407 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/1.212, allocations: 6.434 MB / 0.7469 GB, free: 152.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004138/1.213, allocations: 57.17 kB / 0.747 GB, free: 152.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004157/1.217, allocations: 5.445 MB / 0.7523 GB, free: 148.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.000968/1.218, allocations: 0.8546 MB / 0.7531 GB, free: 148 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003913/1.222, allocations: 1.695 MB / 0.7548 GB, free: 147 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.568e-05/1.222, allocations: 303 kB / 0.7551 GB, free: 146.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003812/1.226, allocations: 2.317 MB / 0.7574 GB, free: 145.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/1.231, allocations: 7.723 MB / 0.7649 GB, free: 135.1 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008472/1.24, allocations: 10.94 MB / 0.7756 GB, free: 121.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001634/1.24, allocations: 52 kB / 0.7756 GB, free: 121.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01484/1.255, allocations: 9.691 MB / 0.7851 GB, free: 111.7 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001818/1.255, allocations: 88 kB / 0.7852 GB, free: 111.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002284/1.255, allocations: 192 kB / 0.7854 GB, free: 111.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/1.256, allocations: 259.9 kB / 0.7856 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005395/1.261, allocations: 1.923 MB / 0.7875 GB, free: 109.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002296/1.261, allocations: 374.8 kB / 0.7878 GB, free: 108.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005713/1.267, allocations: 415.6 kB / 0.7882 GB, free: 108.5 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008951/1.268, allocations: 0.5194 MB / 0.7888 GB, free: 108 MB / 0.5607 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.004767/1.273, allocations: 3.405 MB / 0.7921 GB, free: 104.6 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009748/1.274, allocations: 0.5589 MB / 0.7926 GB, free: 104 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/1.275, allocations: 0.6368 MB / 0.7932 GB, free: 103.4 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.322e-05/1.275, allocations: 35.81 kB / 0.7933 GB, free: 103.3 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.275, allocations: 0 / 0.7933 GB, free: 103.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.275, allocations: 7.969 kB / 0.7933 GB, free: 103.3 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.297, allocations: 16.75 MB / 0.8096 GB, free: 86.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-05/1.297, allocations: 36 kB / 0.8097 GB, free: 86 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.298, allocations: 379.3 kB / 0.81 GB, free: 85.63 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.814e-05/1.298, allocations: 48 kB / 0.8101 GB, free: 85.59 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/1.299, allocations: 95.92 kB / 0.8102 GB, free: 85.49 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-05/1.299, allocations: 71.72 kB / 0.8102 GB, free: 85.42 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-05/1.299, allocations: 59.75 kB / 0.8103 GB, free: 85.36 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/1.303, allocations: 3.98 MB / 0.8142 GB, free: 80.83 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.304, allocations: 0.6455 MB / 0.8148 GB, free: 80.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009258/1.305, allocations: 91.97 kB / 0.8149 GB, free: 80.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.307, allocations: 103.9 kB / 0.815 GB, free: 79.97 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/1.307, allocations: 254.8 kB / 0.8152 GB, free: 79.72 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.308, allocations: 111.6 kB / 0.8154 GB, free: 79.62 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005972/1.314, allocations: 4.008 MB / 0.8193 GB, free: 75.62 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.001e-06/1.314, allocations: 0 / 0.8193 GB, free: 75.62 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007638/1.321, allocations: 1.359 MB / 0.8206 GB, free: 74.26 MB / 0.5607 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.00492/1.326, allocations: 4.674 MB / 0.8252 GB, free: 69.04 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.00742/1.334, allocations: 5.415 MB / 0.8304 GB, free: 63.67 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 3.101e-05/1.334, allocations: 5.875 kB / 0.8305 GB, free: 63.66 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/1.335, allocations: 1.136 MB / 0.8316 GB, free: 62.54 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006364/1.342, allocations: 0.8976 MB / 0.8324 GB, free: 61.66 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08846/1.43, allocations: 66.31 MB / 0.8972 GB, free: 2.094 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009364/1.439, allocations: 5.226 MB / 0.9023 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007129/1.447, allocations: 2.546 MB / 0.9048 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005661/1.452, allocations: 3.401 MB / 0.9081 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of SimCode: time 1.343e-06/1.452, allocations: 0 / 0.9081 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3766/1.829, allocations: 93.4 MB / 0.9993 GB, free: 179.1 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.76/29.59, allocations: 9.906 kB / 0.9993 GB, free: 179.1 MB / 0.6232 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