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.00167/0.00167, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.00188/0.00188, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.557/1.557, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2385/0.2385, allocations: 46.93 MB / 357.1 MB, free: 10.3 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.002212/0.002212, allocations: 63.89 kB / 0.4909 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1236, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01221/0.1358, allocations: 9.568 MB / 0.5647 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006185/0.142, allocations: 2.948 MB / 0.5676 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.1433, allocations: 55.81 kB / 0.5676 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004266/0.1475, allocations: 2.013 MB / 0.5696 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.1506, allocations: 1.133 MB / 0.5707 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.1514, allocations: 283.5 kB / 0.571 GB, free: 5.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003736/0.1552, allocations: 2.336 MB / 0.5733 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0029/0.1581, allocations: 1.91 MB / 0.5751 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.1596, allocations: 0.8995 MB / 0.576 GB, free: 0.582 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.1617, allocations: 1.246 MB / 0.5772 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006178/0.1624, allocations: 192 kB / 0.5774 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.164, allocations: 0.7255 MB / 0.5781 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.1655, allocations: 1.145 MB / 0.5792 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002284/0.1678, allocations: 1.308 MB / 0.5805 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006464/0.1742, allocations: 4.326 MB / 0.5847 GB, free: 7.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1742, allocations: 3.938 kB / 0.5847 GB, free: 7.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1742, allocations: 0 / 0.5847 GB, free: 7.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001757/0.1744, allocations: 0 / 0.5847 GB, free: 7.605 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.006941/0.1814, allocations: 2.942 MB / 0.5876 GB, free: 4.602 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1814, allocations: 8.031 kB / 0.5876 GB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001032/0.1824, allocations: 487.1 kB / 0.5881 GB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005732/0.1882, allocations: 1.578 MB / 0.5896 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.191, allocations: 1.34 MB / 0.5909 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.1911, allocations: 151.8 kB / 0.5911 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005898/0.1917, allocations: 183.9 kB / 0.5913 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2342/0.4259, allocations: 6.243 MB / 0.5974 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.426, allocations: 13.53 kB / 0.5974 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.4262, allocations: 87.62 kB / 0.5974 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/0.4284, allocations: 1.343 MB / 0.5988 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.4385, allocations: 5.332 MB / 0.604 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02447/0.4629, allocations: 20.04 MB / 0.6235 GB, free: 16.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/0.467, allocations: 2.007 MB / 0.6255 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008271/0.4678, allocations: 0.6387 MB / 0.6261 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005266/0.4731, allocations: 3.497 MB / 0.6295 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4731, allocations: 44.11 kB / 0.6296 GB, free: 12.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/0.4731, allocations: 0 / 0.6296 GB, free: 12.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.005248/0.4784, allocations: 1.976 MB / 0.6315 GB, free: 11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.4784, allocations: 59.84 kB / 0.6316 GB, free: 10.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.4806, allocations: 1.94 MB / 0.6335 GB, free: 9.027 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/0.4807, allocations: 33.7 kB / 0.6335 GB, free: 8.988 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009101/0.4816, allocations: 1.915 MB / 0.6354 GB, free: 7.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.4819, allocations: 324.4 kB / 0.6357 GB, free: 6.887 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007014/0.4826, allocations: 0.6215 MB / 0.6363 GB, free: 6.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4827, allocations: 357.9 kB / 0.6366 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.4837, allocations: 0.8842 MB / 0.6375 GB, free: 5.016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.4853, allocations: 2.759 MB / 0.6402 GB, free: 1.324 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/0.4897, allocations: 3.967 MB / 0.6441 GB, free: 12.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-05/0.4898, allocations: 16 kB / 0.6441 GB, free: 12.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.006731/0.4965, allocations: 3.542 MB / 0.6475 GB, free: 8.875 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/0.4965, allocations: 32 kB / 0.6476 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.291e-05/0.4966, allocations: 64 kB / 0.6476 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/0.4967, allocations: 88 kB / 0.6477 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.4988, allocations: 0.655 MB / 0.6483 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.4989, allocations: 127.5 kB / 0.6485 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.5009, allocations: 437.2 kB / 0.6489 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000324/0.5012, allocations: 188 kB / 0.6491 GB, free: 7.301 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.002158/0.5034, allocations: 1.349 MB / 0.6504 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.5037, allocations: 162.9 kB / 0.6505 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.5041, allocations: 192.9 kB / 0.6507 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/0.5041, allocations: 12 kB / 0.6507 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5041, allocations: 0 / 0.6507 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.5041, allocations: 7.922 kB / 0.6507 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007678/0.5118, allocations: 4.076 MB / 0.6547 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.5118, allocations: 7.25 kB / 0.6547 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.5123, allocations: 107.8 kB / 0.6548 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.5123, allocations: 11.94 kB / 0.6548 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.5123, allocations: 12 kB / 0.6548 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.5123, allocations: 11.94 kB / 0.6549 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.5124, allocations: 11.94 kB / 0.6549 GB, free: 1.195 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.5141, allocations: 1.247 MB / 0.6561 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.5145, allocations: 251.7 kB / 0.6563 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.5147, allocations: 23.92 kB / 0.6564 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/0.5152, allocations: 23.98 kB / 0.6564 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.5153, allocations: 51.83 kB / 0.6564 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.5154, allocations: 31.98 kB / 0.6565 GB, free: 15.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002165/0.5175, allocations: 1.267 MB / 0.6577 GB, free: 14.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5175, allocations: 0 / 0.6577 GB, free: 14.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002889/0.5204, allocations: 0.689 MB / 0.6584 GB, free: 13.51 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.002298/0.5227, allocations: 1.861 MB / 0.6602 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003425/0.5262, allocations: 1.952 MB / 0.6621 GB, free: 9.609 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.5262, allocations: 0 / 0.6621 GB, free: 9.609 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006437/0.5268, allocations: 438.7 kB / 0.6625 GB, free: 9.184 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.5282, allocations: 236.4 kB / 0.6627 GB, free: 8.965 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03182/0.56, allocations: 20.88 MB / 0.6831 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002844/0.5629, allocations: 2.267 MB / 0.6853 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002221/0.5651, allocations: 0.9584 MB / 0.6863 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.5667, allocations: 1.034 MB / 0.6873 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of SimCode: time 1.693e-06/0.5667, allocations: 4 kB / 0.6873 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07286/0.6396, allocations: 32.77 MB / 0.7193 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.33, allocations: 7.812 kB / 0.7193 GB, free: 12.66 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.657743192045018]