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.0009854/0.0009855, allocations: 95.53 kB / 17.35 MB, free: 6.375 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.0011/0.0011, allocations: 174.5 kB / 18.25 MB, free: 5.523 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.264/1.264, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.18/0.18, allocations: 44.24 MB / 337.7 MB, free: 2.508 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 8 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09664, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03228/0.129, allocations: 36.64 MB / 0.4971 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.1437, allocations: 7.534 MB / 0.5044 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005299/0.1491, allocations: 151.7 kB / 0.5046 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009439/0.15, allocations: 294.6 kB / 0.5048 GB, free: 464 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1985/0.3486, allocations: 1.071 MB / 0.5059 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007259/0.3493, allocations: 265.6 kB / 0.5061 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004312/0.3537, allocations: 3.397 MB / 0.5095 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004641/0.3583, allocations: 3.348 MB / 0.5127 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.3595, allocations: 0.6487 MB / 0.5134 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.3608, allocations: 1.053 MB / 0.5144 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.3611, allocations: 90.72 kB / 0.5145 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.3624, allocations: 0.6357 MB / 0.5151 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.3634, allocations: 1.02 MB / 0.5161 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008751/0.3643, allocations: 1.222 MB / 0.5173 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.3684, allocations: 4.127 MB / 0.5213 GB, free: 8.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3684, allocations: 0 / 0.5213 GB, free: 8.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3684, allocations: 0 / 0.5213 GB, free: 8.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.063e-05/0.3685, allocations: 0 / 0.5213 GB, free: 8.145 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.00376/0.3723, allocations: 2.416 MB / 0.5237 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3723, allocations: 10.09 kB / 0.5237 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005259/0.3729, allocations: 496.8 kB / 0.5242 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/0.3778, allocations: 1.63 MB / 0.5258 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.3797, allocations: 1.34 MB / 0.5271 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.3798, allocations: 151.9 kB / 0.5272 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/0.3801, allocations: 194.3 kB / 0.5274 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007719/0.3878, allocations: 6.436 MB / 0.5337 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/0.3879, allocations: 14.34 kB / 0.5337 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.3881, allocations: 86.84 kB / 0.5338 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001748/0.3898, allocations: 1.405 MB / 0.5351 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008403/0.3983, allocations: 5.489 MB / 0.5405 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02721/0.4255, allocations: 20.58 MB / 0.5606 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/0.4295, allocations: 2.083 MB / 0.5626 GB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000923/0.4305, allocations: 0.6914 MB / 0.5633 GB, free: 7.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005502/0.436, allocations: 3.501 MB / 0.5667 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.436, allocations: 42.19 kB / 0.5668 GB, free: 3.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.877e-06/0.4361, allocations: 4 kB / 0.5668 GB, free: 3.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005032/0.4411, allocations: 1.984 MB / 0.5687 GB, free: 1.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.4412, allocations: 55.84 kB / 0.5688 GB, free: 1.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.4439, allocations: 1.962 MB / 0.5707 GB, free: 15.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.444, allocations: 37.7 kB / 0.5707 GB, free: 15.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.4452, allocations: 1.881 MB / 0.5726 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.4454, allocations: 317.9 kB / 0.5729 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/0.4458, allocations: 282.4 kB / 0.5731 GB, free: 13.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4459, allocations: 353.9 kB / 0.5735 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.4472, allocations: 0.8985 MB / 0.5743 GB, free: 11.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.4495, allocations: 2.767 MB / 0.577 GB, free: 8.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003795/0.4533, allocations: 3.996 MB / 0.5809 GB, free: 3.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/0.4534, allocations: 20 kB / 0.581 GB, free: 3.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004966/0.4583, allocations: 3.555 MB / 0.5844 GB, free: 256 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.4584, allocations: 32 kB / 0.5845 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-05/0.4585, allocations: 72 kB / 0.5845 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.048e-05/0.4586, allocations: 92.69 kB / 0.5846 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.4604, allocations: 0.6624 MB / 0.5853 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.212e-05/0.4605, allocations: 128.4 kB / 0.5854 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.4623, allocations: 422.2 kB / 0.5858 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/0.4626, allocations: 192 kB / 0.586 GB, free: 14.76 MB / 446.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.00211/0.4647, allocations: 1.367 MB / 0.5873 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.4649, allocations: 164.8 kB / 0.5875 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.4653, allocations: 201.2 kB / 0.5877 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.4653, allocations: 11.75 kB / 0.5877 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4654, allocations: 0 / 0.5877 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4654, allocations: 0 / 0.5877 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/0.472, allocations: 4.139 MB / 0.5917 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.4721, allocations: 7.938 kB / 0.5917 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.4725, allocations: 99.83 kB / 0.5918 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.4725, allocations: 8 kB / 0.5918 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.4725, allocations: 19.98 kB / 0.5918 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.4726, allocations: 10.62 kB / 0.5919 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.4726, allocations: 10.72 kB / 0.5919 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.474, allocations: 1.245 MB / 0.5931 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.4744, allocations: 257.3 kB / 0.5933 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.4746, allocations: 23.98 kB / 0.5934 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.4752, allocations: 23.89 kB / 0.5934 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.4753, allocations: 54.7 kB / 0.5934 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/0.4753, allocations: 34.95 kB / 0.5935 GB, free: 6.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001733/0.4771, allocations: 1.279 MB / 0.5947 GB, free: 5.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.022e-06/0.4771, allocations: 0 / 0.5947 GB, free: 5.699 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002419/0.4795, allocations: 0.706 MB / 0.5954 GB, free: 4.992 MB / 446.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.001694/0.4812, allocations: 1.847 MB / 0.5972 GB, free: 3.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.4839, allocations: 2.035 MB / 0.5992 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.484, allocations: 0 / 0.5992 GB, free: 1.223 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000508/0.4845, allocations: 462.7 kB / 0.5996 GB, free: 0.793 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.4869, allocations: 249.4 kB / 0.5999 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03093/0.5178, allocations: 23.6 MB / 0.6229 GB, free: 6.066 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002864/0.5207, allocations: 2.312 MB / 0.6252 GB, free: 3.727 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002303/0.5231, allocations: 0.9716 MB / 0.6261 GB, free: 2.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001436/0.5245, allocations: 1.069 MB / 0.6272 GB, free: 1.68 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5245, allocations: 0 / 0.6272 GB, free: 1.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05028/0.5748, allocations: 31.6 MB / 0.658 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.5751, allocations: 193 kB / 0.6582 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/2.86, allocations: 7.875 kB / 0.6582 GB, free: 2.023 MB / 0.4981 GB (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