Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001943/0.001943, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.002514/0.002514, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.528/1.528, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2146/0.2146, allocations: 44.9 MB / 355.8 MB, free: 12.33 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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.001942/0.001942, allocations: 71.89 kB / 0.4885 GB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.125, allocations: 65.42 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01248/0.1374, allocations: 10.17 MB / 0.5624 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006568/0.144, allocations: 3.095 MB / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.1454, allocations: 59.81 kB / 0.5654 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005084/0.1505, allocations: 2.633 MB / 0.568 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.1534, allocations: 1.203 MB / 0.5692 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.1543, allocations: 351.3 kB / 0.5695 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003481/0.1578, allocations: 2.544 MB / 0.572 GB, free: 6.035 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003117/0.1609, allocations: 2.48 MB / 0.5744 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.1625, allocations: 1.071 MB / 0.5755 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.1645, allocations: 1.484 MB / 0.5769 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.165, allocations: 252 kB / 0.5772 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.1664, allocations: 0.7763 MB / 0.5779 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.1678, allocations: 1.371 MB / 0.5793 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.1694, allocations: 1.55 MB / 0.5808 GB, free: 13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006048/0.1755, allocations: 5.136 MB / 0.5858 GB, free: 7.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1755, allocations: 0 / 0.5858 GB, free: 7.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1755, allocations: 0 / 0.5858 GB, free: 7.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00012/0.1756, allocations: 0 / 0.5858 GB, free: 7.84 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.007027/0.1826, allocations: 3.349 MB / 0.5891 GB, free: 4.418 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1827, allocations: 12.03 kB / 0.5891 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001122/0.1828, allocations: 80.86 kB / 0.5891 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008586/0.1837, allocations: 0.5459 MB / 0.5897 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005414/0.1891, allocations: 1.625 MB / 0.5913 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.1922, allocations: 1.501 MB / 0.5927 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.1923, allocations: 188.5 kB / 0.5929 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004699/0.1928, allocations: 231.9 kB / 0.5931 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2634/0.4562, allocations: 7.103 MB / 0.6001 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/0.4563, allocations: 13.69 kB / 0.6001 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.4566, allocations: 104.4 kB / 0.6002 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002313/0.4589, allocations: 1.448 MB / 0.6016 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.4705, allocations: 5.942 MB / 0.6074 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02569/0.4962, allocations: 22.35 MB / 0.6292 GB, free: 16.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004108/0.5003, allocations: 2.122 MB / 0.6313 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008396/0.5011, allocations: 0.7096 MB / 0.632 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005644/0.5068, allocations: 3.863 MB / 0.6358 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.5068, allocations: 43.11 kB / 0.6358 GB, free: 9.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.777e-06/0.5068, allocations: 3.938 kB / 0.6358 GB, free: 9.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005724/0.5125, allocations: 2.253 MB / 0.638 GB, free: 7.691 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.5126, allocations: 67.95 kB / 0.6381 GB, free: 7.613 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/0.5149, allocations: 2.05 MB / 0.6401 GB, free: 5.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.515, allocations: 37.7 kB / 0.6401 GB, free: 5.562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008436/0.5158, allocations: 2.119 MB / 0.6422 GB, free: 3.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.5161, allocations: 361.2 kB / 0.6425 GB, free: 3.234 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006103/0.5167, allocations: 0.6551 MB / 0.6432 GB, free: 2.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.5168, allocations: 364.1 kB / 0.6435 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.5178, allocations: 0.9391 MB / 0.6444 GB, free: 1.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/0.5207, allocations: 2.868 MB / 0.6472 GB, free: 13.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005365/0.5261, allocations: 4.154 MB / 0.6513 GB, free: 8.332 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.685e-05/0.5261, allocations: 16 kB / 0.6513 GB, free: 8.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006731/0.5329, allocations: 3.709 MB / 0.6549 GB, free: 4.602 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.955e-05/0.5329, allocations: 32.94 kB / 0.655 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-05/0.533, allocations: 72 kB / 0.655 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.5331, allocations: 88 kB / 0.6551 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.5352, allocations: 0.6901 MB / 0.6558 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001238/0.5354, allocations: 139.4 kB / 0.6559 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.5376, allocations: 448.6 kB / 0.6563 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.5378, allocations: 192 kB / 0.6565 GB, free: 2.957 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (382): * Single equations (assignments): 377 * 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.0024/0.5402, allocations: 1.507 MB / 0.658 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.5405, allocations: 170.8 kB / 0.6582 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.541, allocations: 222.2 kB / 0.6584 GB, free: 1.043 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.541, allocations: 11.98 kB / 0.6584 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.541, allocations: 0 / 0.6584 GB, free: 1.031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.541, allocations: 4 kB / 0.6584 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008417/0.5495, allocations: 4.944 MB / 0.6632 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.5495, allocations: 4 kB / 0.6632 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.55, allocations: 123.9 kB / 0.6633 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.922e-05/0.55, allocations: 12 kB / 0.6633 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.55, allocations: 20 kB / 0.6634 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-05/0.55, allocations: 19.92 kB / 0.6634 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.318e-05/0.5501, allocations: 11.94 kB / 0.6634 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.552, allocations: 1.423 MB / 0.6648 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/0.5525, allocations: 291.5 kB / 0.6651 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.5526, allocations: 20 kB / 0.6651 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.5532, allocations: 39.92 kB / 0.6651 GB, free: 9.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.5533, allocations: 64.5 kB / 0.6652 GB, free: 9.758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.5534, allocations: 35.98 kB / 0.6652 GB, free: 9.723 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002148/0.5555, allocations: 1.447 MB / 0.6666 GB, free: 8.258 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5555, allocations: 0 / 0.6666 GB, free: 8.258 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002682/0.5582, allocations: 0.7824 MB / 0.6674 GB, free: 7.473 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.002311/0.5605, allocations: 2.032 MB / 0.6694 GB, free: 5.316 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003435/0.564, allocations: 2.078 MB / 0.6714 GB, free: 3.262 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.564, allocations: 0.8125 kB / 0.6714 GB, free: 3.262 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006888/0.5647, allocations: 480.1 kB / 0.6719 GB, free: 2.789 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.5661, allocations: 280.3 kB / 0.6721 GB, free: 2.527 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03709/0.6032, allocations: 23.22 MB / 0.6948 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003618/0.6068, allocations: 2.514 MB / 0.6973 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002374/0.6092, allocations: 1.027 MB / 0.6983 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/0.6109, allocations: 1.206 MB / 0.6994 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of SimCode: time 1.403e-06/0.6109, allocations: 4 kB / 0.6994 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07277/0.6837, allocations: 37.02 MB / 0.7356 GB, free: 15.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.01, allocations: 8.047 kB / 0.7356 GB, free: 15.04 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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: 17.785137440019753]