Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001502/0.001502, allocations: 115.6 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.001691/0.001691, allocations: 213.4 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2259/0.2259, allocations: 46.94 MB / 360.9 MB, free: 4.27 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.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.89 kB / 0.4962 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3292, allocations: 66.03 MB / 0.5606 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.0123/0.3415, allocations: 9.589 MB / 0.57 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006103/0.3476, allocations: 2.959 MB / 0.5729 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009223/0.3485, allocations: 59.81 kB / 0.5729 GB, free: 7.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003854/0.3524, allocations: 2.029 MB / 0.5749 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.355, allocations: 1.133 MB / 0.576 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007285/0.3558, allocations: 299.4 kB / 0.5763 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003155/0.3589, allocations: 2.325 MB / 0.5786 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.3611, allocations: 1.738 MB / 0.5803 GB, free: 232 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.3624, allocations: 0.8918 MB / 0.5812 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.3642, allocations: 1.254 MB / 0.5824 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003552/0.3646, allocations: 199.9 kB / 0.5826 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.3658, allocations: 0.7215 MB / 0.5833 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.367, allocations: 1.137 MB / 0.5844 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.3684, allocations: 1.312 MB / 0.5857 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.3735, allocations: 4.33 MB / 0.5899 GB, free: 6.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.3735, allocations: 4 kB / 0.5899 GB, free: 6.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3735, allocations: 0 / 0.5899 GB, free: 6.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000106/0.3736, allocations: 0 / 0.5899 GB, free: 6.344 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.005308/0.3789, allocations: 2.866 MB / 0.5927 GB, free: 3.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.379, allocations: 8.031 kB / 0.5927 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000652/0.3796, allocations: 487.1 kB / 0.5932 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/0.3847, allocations: 1.578 MB / 0.5947 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/0.3876, allocations: 1.275 MB / 0.596 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.3877, allocations: 155.9 kB / 0.5961 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004023/0.3881, allocations: 183.9 kB / 0.5963 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.3984, allocations: 6.246 MB / 0.6024 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.587e-05/0.3984, allocations: 11.88 kB / 0.6024 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.3986, allocations: 87.91 kB / 0.6025 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002057/0.4007, allocations: 1.344 MB / 0.6038 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00992/0.4106, allocations: 5.333 MB / 0.609 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02829/0.4389, allocations: 19.96 MB / 0.6285 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004096/0.443, allocations: 1.551 MB / 0.63 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009645/0.444, allocations: 0.6328 MB / 0.6306 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006371/0.4503, allocations: 3.031 MB / 0.6336 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.4504, allocations: 42.98 kB / 0.6336 GB, free: 8.547 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 3.437e-06/0.4504, allocations: 4 kB / 0.6336 GB, free: 8.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005299/0.4557, allocations: 1.982 MB / 0.6356 GB, free: 6.551 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.4557, allocations: 55.84 kB / 0.6356 GB, free: 6.484 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.4584, allocations: 1.942 MB / 0.6375 GB, free: 4.539 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.4585, allocations: 41.7 kB / 0.6376 GB, free: 4.492 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/0.4599, allocations: 1.907 MB / 0.6394 GB, free: 2.562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.4602, allocations: 329.5 kB / 0.6397 GB, free: 2.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007897/0.461, allocations: 0.6234 MB / 0.6403 GB, free: 1.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.4612, allocations: 361.9 kB / 0.6407 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.4625, allocations: 0.8842 MB / 0.6416 GB, free: 368 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.4654, allocations: 2.748 MB / 0.6442 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004775/0.4702, allocations: 3.973 MB / 0.6481 GB, free: 7.781 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.594e-05/0.4702, allocations: 20 kB / 0.6481 GB, free: 7.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006329/0.4766, allocations: 3.531 MB / 0.6516 GB, free: 4.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.4766, allocations: 32 kB / 0.6516 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.4767, allocations: 68 kB / 0.6517 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.4769, allocations: 88 kB / 0.6518 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.4789, allocations: 0.655 MB / 0.6524 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001306/0.4791, allocations: 131.5 kB / 0.6525 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.481, allocations: 429 kB / 0.6529 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.4813, allocations: 191.8 kB / 0.6531 GB, free: 2.648 MB / 494.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.002069/0.4834, allocations: 1.342 MB / 0.6544 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.4836, allocations: 170.9 kB / 0.6546 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.484, allocations: 192.9 kB / 0.6548 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.484, allocations: 12 kB / 0.6548 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.484, allocations: 0 / 0.6548 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.484, allocations: 4 kB / 0.6548 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006899/0.4909, allocations: 4.045 MB / 0.6587 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.4909, allocations: 8 kB / 0.6588 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.4913, allocations: 95.83 kB / 0.6588 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.4913, allocations: 8.75 kB / 0.6589 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.4914, allocations: 27.92 kB / 0.6589 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.4914, allocations: 15.94 kB / 0.6589 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4914, allocations: 4 kB / 0.6589 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.493, allocations: 1.243 MB / 0.6601 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.4934, allocations: 186.6 kB / 0.6603 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.4936, allocations: 15.94 kB / 0.6603 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.4941, allocations: 27.97 kB / 0.6603 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.4942, allocations: 55.81 kB / 0.6604 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.4942, allocations: 24 kB / 0.6604 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002012/0.4962, allocations: 1.279 MB / 0.6617 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4962, allocations: 0 / 0.6617 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002628/0.4989, allocations: 0.6929 MB / 0.6623 GB, free: 8.977 MB / 0.4981 GB 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.00226/0.5011, allocations: 1.849 MB / 0.6641 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003526/0.5047, allocations: 1.96 MB / 0.6661 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.5047, allocations: 8.125 kB / 0.6661 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000617/0.5053, allocations: 423.9 kB / 0.6665 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5067, allocations: 227.2 kB / 0.6667 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03036/0.537, allocations: 20.89 MB / 0.6871 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/0.5396, allocations: 2.275 MB / 0.6893 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002116/0.5417, allocations: 0.9519 MB / 0.6902 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/0.5431, allocations: 1.034 MB / 0.6912 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.5431, allocations: 0 / 0.6912 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07593/0.619, allocations: 35.23 MB / 0.7256 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.25, allocations: 10.72 kB / 0.7257 GB, free: 5.699 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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: 18.640664161881432]