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.001472/0.001472, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001723/0.001723, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2259/0.2259, allocations: 46.94 MB / 360.8 MB, free: 3.918 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.002373/0.002373, allocations: 83.81 kB / 0.4962 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3033, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01186/0.3151, allocations: 8.906 MB / 0.5694 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00661/0.3217, allocations: 2.928 MB / 0.5722 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.3232, allocations: 63.81 kB / 0.5723 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004975/0.3282, allocations: 2.524 MB / 0.5748 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003/0.3312, allocations: 1.222 MB / 0.576 GB, free: 4.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008482/0.332, allocations: 355.3 kB / 0.5763 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003438/0.3355, allocations: 2.539 MB / 0.5788 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002856/0.3383, allocations: 2.242 MB / 0.581 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.3398, allocations: 1.063 MB / 0.582 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.3417, allocations: 1.386 MB / 0.5834 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004778/0.3422, allocations: 252 kB / 0.5836 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.3434, allocations: 0.667 MB / 0.5842 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.3448, allocations: 1.363 MB / 0.5856 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.3461, allocations: 1.134 MB / 0.5867 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005652/0.3518, allocations: 5.144 MB / 0.5917 GB, free: 4.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.3518, allocations: 3.984 kB / 0.5917 GB, free: 4.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3518, allocations: 0 / 0.5917 GB, free: 4.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.127e-05/0.3519, allocations: 0 / 0.5917 GB, free: 4.086 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.005636/0.3575, allocations: 3.274 MB / 0.5949 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3576, allocations: 8.031 kB / 0.5949 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000726/0.3583, allocations: 0.5497 MB / 0.5955 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005243/0.3635, allocations: 1.628 MB / 0.597 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003818/0.3674, allocations: 1.443 MB / 0.5985 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.3675, allocations: 185.9 kB / 0.5986 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005345/0.3681, allocations: 223.9 kB / 0.5988 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.3805, allocations: 7.114 MB / 0.6058 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.198e-05/0.3805, allocations: 19.81 kB / 0.6058 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003075/0.3809, allocations: 111.9 kB / 0.6059 GB, free: 5.109 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00238/0.3832, allocations: 1.443 MB / 0.6073 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.396, allocations: 5.937 MB / 0.6131 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03677/0.4327, allocations: 21.15 MB / 0.6338 GB, free: 7.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004743/0.4375, allocations: 1.673 MB / 0.6354 GB, free: 6.293 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.4387, allocations: 0.7034 MB / 0.6361 GB, free: 5.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007193/0.4459, allocations: 3.233 MB / 0.6393 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.4459, allocations: 43.2 kB / 0.6393 GB, free: 2.277 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.296e-06/0.4459, allocations: 0 / 0.6393 GB, free: 2.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006552/0.4525, allocations: 2.265 MB / 0.6415 GB, free: 8 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.4525, allocations: 60.06 kB / 0.6416 GB, free: 15.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/0.4567, allocations: 2.176 MB / 0.6437 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.986e-05/0.4567, allocations: 37.7 kB / 0.6437 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.4585, allocations: 2.106 MB / 0.6458 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.459, allocations: 369.2 kB / 0.6461 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.46, allocations: 0.6551 MB / 0.6468 GB, free: 10.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.4603, allocations: 361.9 kB / 0.6471 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.4618, allocations: 0.9352 MB / 0.648 GB, free: 9.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.465, allocations: 2.868 MB / 0.6508 GB, free: 5.434 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005248/0.4703, allocations: 4.151 MB / 0.6549 GB, free: 332 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-05/0.4703, allocations: 23.94 kB / 0.6549 GB, free: 308 kB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006533/0.4769, allocations: 3.707 MB / 0.6585 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.554e-05/0.4769, allocations: 36 kB / 0.6586 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.554e-05/0.477, allocations: 68 kB / 0.6586 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.4771, allocations: 96.03 kB / 0.6587 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/0.4792, allocations: 0.6901 MB / 0.6594 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001382/0.4794, allocations: 135.5 kB / 0.6595 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.4814, allocations: 448.6 kB / 0.66 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003561/0.4818, allocations: 199.9 kB / 0.6601 GB, free: 10.93 MB / 0.4981 GB 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.002402/0.4842, allocations: 1.492 MB / 0.6616 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.4845, allocations: 178.8 kB / 0.6618 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.4849, allocations: 218.2 kB / 0.662 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.4849, allocations: 15.94 kB / 0.662 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4849, allocations: 0 / 0.662 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.485, allocations: 3.984 kB / 0.662 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009897/0.4948, allocations: 4.806 MB / 0.6667 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.4949, allocations: 8 kB / 0.6667 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.4954, allocations: 119.8 kB / 0.6668 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.4954, allocations: 8 kB / 0.6668 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.4954, allocations: 31.92 kB / 0.6669 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.354e-05/0.4954, allocations: 11.94 kB / 0.6669 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/0.4955, allocations: 15.94 kB / 0.6669 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.4974, allocations: 1.427 MB / 0.6683 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.4978, allocations: 218.4 kB / 0.6685 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.4981, allocations: 27.92 kB / 0.6685 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006016/0.4987, allocations: 31.94 kB / 0.6685 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.4988, allocations: 75.72 kB / 0.6686 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/0.4989, allocations: 32 kB / 0.6686 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002459/0.5014, allocations: 1.444 MB / 0.6701 GB, free: 472 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5014, allocations: 4 kB / 0.6701 GB, free: 468 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002811/0.5042, allocations: 0.7825 MB / 0.6708 GB, free: 15.67 MB / 0.5137 GB 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.002486/0.5067, allocations: 2.028 MB / 0.6728 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003498/0.5102, allocations: 2.074 MB / 0.6748 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.5102, allocations: 4 kB / 0.6748 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000685/0.5109, allocations: 487 kB / 0.6753 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.5123, allocations: 274.4 kB / 0.6756 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03645/0.5488, allocations: 23.2 MB / 0.6982 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003239/0.552, allocations: 1.95 MB / 0.7001 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002409/0.5544, allocations: 1.028 MB / 0.7011 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/0.5563, allocations: 1.206 MB / 0.7023 GB, free: 12.61 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.5563, allocations: 0 / 0.7023 GB, free: 12.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3053/0.8615, allocations: 37.17 MB / 0.7386 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.46, allocations: 2.125 kB / 0.7386 GB, free: 161.1 MB / 0.5606 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 16.640827354043722]