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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.2163/0.2163, allocations: 44.91 MB / 349.6 MB, free: 1.734 MB / 270.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.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 79.75 kB / 491.8 MB, free: 30.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1155, allocations: 64.25 MB / 0.543 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01313/0.1286, allocations: 10.57 MB / 0.5533 GB, free: 9.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007293/0.1359, allocations: 3.119 MB / 0.5564 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.1375, allocations: 59.88 kB / 0.5564 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005085/0.1426, allocations: 2.644 MB / 0.559 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.1457, allocations: 1.249 MB / 0.5602 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009654/0.1467, allocations: 351.3 kB / 0.5606 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.1504, allocations: 2.59 MB / 0.5631 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003263/0.1536, allocations: 2.519 MB / 0.5655 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.1555, allocations: 1.094 MB / 0.5666 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.1579, allocations: 1.527 MB / 0.5681 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006659/0.1586, allocations: 260 kB / 0.5684 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.1602, allocations: 0.788 MB / 0.5691 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.1618, allocations: 1.437 MB / 0.5705 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002167/0.164, allocations: 1.631 MB / 0.5721 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006905/0.1709, allocations: 5.377 MB / 0.5774 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1709, allocations: 0 / 0.5774 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1709, allocations: 0 / 0.5774 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001376/0.1711, allocations: 0 / 0.5774 GB, free: 0.7578 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: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.006661/0.1777, allocations: 3.486 MB / 0.5808 GB, free: 13.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1778, allocations: 12.03 kB / 0.5808 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008836/0.1787, allocations: 0.5707 MB / 0.5813 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005397/0.1841, allocations: 1.679 MB / 0.583 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/0.1882, allocations: 1.547 MB / 0.5845 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.1883, allocations: 192.8 kB / 0.5847 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006333/0.189, allocations: 239.9 kB / 0.5849 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.2021, allocations: 7.482 MB / 0.5922 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.717e-05/0.2022, allocations: 15.88 kB / 0.5922 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003247/0.2025, allocations: 111.9 kB / 0.5923 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002522/0.205, allocations: 1.58 MB / 0.5939 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.2185, allocations: 6.254 MB / 0.6 GB, free: 9.125 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2932/0.5117, allocations: 23.18 MB / 0.6226 GB, free: 42.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/0.5167, allocations: 2.128 MB / 0.6247 GB, free: 41.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.5178, allocations: 0.7053 MB / 0.6254 GB, free: 41.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007873/0.5257, allocations: 3.896 MB / 0.6292 GB, free: 39.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.5257, allocations: 39.77 kB / 0.6292 GB, free: 39.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=87): time 3.246e-06/0.5257, allocations: 0 / 0.6292 GB, free: 39.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=87): time 0.006304/0.532, allocations: 2.264 MB / 0.6314 GB, free: 39.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.5321, allocations: 61.22 kB / 0.6315 GB, free: 38.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002695/0.5348, allocations: 2.106 MB / 0.6336 GB, free: 38.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.5348, allocations: 37.52 kB / 0.6336 GB, free: 38.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.5359, allocations: 2.205 MB / 0.6357 GB, free: 36.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/0.5362, allocations: 359.1 kB / 0.6361 GB, free: 36.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007408/0.5369, allocations: 0.6754 MB / 0.6367 GB, free: 36.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.5369, allocations: 302.5 kB / 0.637 GB, free: 35.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.5381, allocations: 0.9453 MB / 0.638 GB, free: 35.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.5399, allocations: 2.917 MB / 0.6408 GB, free: 32.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.5431, allocations: 4.214 MB / 0.6449 GB, free: 28.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.747e-05/0.5431, allocations: 17.09 kB / 0.6449 GB, free: 28.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.00479/0.5479, allocations: 3.756 MB / 0.6486 GB, free: 27.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.5479, allocations: 35.31 kB / 0.6486 GB, free: 27.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-05/0.548, allocations: 79.3 kB / 0.6487 GB, free: 27.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.278e-05/0.5481, allocations: 97.02 kB / 0.6488 GB, free: 27.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.5498, allocations: 0.6979 MB / 0.6495 GB, free: 27.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.745e-05/0.5498, allocations: 138.2 kB / 0.6496 GB, free: 27.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.5518, allocations: 454.8 kB / 0.6501 GB, free: 26.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.552, allocations: 201.8 kB / 0.6502 GB, free: 26.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.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 (388): * Single equations (assignments): 383 * 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.00188/0.5539, allocations: 1.549 MB / 0.6518 GB, free: 25.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.5541, allocations: 181.8 kB / 0.6519 GB, free: 25.74 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.5544, allocations: 220.2 kB / 0.6521 GB, free: 25.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.5545, allocations: 18.16 kB / 0.6522 GB, free: 25.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.5545, allocations: 0 / 0.6522 GB, free: 25.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5545, allocations: 3.984 kB / 0.6522 GB, free: 25.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006661/0.5611, allocations: 5.09 MB / 0.6571 GB, free: 22.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.5611, allocations: 4 kB / 0.6571 GB, free: 22.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.5615, allocations: 116.7 kB / 0.6573 GB, free: 22.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.5615, allocations: 12 kB / 0.6573 GB, free: 22.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.5616, allocations: 25.48 kB / 0.6573 GB, free: 22.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.5616, allocations: 15.94 kB / 0.6573 GB, free: 22.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.5616, allocations: 11.94 kB / 0.6573 GB, free: 22.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.5628, allocations: 1.419 MB / 0.6587 GB, free: 20.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/0.5632, allocations: 291.5 kB / 0.659 GB, free: 20.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.5634, allocations: 22.94 kB / 0.659 GB, free: 20.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/0.5639, allocations: 39.75 kB / 0.659 GB, free: 20.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.564, allocations: 66.25 kB / 0.6591 GB, free: 20.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.564, allocations: 35.98 kB / 0.6591 GB, free: 20.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00147/0.5655, allocations: 1.473 MB / 0.6606 GB, free: 18.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5655, allocations: 4 kB / 0.6606 GB, free: 18.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0025/0.568, allocations: 0.8252 MB / 0.6614 GB, free: 17.86 MB / 462.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.001513/0.5695, allocations: 2.035 MB / 0.6634 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.5725, allocations: 2.099 MB / 0.6654 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.5725, allocations: 8 kB / 0.6654 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000466/0.573, allocations: 481.3 kB / 0.6659 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.5744, allocations: 296.4 kB / 0.6662 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03123/0.6056, allocations: 23.74 MB / 0.6893 GB, free: 2.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003337/0.609, allocations: 2.608 MB / 0.6919 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002426/0.6114, allocations: 1.037 MB / 0.6929 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/0.6133, allocations: 1.257 MB / 0.6941 GB, free: 13.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.272e-06/0.6133, allocations: 3.938 kB / 0.6941 GB, free: 13.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08046/0.6937, allocations: 37.93 MB / 0.7312 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.23, allocations: 4 kB / 0.7312 GB, free: 7.746 MB / 0.5137 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.565972979180515]