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.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.001369/0.001369, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001762/0.001762, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.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.2261/0.2261, allocations: 44.92 MB / 358.8 MB, free: 6.273 MB / 286.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.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_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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 67.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3484, allocations: 65.47 MB / 0.557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.013/0.3614, allocations: 10.19 MB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007452/0.3688, allocations: 3.1 MB / 0.57 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.3705, allocations: 59.81 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005523/0.3761, allocations: 2.652 MB / 0.5726 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003425/0.3795, allocations: 1.21 MB / 0.5738 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3805, allocations: 355.2 kB / 0.5742 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004176/0.3847, allocations: 2.548 MB / 0.5767 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.3882, allocations: 2.247 MB / 0.5789 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.39, allocations: 1.067 MB / 0.5799 GB, free: 228 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002556/0.3926, allocations: 1.484 MB / 0.5813 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007179/0.3933, allocations: 252 kB / 0.5816 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.395, allocations: 0.7841 MB / 0.5823 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001762/0.3968, allocations: 1.371 MB / 0.5837 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002608/0.3994, allocations: 1.553 MB / 0.5852 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007274/0.4067, allocations: 5.132 MB / 0.5902 GB, free: 5.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4067, allocations: 0 / 0.5902 GB, free: 5.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4067, allocations: 0 / 0.5902 GB, free: 5.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001938/0.4069, allocations: 0 / 0.5902 GB, free: 5.613 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.009612/0.4165, allocations: 3.278 MB / 0.5934 GB, free: 2.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/0.4166, allocations: 16.03 kB / 0.5934 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00174/0.4183, allocations: 0.5381 MB / 0.594 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005515/0.4238, allocations: 1.621 MB / 0.5955 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/0.4276, allocations: 1.443 MB / 0.597 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.4279, allocations: 180.7 kB / 0.5971 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007433/0.4286, allocations: 231.9 kB / 0.5973 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.4419, allocations: 7.114 MB / 0.6043 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.149e-05/0.442, allocations: 15.88 kB / 0.6043 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004963/0.4425, allocations: 107.9 kB / 0.6044 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002387/0.4449, allocations: 1.443 MB / 0.6058 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.4571, allocations: 5.944 MB / 0.6116 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03546/0.4925, allocations: 22.26 MB / 0.6334 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/0.4973, allocations: 1.67 MB / 0.635 GB, free: 6.719 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.4985, allocations: 0.7073 MB / 0.6357 GB, free: 6.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007318/0.5058, allocations: 3.385 MB / 0.639 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5058, allocations: 39.22 kB / 0.639 GB, free: 2.547 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 2.455e-06/0.5058, allocations: 4 kB / 0.639 GB, free: 2.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.0063/0.5121, allocations: 2.257 MB / 0.6412 GB, free: 288 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.5122, allocations: 64.06 kB / 0.6413 GB, free: 212 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00339/0.5156, allocations: 2.056 MB / 0.6433 GB, free: 14.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.5156, allocations: 37.7 kB / 0.6433 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001848/0.5175, allocations: 2.11 MB / 0.6454 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.518, allocations: 361.3 kB / 0.6457 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009999/0.519, allocations: 0.6512 MB / 0.6464 GB, free: 10.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.5192, allocations: 365.9 kB / 0.6467 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.5207, allocations: 0.9391 MB / 0.6476 GB, free: 9.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/0.5239, allocations: 2.868 MB / 0.6504 GB, free: 5.824 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005051/0.5289, allocations: 4.158 MB / 0.6545 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.767e-05/0.529, allocations: 20 kB / 0.6545 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006303/0.5353, allocations: 3.706 MB / 0.6581 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.5353, allocations: 37 kB / 0.6582 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.553e-05/0.5354, allocations: 68 kB / 0.6582 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/0.5355, allocations: 92 kB / 0.6583 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.5376, allocations: 0.694 MB / 0.659 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001229/0.5377, allocations: 131.5 kB / 0.6591 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.5397, allocations: 448.6 kB / 0.6596 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/0.54, allocations: 200 kB / 0.6598 GB, free: 11.32 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.002418/0.5424, allocations: 1.503 MB / 0.6612 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.5427, allocations: 174.8 kB / 0.6614 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.5431, allocations: 218.2 kB / 0.6616 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.5432, allocations: 15.98 kB / 0.6616 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.5432, allocations: 0 / 0.6616 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.5432, allocations: 3.984 kB / 0.6616 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008921/0.5521, allocations: 4.912 MB / 0.6664 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/0.5521, allocations: 12.19 kB / 0.6664 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.5526, allocations: 119.7 kB / 0.6665 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/0.5526, allocations: 12 kB / 0.6665 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.5527, allocations: 23.98 kB / 0.6666 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.336e-05/0.5527, allocations: 12 kB / 0.6666 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.5527, allocations: 11.94 kB / 0.6666 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.5546, allocations: 1.426 MB / 0.668 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.5551, allocations: 218.3 kB / 0.6682 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.5554, allocations: 23.98 kB / 0.6682 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/0.556, allocations: 31.94 kB / 0.6682 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.5561, allocations: 79.66 kB / 0.6683 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-05/0.5562, allocations: 35.98 kB / 0.6684 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002294/0.5585, allocations: 1.448 MB / 0.6698 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5585, allocations: 0 / 0.6698 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002831/0.5613, allocations: 0.7864 MB / 0.6705 GB, free: 15.94 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.002337/0.5636, allocations: 2.024 MB / 0.6725 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003454/0.5671, allocations: 2.079 MB / 0.6745 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.5671, allocations: 5 kB / 0.6746 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006603/0.5678, allocations: 475.9 kB / 0.675 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.5694, allocations: 284.6 kB / 0.6753 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03843/0.6078, allocations: 23.21 MB / 0.6979 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004169/0.612, allocations: 2.506 MB / 0.7004 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002544/0.6145, allocations: 1.028 MB / 0.7014 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/0.6165, allocations: 1.206 MB / 0.7026 GB, free: 12.34 MB / 0.545 GB Notification: Performance of SimCode: time 1.273e-06/0.6165, allocations: 4 kB / 0.7026 GB, free: 12.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3444/0.9609, allocations: 39.55 MB / 0.7412 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/16.82, allocations: 9.016 kB / 0.7412 GB, free: 161.2 MB / 0.5606 GB " [Timeout remaining time 643] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 20.098231110023335]