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.001782/0.001782, allocations: 113.2 kB / 20.44 MB, free: 1.324 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.002195/0.002195, allocations: 213.3 kB / 23.74 MB, free: 4.539 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.969 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.2286/0.2286, allocations: 46.94 MB / 360.9 MB, free: 4.238 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.002104/0.002104, allocations: 75.83 kB / 0.4962 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.305, allocations: 66.03 MB / 0.5606 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01139/0.3164, allocations: 9.589 MB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006099/0.3225, allocations: 2.959 MB / 0.5729 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.3236, allocations: 59.81 kB / 0.573 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004003/0.3276, allocations: 2.017 MB / 0.5749 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.3304, allocations: 1.148 MB / 0.576 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.3311, allocations: 287.5 kB / 0.5763 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003215/0.3343, allocations: 2.333 MB / 0.5786 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.3363, allocations: 1.726 MB / 0.5803 GB, free: 244 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.3374, allocations: 0.8956 MB / 0.5812 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.339, allocations: 1.25 MB / 0.5824 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003323/0.3394, allocations: 192 kB / 0.5826 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.3406, allocations: 0.7333 MB / 0.5833 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.3416, allocations: 1.141 MB / 0.5844 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.343, allocations: 1.301 MB / 0.5857 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.3477, allocations: 4.334 MB / 0.5899 GB, free: 6.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3477, allocations: 7.938 kB / 0.5899 GB, free: 6.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3477, allocations: 0 / 0.5899 GB, free: 6.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.996e-05/0.3478, allocations: 0 / 0.5899 GB, free: 6.352 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.004596/0.3524, allocations: 2.862 MB / 0.5927 GB, free: 3.445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3524, allocations: 8.031 kB / 0.5927 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005483/0.353, allocations: 487.1 kB / 0.5932 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004863/0.3578, allocations: 1.574 MB / 0.5947 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.3607, allocations: 1.271 MB / 0.596 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.3608, allocations: 155.8 kB / 0.5961 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/0.3612, allocations: 183.9 kB / 0.5963 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009236/0.3704, allocations: 6.25 MB / 0.6024 GB, free: 9.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/0.3705, allocations: 15.88 kB / 0.6024 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.3707, allocations: 91.89 kB / 0.6025 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001997/0.3727, allocations: 1.34 MB / 0.6038 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009947/0.3826, allocations: 5.337 MB / 0.609 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02927/0.4119, allocations: 19.96 MB / 0.6285 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/0.416, allocations: 1.559 MB / 0.63 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009628/0.417, allocations: 0.6367 MB / 0.6306 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006376/0.4234, allocations: 3.035 MB / 0.6336 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.4234, allocations: 39 kB / 0.6336 GB, free: 8.551 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 4.158e-06/0.4234, allocations: 0 / 0.6336 GB, free: 8.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.005264/0.4287, allocations: 1.978 MB / 0.6356 GB, free: 6.562 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.4287, allocations: 59.84 kB / 0.6356 GB, free: 6.492 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/0.4316, allocations: 1.946 MB / 0.6375 GB, free: 4.543 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/0.4316, allocations: 33.7 kB / 0.6376 GB, free: 4.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.4331, allocations: 1.911 MB / 0.6394 GB, free: 2.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.4335, allocations: 329.5 kB / 0.6397 GB, free: 2.246 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000816/0.4343, allocations: 0.6234 MB / 0.6403 GB, free: 1.613 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.4345, allocations: 357.9 kB / 0.6407 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.4358, allocations: 0.8881 MB / 0.6416 GB, free: 376 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/0.4387, allocations: 2.748 MB / 0.6442 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/0.4433, allocations: 3.977 MB / 0.6481 GB, free: 7.785 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.853e-05/0.4434, allocations: 16 kB / 0.6481 GB, free: 7.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005734/0.4491, allocations: 3.531 MB / 0.6516 GB, free: 4.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.923e-05/0.4492, allocations: 35.98 kB / 0.6516 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.355e-05/0.4492, allocations: 68 kB / 0.6517 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.058e-05/0.4493, allocations: 84 kB / 0.6518 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.4512, allocations: 0.655 MB / 0.6524 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000108/0.4513, allocations: 127.5 kB / 0.6525 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.4532, allocations: 437 kB / 0.6529 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.4534, allocations: 191.8 kB / 0.6531 GB, free: 2.652 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.002096/0.4555, allocations: 1.342 MB / 0.6544 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.4558, allocations: 162.9 kB / 0.6546 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.4561, allocations: 196.9 kB / 0.6548 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.4561, allocations: 8 kB / 0.6548 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4562, allocations: 0 / 0.6548 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4562, allocations: 7.984 kB / 0.6548 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006771/0.4629, allocations: 4.045 MB / 0.6587 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.4629, allocations: 4 kB / 0.6587 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.4633, allocations: 103.8 kB / 0.6588 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.4633, allocations: 8.75 kB / 0.6589 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.4634, allocations: 15.94 kB / 0.6589 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.441e-05/0.4634, allocations: 19.92 kB / 0.6589 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.4634, allocations: 8 kB / 0.6589 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.465, allocations: 1.239 MB / 0.6601 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.4654, allocations: 178.6 kB / 0.6603 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.4656, allocations: 27.92 kB / 0.6603 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.466, allocations: 23.98 kB / 0.6603 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.4661, allocations: 55.8 kB / 0.6604 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.4662, allocations: 32 kB / 0.6604 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001954/0.4681, allocations: 1.263 MB / 0.6616 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4681, allocations: 0 / 0.6616 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002723/0.4709, allocations: 0.7007 MB / 0.6623 GB, free: 8.988 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.002176/0.473, allocations: 1.853 MB / 0.6641 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003381/0.4764, allocations: 1.964 MB / 0.6661 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4764, allocations: 0 / 0.6661 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.477, allocations: 419.9 kB / 0.6665 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.4782, allocations: 248.2 kB / 0.6667 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03146/0.5097, allocations: 20.88 MB / 0.6871 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002647/0.5123, allocations: 2.271 MB / 0.6893 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002137/0.5145, allocations: 0.9518 MB / 0.6902 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/0.5159, allocations: 1.034 MB / 0.6912 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of SimCode: time 1.563e-06/0.5159, allocations: 0 / 0.6912 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07912/0.5951, allocations: 35.24 MB / 0.7257 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.36, allocations: 3.438 kB / 0.7257 GB, free: 5.699 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.814393249107525]