Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001702/0.001702, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001957/0.001957, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2407/0.2407, allocations: 46.91 MB / 357.4 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 71.88 kB / 0.4912 GB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1281, allocations: 66 MB / 0.5557 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01195/0.1401, allocations: 10.16 MB / 0.5656 GB, free: 12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006463/0.1465, allocations: 3.094 MB / 0.5686 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.1478, allocations: 55.88 kB / 0.5687 GB, free: 8.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004912/0.1527, allocations: 2.633 MB / 0.5713 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.1557, allocations: 1.206 MB / 0.5724 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008979/0.1566, allocations: 347.4 kB / 0.5728 GB, free: 4.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003772/0.1603, allocations: 2.546 MB / 0.5752 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.1636, allocations: 2.496 MB / 0.5777 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.1652, allocations: 1.048 MB / 0.5787 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.1674, allocations: 1.492 MB / 0.5802 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000557/0.1679, allocations: 252 kB / 0.5804 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.1693, allocations: 0.7762 MB / 0.5812 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.1707, allocations: 1.367 MB / 0.5825 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.1724, allocations: 1.546 MB / 0.584 GB, free: 9.059 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005929/0.1784, allocations: 5.128 MB / 0.589 GB, free: 3.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1784, allocations: 4 kB / 0.589 GB, free: 3.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1784, allocations: 0 / 0.589 GB, free: 3.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001355/0.1785, allocations: 0 / 0.589 GB, free: 3.906 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.006364/0.1849, allocations: 3.349 MB / 0.5923 GB, free: 496 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.1849, allocations: 12.03 kB / 0.5923 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.235/0.4199, allocations: 0.548 MB / 0.5928 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005727/0.4257, allocations: 1.615 MB / 0.5944 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003931/0.4296, allocations: 1.511 MB / 0.5959 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.4298, allocations: 179.4 kB / 0.5961 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007669/0.4305, allocations: 230.2 kB / 0.5963 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/0.4446, allocations: 7.115 MB / 0.6032 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.919e-05/0.4447, allocations: 12.53 kB / 0.6032 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/0.4452, allocations: 110.3 kB / 0.6033 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002597/0.4478, allocations: 1.448 MB / 0.6048 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/0.4604, allocations: 5.946 MB / 0.6106 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03142/0.4918, allocations: 22.35 MB / 0.6324 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003841/0.4956, allocations: 2.115 MB / 0.6345 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007626/0.4964, allocations: 0.7056 MB / 0.6351 GB, free: 7.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006024/0.5024, allocations: 3.866 MB / 0.6389 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5025, allocations: 47 kB / 0.639 GB, free: 3.801 MB / 446.1 MB Notification: Performance of pre-optimization done (n=87): time 3.226e-06/0.5025, allocations: 0 / 0.639 GB, free: 3.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=87): time 0.005462/0.5079, allocations: 2.26 MB / 0.6412 GB, free: 1.535 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.508, allocations: 59.97 kB / 0.6412 GB, free: 1.465 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/0.5105, allocations: 2.055 MB / 0.6432 GB, free: 15.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.5106, allocations: 37.7 kB / 0.6433 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.5122, allocations: 2.114 MB / 0.6453 GB, free: 13.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/0.5127, allocations: 357.3 kB / 0.6457 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008832/0.5136, allocations: 0.6614 MB / 0.6463 GB, free: 12.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.5138, allocations: 363.7 kB / 0.6467 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.5152, allocations: 0.9352 MB / 0.6476 GB, free: 10.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/0.5183, allocations: 2.872 MB / 0.6504 GB, free: 7.086 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005411/0.5237, allocations: 4.144 MB / 0.6544 GB, free: 1.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.807e-05/0.5238, allocations: 20 kB / 0.6545 GB, free: 1.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006726/0.5305, allocations: 3.719 MB / 0.6581 GB, free: 14.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.637e-05/0.5306, allocations: 32 kB / 0.6581 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.46e-05/0.5307, allocations: 68 kB / 0.6582 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/0.5308, allocations: 92 kB / 0.6583 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.533, allocations: 0.69 MB / 0.6589 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001213/0.5331, allocations: 131.5 kB / 0.6591 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.5352, allocations: 448.6 kB / 0.6595 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/0.5355, allocations: 196 kB / 0.6597 GB, free: 12.59 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.00261/0.5381, allocations: 1.499 MB / 0.6611 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.5385, allocations: 182.7 kB / 0.6613 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.5389, allocations: 214.2 kB / 0.6615 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.5389, allocations: 11.91 kB / 0.6615 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.539, allocations: 0 / 0.6615 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.539, allocations: 11.91 kB / 0.6616 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009763/0.5487, allocations: 4.936 MB / 0.6664 GB, free: 5.566 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/0.5487, allocations: 8 kB / 0.6664 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.5492, allocations: 119.8 kB / 0.6665 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/0.5493, allocations: 15.94 kB / 0.6665 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/0.5493, allocations: 24 kB / 0.6665 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.178e-05/0.5493, allocations: 19.92 kB / 0.6666 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.719e-06/0.5493, allocations: 11.94 kB / 0.6666 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.5513, allocations: 1.412 MB / 0.6679 GB, free: 3.832 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/0.5519, allocations: 295.5 kB / 0.6682 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.5522, allocations: 27.92 kB / 0.6682 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.5527, allocations: 35.94 kB / 0.6683 GB, free: 3.461 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.5528, allocations: 64.5 kB / 0.6683 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.5529, allocations: 36 kB / 0.6684 GB, free: 3.363 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002503/0.5554, allocations: 1.452 MB / 0.6698 GB, free: 1.891 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5554, allocations: 0 / 0.6698 GB, free: 1.891 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003091/0.5585, allocations: 0.7785 MB / 0.6706 GB, free: 1.109 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.002594/0.5611, allocations: 2.032 MB / 0.6725 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003521/0.5646, allocations: 2.079 MB / 0.6746 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.5646, allocations: 4 kB / 0.6746 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006978/0.5653, allocations: 478.2 kB / 0.675 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.5669, allocations: 260.4 kB / 0.6753 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03647/0.6034, allocations: 23.21 MB / 0.6979 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003427/0.6068, allocations: 2.514 MB / 0.7004 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002478/0.6093, allocations: 1.03 MB / 0.7014 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00184/0.6111, allocations: 1.21 MB / 0.7026 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.192e-06/0.6111, allocations: 0 / 0.7026 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08007/0.6912, allocations: 36.97 MB / 0.7387 GB, free: 8.664 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.09, allocations: 18.95 kB / 0.7387 GB, free: 8.648 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.37768751103431]