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.001399/0.001399, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001667/0.001667, allocations: 213.1 kB / 23.74 MB, free: 4.656 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2387/0.2387, allocations: 46.94 MB / 360.9 MB, free: 4.242 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 0.4962 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3817, allocations: 66.04 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01427/0.3959, allocations: 10.18 MB / 0.5706 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008525/0.4045, allocations: 3.111 MB / 0.5736 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.4064, allocations: 59.81 kB / 0.5737 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005944/0.4124, allocations: 2.648 MB / 0.5763 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.4163, allocations: 1.218 MB / 0.5775 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.4175, allocations: 355.3 kB / 0.5778 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004441/0.4219, allocations: 2.54 MB / 0.5803 GB, free: 272 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003623/0.4255, allocations: 2.253 MB / 0.5825 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.4276, allocations: 1.067 MB / 0.5835 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.4304, allocations: 1.491 MB / 0.585 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000869/0.4313, allocations: 252 kB / 0.5852 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.4334, allocations: 0.7841 MB / 0.586 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.4353, allocations: 1.363 MB / 0.5873 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003053/0.4383, allocations: 1.553 MB / 0.5888 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007706/0.446, allocations: 5.128 MB / 0.5938 GB, free: 2.297 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.446, allocations: 0 / 0.5938 GB, free: 2.297 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.446, allocations: 4 kB / 0.5938 GB, free: 2.293 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002254/0.4463, allocations: 0 / 0.5938 GB, free: 2.293 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.008853/0.4551, allocations: 3.278 MB / 0.597 GB, free: 14.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.4552, allocations: 8.031 kB / 0.5971 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00137/0.4565, allocations: 0.5459 MB / 0.5976 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005155/0.4617, allocations: 1.625 MB / 0.5992 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/0.4655, allocations: 1.439 MB / 0.6006 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.4656, allocations: 184.7 kB / 0.6008 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006961/0.4663, allocations: 227.9 kB / 0.601 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.4796, allocations: 7.11 MB / 0.6079 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/0.4797, allocations: 15.88 kB / 0.6079 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/0.48, allocations: 103.9 kB / 0.608 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002319/0.4823, allocations: 1.455 MB / 0.6095 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/0.4956, allocations: 5.948 MB / 0.6153 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03532/0.5309, allocations: 22.24 MB / 0.637 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004625/0.5355, allocations: 1.679 MB / 0.6386 GB, free: 3.402 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.5367, allocations: 0.7113 MB / 0.6393 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00708/0.5437, allocations: 3.389 MB / 0.6426 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.5438, allocations: 47.14 kB / 0.6427 GB, free: 15.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=87): time 3.045e-06/0.5438, allocations: 4 kB / 0.6427 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=87): time 0.006366/0.5501, allocations: 2.253 MB / 0.6449 GB, free: 12.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.5502, allocations: 56.06 kB / 0.6449 GB, free: 12.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003111/0.5533, allocations: 2.064 MB / 0.6469 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-05/0.5534, allocations: 33.7 kB / 0.647 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.5551, allocations: 2.11 MB / 0.649 GB, free: 8.652 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004298/0.5556, allocations: 357.3 kB / 0.6494 GB, free: 8.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009115/0.5565, allocations: 0.659 MB / 0.65 GB, free: 7.633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.5567, allocations: 357.9 kB / 0.6504 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.5581, allocations: 0.9391 MB / 0.6513 GB, free: 6.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003086/0.5612, allocations: 2.872 MB / 0.6541 GB, free: 2.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/0.5663, allocations: 4.158 MB / 0.6581 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-05/0.5664, allocations: 20 kB / 0.6582 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006621/0.573, allocations: 3.699 MB / 0.6618 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/0.5731, allocations: 36 kB / 0.6618 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.825e-05/0.5732, allocations: 68 kB / 0.6619 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.903e-05/0.5733, allocations: 92.75 kB / 0.662 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.5754, allocations: 0.69 MB / 0.6626 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001225/0.5755, allocations: 135.5 kB / 0.6628 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.5777, allocations: 448.6 kB / 0.6632 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00034/0.5781, allocations: 196 kB / 0.6634 GB, free: 8.012 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.002694/0.5808, allocations: 1.515 MB / 0.6649 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.5811, allocations: 178.8 kB / 0.665 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000444/0.5815, allocations: 210.2 kB / 0.6652 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/0.5816, allocations: 12 kB / 0.6652 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5816, allocations: 4 kB / 0.6652 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-06/0.5816, allocations: 3.984 kB / 0.6652 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008969/0.5906, allocations: 4.907 MB / 0.67 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.5906, allocations: 12.98 kB / 0.67 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.5911, allocations: 115.8 kB / 0.6702 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/0.5911, allocations: 12 kB / 0.6702 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.5911, allocations: 27.98 kB / 0.6702 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.5911, allocations: 15.88 kB / 0.6702 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/0.5912, allocations: 15.94 kB / 0.6702 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.593, allocations: 1.426 MB / 0.6716 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/0.5936, allocations: 218.3 kB / 0.6718 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.5938, allocations: 31.98 kB / 0.6719 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.5943, allocations: 31.94 kB / 0.6719 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.5944, allocations: 71.72 kB / 0.672 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.5945, allocations: 35.94 kB / 0.672 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002381/0.5969, allocations: 1.448 MB / 0.6734 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5969, allocations: 4 kB / 0.6734 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00308/0.6, allocations: 0.7746 MB / 0.6742 GB, free: 12.63 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.002472/0.6024, allocations: 2.032 MB / 0.6762 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003646/0.6061, allocations: 2.079 MB / 0.6782 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.6061, allocations: 0 / 0.6782 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.6068, allocations: 484.9 kB / 0.6786 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.6083, allocations: 266.5 kB / 0.6789 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0395/0.6478, allocations: 23.21 MB / 0.7016 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/0.6513, allocations: 2.51 MB / 0.704 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002643/0.654, allocations: 1.028 MB / 0.705 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/0.6562, allocations: 1.202 MB / 0.7062 GB, free: 9.027 MB / 0.545 GB Notification: Performance of SimCode: time 1.843e-06/0.6562, allocations: 0 / 0.7062 GB, free: 9.027 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3668/1.023, allocations: 39.56 MB / 0.7448 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/17.78, allocations: 9 kB / 0.7448 GB, free: 152.6 MB / 0.5606 GB " [Timeout remaining time 642] (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: 21.115196136990562]