Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001781/0.001781, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.0022/0.0022, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.514/1.514, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2699/0.2699, allocations: 46.92 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 67.89 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1425, allocations: 65.99 MB / 0.556 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01313/0.1556, allocations: 10.17 MB / 0.566 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007252/0.1628, allocations: 3.088 MB / 0.569 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.1648, allocations: 63.81 kB / 0.5691 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005733/0.1706, allocations: 2.629 MB / 0.5716 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.1739, allocations: 1.21 MB / 0.5728 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1749, allocations: 347.4 kB / 0.5731 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004187/0.1791, allocations: 2.543 MB / 0.5756 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004167/0.1833, allocations: 2.488 MB / 0.5781 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.1856, allocations: 1.067 MB / 0.5791 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.1879, allocations: 1.492 MB / 0.5806 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006334/0.1885, allocations: 252 kB / 0.5808 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.19, allocations: 0.7762 MB / 0.5815 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.1914, allocations: 1.371 MB / 0.5829 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001949/0.1934, allocations: 1.55 MB / 0.5844 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00601/0.1994, allocations: 5.124 MB / 0.5894 GB, free: 3.512 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1994, allocations: 0 / 0.5894 GB, free: 3.512 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1994, allocations: 3.938 kB / 0.5894 GB, free: 3.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001317/0.1995, allocations: 0 / 0.5894 GB, free: 3.508 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.007019/0.2065, allocations: 3.353 MB / 0.5927 GB, free: 84 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2066, allocations: 8.031 kB / 0.5927 GB, free: 76 kB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.2556/0.4622, allocations: 75.56 kB / 0.5928 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001501/0.4637, allocations: 0.5491 MB / 0.5933 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005979/0.4697, allocations: 1.625 MB / 0.5949 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/0.473, allocations: 1.502 MB / 0.5964 GB, free: 33.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.4732, allocations: 180.4 kB / 0.5965 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007731/0.474, allocations: 233 kB / 0.5967 GB, free: 33.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0136/0.4876, allocations: 7.115 MB / 0.6037 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.099e-05/0.4876, allocations: 12.56 kB / 0.6037 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003529/0.488, allocations: 109 kB / 0.6038 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/0.4908, allocations: 1.441 MB / 0.6052 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.5046, allocations: 5.945 MB / 0.611 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.5339, allocations: 22.35 MB / 0.6329 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/0.538, allocations: 2.123 MB / 0.6349 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008822/0.5389, allocations: 0.7093 MB / 0.6356 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005605/0.5445, allocations: 3.863 MB / 0.6394 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.5445, allocations: 40.91 kB / 0.6394 GB, free: 3.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.226e-06/0.5445, allocations: 4 kB / 0.6394 GB, free: 3.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005632/0.5502, allocations: 2.259 MB / 0.6416 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.5502, allocations: 59.97 kB / 0.6417 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/0.5533, allocations: 2.058 MB / 0.6437 GB, free: 14.85 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.5534, allocations: 41.61 kB / 0.6437 GB, free: 14.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.5552, allocations: 2.118 MB / 0.6458 GB, free: 12.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004935/0.5557, allocations: 357.3 kB / 0.6462 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.5568, allocations: 0.6551 MB / 0.6468 GB, free: 11.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.5571, allocations: 361.9 kB / 0.6471 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/0.5586, allocations: 0.9313 MB / 0.648 GB, free: 10.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/0.5619, allocations: 2.868 MB / 0.6508 GB, free: 6.523 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005228/0.5671, allocations: 4.162 MB / 0.6549 GB, free: 1.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.265e-05/0.5672, allocations: 20 kB / 0.6549 GB, free: 1.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006647/0.5738, allocations: 3.702 MB / 0.6585 GB, free: 13.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.459e-05/0.5739, allocations: 39.98 kB / 0.6586 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.574, allocations: 68 kB / 0.6586 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001127/0.5741, allocations: 88.81 kB / 0.6587 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.5763, allocations: 0.6862 MB / 0.6594 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001347/0.5764, allocations: 139.4 kB / 0.6595 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.5785, allocations: 448.6 kB / 0.66 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.5788, allocations: 192 kB / 0.6601 GB, free: 12.04 MB / 478.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.002342/0.5811, allocations: 1.503 MB / 0.6616 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.5815, allocations: 174.8 kB / 0.6618 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004943/0.582, allocations: 214.2 kB / 0.662 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.582, allocations: 16 kB / 0.662 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.582, allocations: 3.938 kB / 0.662 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.582, allocations: 3.984 kB / 0.662 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009646/0.5916, allocations: 4.936 MB / 0.6668 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/0.5917, allocations: 8 kB / 0.6668 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.5922, allocations: 119.7 kB / 0.667 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-05/0.5922, allocations: 20 kB / 0.667 GB, free: 4.863 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.5923, allocations: 27.98 kB / 0.667 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-05/0.5923, allocations: 15.94 kB / 0.667 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.607e-06/0.5923, allocations: 8 kB / 0.667 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.5942, allocations: 1.415 MB / 0.6684 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/0.5947, allocations: 299.4 kB / 0.6687 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.595, allocations: 24 kB / 0.6687 GB, free: 2.938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/0.5956, allocations: 35.92 kB / 0.6687 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.5958, allocations: 68.48 kB / 0.6688 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/0.5958, allocations: 35.94 kB / 0.6688 GB, free: 2.801 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002382/0.5982, allocations: 1.448 MB / 0.6703 GB, free: 1.332 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5982, allocations: 4 kB / 0.6703 GB, free: 1.328 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002902/0.6011, allocations: 0.7728 MB / 0.671 GB, free: 0.5547 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.002461/0.6036, allocations: 2.036 MB / 0.673 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.6071, allocations: 2.079 MB / 0.675 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6071, allocations: 0 / 0.675 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006794/0.6077, allocations: 480.9 kB / 0.6755 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.6093, allocations: 270.9 kB / 0.6758 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03506/0.6444, allocations: 23.22 MB / 0.6984 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002959/0.6473, allocations: 2.51 MB / 0.7009 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00232/0.6497, allocations: 1.024 MB / 0.7019 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/0.6514, allocations: 1.202 MB / 0.7031 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of SimCode: time 1.223e-06/0.6514, allocations: 3.938 kB / 0.7031 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07093/0.7223, allocations: 37.03 MB / 0.7392 GB, free: 8.113 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.88, allocations: 7.984 kB / 0.7392 GB, free: 8.105 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.825655905995518]