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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 44.94 MB / 359.6 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 59.91 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3053, allocations: 65.48 MB / 0.5577 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01163/0.317, allocations: 8.344 MB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006204/0.3232, allocations: 2.776 MB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.3242, allocations: 55.81 kB / 0.5686 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003987/0.3282, allocations: 1.935 MB / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.3314, allocations: 1.14 MB / 0.5716 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.3322, allocations: 287.5 kB / 0.5719 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003625/0.3358, allocations: 2.329 MB / 0.5742 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.3381, allocations: 1.742 MB / 0.5759 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.3394, allocations: 0.8917 MB / 0.5768 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.341, allocations: 1.246 MB / 0.578 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000314/0.3413, allocations: 196 kB / 0.5782 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.3424, allocations: 0.6201 MB / 0.5788 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.3435, allocations: 1.137 MB / 0.5799 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.3446, allocations: 0.9471 MB / 0.5808 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004799/0.3494, allocations: 4.342 MB / 0.585 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3494, allocations: 0 / 0.585 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3494, allocations: 0 / 0.585 GB, free: 11.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.898e-05/0.3495, allocations: 0 / 0.585 GB, free: 11.43 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004696/0.3542, allocations: 2.859 MB / 0.5878 GB, free: 8.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3542, allocations: 8.031 kB / 0.5878 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.67e-05/0.3543, allocations: 71.88 kB / 0.5879 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005584/0.3548, allocations: 487 kB / 0.5884 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005114/0.36, allocations: 1.586 MB / 0.5899 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.3627, allocations: 1.283 MB / 0.5912 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.3628, allocations: 147.6 kB / 0.5913 GB, free: 4.914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003859/0.3632, allocations: 187.9 kB / 0.5915 GB, free: 4.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009758/0.3729, allocations: 6.242 MB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/0.373, allocations: 15.88 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/0.3732, allocations: 83.91 kB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002083/0.3753, allocations: 1.344 MB / 0.599 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.3854, allocations: 5.334 MB / 0.6042 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02586/0.4113, allocations: 19.02 MB / 0.6228 GB, free: 3.824 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/0.4156, allocations: 1.557 MB / 0.6243 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009639/0.4166, allocations: 0.6355 MB / 0.6249 GB, free: 1.602 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005932/0.4225, allocations: 2.899 MB / 0.6278 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.4225, allocations: 39 kB / 0.6278 GB, free: 14.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 6.723e-06/0.4225, allocations: 3.984 kB / 0.6278 GB, free: 14.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005647/0.4282, allocations: 1.982 MB / 0.6297 GB, free: 12.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.4282, allocations: 63.78 kB / 0.6298 GB, free: 12.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.4309, allocations: 1.934 MB / 0.6317 GB, free: 10.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.431, allocations: 37.7 kB / 0.6317 GB, free: 10.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.4324, allocations: 1.911 MB / 0.6336 GB, free: 8.648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.4327, allocations: 333.5 kB / 0.6339 GB, free: 8.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008051/0.4335, allocations: 0.6195 MB / 0.6345 GB, free: 7.691 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4337, allocations: 357.9 kB / 0.6349 GB, free: 7.336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.435, allocations: 0.8842 MB / 0.6357 GB, free: 6.449 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/0.4381, allocations: 2.751 MB / 0.6384 GB, free: 2.766 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004817/0.4429, allocations: 3.97 MB / 0.6423 GB, free: 13.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.501e-05/0.443, allocations: 16 kB / 0.6423 GB, free: 13.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005676/0.4486, allocations: 3.528 MB / 0.6457 GB, free: 10.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.4487, allocations: 32 kB / 0.6458 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.658e-05/0.4488, allocations: 68 kB / 0.6458 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.15e-05/0.4489, allocations: 87.94 kB / 0.6459 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.4508, allocations: 0.6589 MB / 0.6466 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001177/0.451, allocations: 135.4 kB / 0.6467 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.4528, allocations: 433 kB / 0.6471 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.4531, allocations: 192 kB / 0.6473 GB, free: 8.727 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.001981/0.455, allocations: 1.338 MB / 0.6486 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.4553, allocations: 166.8 kB / 0.6488 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.4556, allocations: 196.9 kB / 0.6489 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.4556, allocations: 8 kB / 0.6489 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4557, allocations: 0 / 0.6489 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4557, allocations: 7.922 kB / 0.649 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006558/0.4622, allocations: 3.959 MB / 0.6528 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.4622, allocations: 4 kB / 0.6528 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.4627, allocations: 99.81 kB / 0.6529 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.4627, allocations: 11.94 kB / 0.6529 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.4627, allocations: 20 kB / 0.653 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/0.4627, allocations: 8 kB / 0.653 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.4627, allocations: 16.41 kB / 0.653 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.4643, allocations: 1.247 MB / 0.6542 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.4647, allocations: 174.6 kB / 0.6544 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.4649, allocations: 23.92 kB / 0.6544 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.4654, allocations: 27.92 kB / 0.6544 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.4655, allocations: 55.8 kB / 0.6545 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.4655, allocations: 31.98 kB / 0.6545 GB, free: 1.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001794/0.4673, allocations: 1.267 MB / 0.6557 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4673, allocations: 4 kB / 0.6557 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002437/0.4698, allocations: 0.689 MB / 0.6564 GB, free: 15.15 MB / 0.4981 GB 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.002085/0.4718, allocations: 1.849 MB / 0.6582 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003316/0.4752, allocations: 1.963 MB / 0.6601 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.4752, allocations: 4.062 kB / 0.6601 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.4758, allocations: 431.8 kB / 0.6605 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.4771, allocations: 227.5 kB / 0.6608 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0303/0.5074, allocations: 20.88 MB / 0.6812 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/0.5099, allocations: 1.7 MB / 0.6828 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002281/0.5121, allocations: 0.9518 MB / 0.6837 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.5135, allocations: 1.03 MB / 0.6847 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of SimCode: time 1.093e-06/0.5135, allocations: 8 kB / 0.6848 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06727/0.5807, allocations: 34 MB / 0.718 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/15.83, allocations: 15.03 kB / 0.718 GB, free: 13.87 MB / 0.5606 GB " [Timeout remaining time 644] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.501910862047225]