Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001326/0.001326, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001473/0.001473, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.481/1.481, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2689/0.2689, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 79.88 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1261, allocations: 65.99 MB / 0.5554 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0122/0.1383, allocations: 9.566 MB / 0.5647 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006432/0.1447, allocations: 2.94 MB / 0.5676 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.146, allocations: 59.81 kB / 0.5676 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004203/0.1503, allocations: 2.017 MB / 0.5696 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.1532, allocations: 1.121 MB / 0.5707 GB, free: 6.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.154, allocations: 295.4 kB / 0.571 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003608/0.1577, allocations: 2.333 MB / 0.5733 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/0.1605, allocations: 1.918 MB / 0.5751 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.162, allocations: 0.8878 MB / 0.576 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.1639, allocations: 1.25 MB / 0.5772 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004885/0.1644, allocations: 196 kB / 0.5774 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.1658, allocations: 0.7294 MB / 0.5781 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.1672, allocations: 1.137 MB / 0.5792 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.1689, allocations: 1.301 MB / 0.5805 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005717/0.1746, allocations: 4.334 MB / 0.5847 GB, free: 7.633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.1746, allocations: 4 kB / 0.5847 GB, free: 7.629 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1746, allocations: 3.938 kB / 0.5847 GB, free: 7.625 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001457/0.1748, allocations: 0 / 0.5847 GB, free: 7.625 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.006675/0.1814, allocations: 2.938 MB / 0.5876 GB, free: 4.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1815, allocations: 12.03 kB / 0.5876 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009872/0.1825, allocations: 483.1 kB / 0.5881 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/0.1883, allocations: 1.574 MB / 0.5896 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.1913, allocations: 1.344 MB / 0.5909 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.1915, allocations: 147.8 kB / 0.5911 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006975/0.1922, allocations: 183.9 kB / 0.5912 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2399/0.4321, allocations: 6.246 MB / 0.5973 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.105e-05/0.4322, allocations: 13.28 kB / 0.5974 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003925/0.4326, allocations: 97.66 kB / 0.5975 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002884/0.4354, allocations: 1.337 MB / 0.5988 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.4482, allocations: 5.336 MB / 0.604 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0276/0.4758, allocations: 20.04 MB / 0.6235 GB, free: 16.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/0.4799, allocations: 2.002 MB / 0.6255 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000802/0.4807, allocations: 0.6425 MB / 0.6261 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005508/0.4862, allocations: 3.494 MB / 0.6295 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4862, allocations: 48.91 kB / 0.6296 GB, free: 12.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.537e-06/0.4862, allocations: 0 / 0.6296 GB, free: 12.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005125/0.4913, allocations: 1.974 MB / 0.6315 GB, free: 11.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.4914, allocations: 55.84 kB / 0.6316 GB, free: 10.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/0.4937, allocations: 1.94 MB / 0.6335 GB, free: 9.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.753e-05/0.4938, allocations: 35.66 kB / 0.6335 GB, free: 9.035 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007938/0.4946, allocations: 1.915 MB / 0.6354 GB, free: 7.246 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.4949, allocations: 328 kB / 0.6357 GB, free: 6.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006316/0.4955, allocations: 0.6179 MB / 0.6363 GB, free: 6.305 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.4956, allocations: 357.9 kB / 0.6366 GB, free: 5.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4966, allocations: 0.892 MB / 0.6375 GB, free: 5.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.4982, allocations: 2.751 MB / 0.6402 GB, free: 1.371 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00475/0.503, allocations: 3.976 MB / 0.6441 GB, free: 12.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-05/0.5031, allocations: 18.25 kB / 0.6441 GB, free: 12.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.007092/0.5101, allocations: 3.529 MB / 0.6475 GB, free: 8.922 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.507e-05/0.5102, allocations: 32 kB / 0.6476 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/0.5103, allocations: 64 kB / 0.6476 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001027/0.5104, allocations: 91.98 kB / 0.6477 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/0.5127, allocations: 0.655 MB / 0.6483 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001262/0.5129, allocations: 127.5 kB / 0.6485 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/0.5151, allocations: 444.9 kB / 0.6489 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004012/0.5155, allocations: 184 kB / 0.6491 GB, free: 7.344 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (362): * Single equations (assignments): 357 * 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.002546/0.518, allocations: 1.344 MB / 0.6504 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/0.5184, allocations: 162.9 kB / 0.6505 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.5188, allocations: 196.9 kB / 0.6507 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.541e-05/0.5189, allocations: 8 kB / 0.6507 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.5189, allocations: 0 / 0.6507 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5189, allocations: 7.922 kB / 0.6507 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008451/0.5273, allocations: 4.078 MB / 0.6547 GB, free: 1.398 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.5273, allocations: 4 kB / 0.6547 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.5278, allocations: 99.83 kB / 0.6548 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.329e-05/0.5278, allocations: 16.67 kB / 0.6548 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.5279, allocations: 18.61 kB / 0.6548 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.5279, allocations: 15.94 kB / 0.6549 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/0.5279, allocations: 12.69 kB / 0.6549 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.5298, allocations: 1.243 MB / 0.6561 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.5303, allocations: 251.7 kB / 0.6563 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.5305, allocations: 19.94 kB / 0.6563 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.531, allocations: 27.97 kB / 0.6564 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.5311, allocations: 51.83 kB / 0.6564 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/0.5312, allocations: 29 kB / 0.6565 GB, free: 15.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002213/0.5334, allocations: 1.271 MB / 0.6577 GB, free: 14.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5334, allocations: 0 / 0.6577 GB, free: 14.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003015/0.5364, allocations: 0.6928 MB / 0.6584 GB, free: 13.55 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002572/0.539, allocations: 1.849 MB / 0.6602 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00366/0.5426, allocations: 1.967 MB / 0.6621 GB, free: 9.652 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.5426, allocations: 4.062 kB / 0.6621 GB, free: 9.648 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.5433, allocations: 420.4 kB / 0.6625 GB, free: 9.238 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.5449, allocations: 242 kB / 0.6627 GB, free: 9.012 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03658/0.5814, allocations: 20.88 MB / 0.6831 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002866/0.5843, allocations: 2.267 MB / 0.6853 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00223/0.5865, allocations: 0.9584 MB / 0.6863 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/0.588, allocations: 1.034 MB / 0.6873 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/0.588, allocations: 4 kB / 0.6873 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07354/0.6616, allocations: 32.77 MB / 0.7193 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.01, allocations: 6.734 kB / 0.7193 GB, free: 12.7 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.274960306938738]