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.0008518/0.0008518, allocations: 91.06 kB / 17.35 MB, free: 6 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.0008991/0.0008991, allocations: 177.9 kB / 18.26 MB, free: 5.391 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.259/1.259, allocations: 223.3 MB / 242.3 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1682/0.1682, allocations: 44.24 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09359, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03146/0.1251, allocations: 36.64 MB / 0.4971 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.1398, allocations: 7.53 MB / 0.5044 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004944/0.1447, allocations: 151.7 kB / 0.5046 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008094/0.1456, allocations: 302.6 kB / 0.5049 GB, free: 476 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1911/0.3367, allocations: 1.058 MB / 0.5059 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006382/0.3373, allocations: 268.8 kB / 0.5061 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003483/0.3408, allocations: 3.397 MB / 0.5095 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003858/0.3447, allocations: 3.347 MB / 0.5127 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000837/0.3455, allocations: 0.6511 MB / 0.5134 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.3467, allocations: 1.057 MB / 0.5144 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.3469, allocations: 87.25 kB / 0.5145 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.348, allocations: 0.6304 MB / 0.5151 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007662/0.3488, allocations: 1.022 MB / 0.5161 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007833/0.3496, allocations: 1.224 MB / 0.5173 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.3526, allocations: 4.126 MB / 0.5213 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3526, allocations: 0 / 0.5213 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3527, allocations: 6.203 kB / 0.5213 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.735e-05/0.3527, allocations: 0 / 0.5213 GB, free: 8.598 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.003145/0.3559, allocations: 2.421 MB / 0.5237 GB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3559, allocations: 9.781 kB / 0.5237 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004798/0.3564, allocations: 493.3 kB / 0.5242 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004617/0.361, allocations: 1.632 MB / 0.5258 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.3626, allocations: 1.337 MB / 0.5271 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.3627, allocations: 150.4 kB / 0.5272 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.363, allocations: 194.1 kB / 0.5274 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007083/0.3701, allocations: 6.429 MB / 0.5337 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/0.3702, allocations: 14.19 kB / 0.5337 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.3704, allocations: 93.08 kB / 0.5338 GB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001746/0.3722, allocations: 1.415 MB / 0.5352 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007211/0.3794, allocations: 5.493 MB / 0.5405 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02173/0.4011, allocations: 20.57 MB / 0.5606 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/0.405, allocations: 2.086 MB / 0.5626 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008608/0.4059, allocations: 0.6875 MB / 0.5633 GB, free: 7.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005124/0.411, allocations: 3.511 MB / 0.5667 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.411, allocations: 35 kB / 0.5668 GB, free: 3.703 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.525e-06/0.411, allocations: 0 / 0.5668 GB, free: 3.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.004938/0.416, allocations: 1.988 MB / 0.5687 GB, free: 1.711 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.416, allocations: 59.84 kB / 0.5688 GB, free: 1.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/0.4184, allocations: 1.966 MB / 0.5707 GB, free: 15.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.4185, allocations: 36.28 kB / 0.5707 GB, free: 15.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.4197, allocations: 1.875 MB / 0.5726 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.42, allocations: 314.6 kB / 0.5729 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.4203, allocations: 283.2 kB / 0.5731 GB, free: 13.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4204, allocations: 365.9 kB / 0.5735 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.4217, allocations: 0.8842 MB / 0.5743 GB, free: 11.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.4241, allocations: 2.774 MB / 0.5771 GB, free: 8.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004238/0.4283, allocations: 3.996 MB / 0.581 GB, free: 3.574 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.429e-05/0.4284, allocations: 20 kB / 0.581 GB, free: 3.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005149/0.4336, allocations: 3.544 MB / 0.5844 GB, free: 420 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.4336, allocations: 36 kB / 0.5845 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-05/0.4337, allocations: 68 kB / 0.5845 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.633e-05/0.4338, allocations: 91.94 kB / 0.5846 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.4356, allocations: 0.6658 MB / 0.5853 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.266e-05/0.4357, allocations: 134 kB / 0.5854 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.4373, allocations: 423.8 kB / 0.5858 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.4376, allocations: 190.8 kB / 0.586 GB, free: 14.91 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.001805/0.4394, allocations: 1.367 MB / 0.5873 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.4396, allocations: 165.8 kB / 0.5875 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.4399, allocations: 197.2 kB / 0.5877 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.44, allocations: 11.94 kB / 0.5877 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.44, allocations: 4 kB / 0.5877 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.44, allocations: 3.984 kB / 0.5877 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006012/0.446, allocations: 4.134 MB / 0.5917 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.446, allocations: 8.75 kB / 0.5917 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.4464, allocations: 100.6 kB / 0.5918 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.4464, allocations: 12 kB / 0.5918 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.4465, allocations: 16 kB / 0.5919 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.4465, allocations: 14.7 kB / 0.5919 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.4465, allocations: 11.97 kB / 0.5919 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.4478, allocations: 1.246 MB / 0.5931 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.4482, allocations: 262.7 kB / 0.5933 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.4484, allocations: 15.98 kB / 0.5934 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000485/0.4489, allocations: 30.86 kB / 0.5934 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.449, allocations: 57.14 kB / 0.5934 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.449, allocations: 24 kB / 0.5935 GB, free: 7.117 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.4507, allocations: 1.287 MB / 0.5947 GB, free: 5.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4507, allocations: 0 / 0.5947 GB, free: 5.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002124/0.4528, allocations: 0.7038 MB / 0.5954 GB, free: 5.133 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.001708/0.4545, allocations: 1.849 MB / 0.5972 GB, free: 3.199 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00244/0.457, allocations: 2.032 MB / 0.5992 GB, free: 1.363 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.457, allocations: 4 kB / 0.5992 GB, free: 1.359 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004935/0.4575, allocations: 455.2 kB / 0.5996 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.4597, allocations: 240.8 kB / 0.5999 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/0.4865, allocations: 23.6 MB / 0.6229 GB, free: 6.219 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/0.489, allocations: 2.319 MB / 0.6252 GB, free: 3.871 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002098/0.4911, allocations: 0.9599 MB / 0.6261 GB, free: 2.906 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.4924, allocations: 1.081 MB / 0.6272 GB, free: 1.824 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4924, allocations: 0 / 0.6272 GB, free: 1.824 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/0.5383, allocations: 31.6 MB / 0.658 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.5385, allocations: 194.4 kB / 0.6582 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.876, allocations: 0 / 0.6582 GB, free: 2.164 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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