Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 112.8 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 249.8 MB, free: 3.645 MB / 190.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.2184/0.2184, allocations: 44.91 MB / 349.6 MB, free: 1.828 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 64.09 kB / 491.8 MB, free: 30.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 64.26 MB / 0.543 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01158/0.1139, allocations: 9.786 MB / 0.5525 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005759/0.1196, allocations: 2.944 MB / 0.5554 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009665/0.1206, allocations: 55.88 kB / 0.5555 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.1244, allocations: 2.009 MB / 0.5574 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00257/0.127, allocations: 1.16 MB / 0.5586 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.1277, allocations: 291.3 kB / 0.5588 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003025/0.1307, allocations: 2.322 MB / 0.5611 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.1331, allocations: 1.934 MB / 0.563 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.1344, allocations: 0.9034 MB / 0.5639 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.1361, allocations: 1.277 MB / 0.5651 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.1364, allocations: 196 kB / 0.5653 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.1377, allocations: 0.7255 MB / 0.566 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.1389, allocations: 1.18 MB / 0.5672 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.1404, allocations: 1.351 MB / 0.5685 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005254/0.1457, allocations: 4.478 MB / 0.5729 GB, free: 5.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1457, allocations: 0 / 0.5729 GB, free: 5.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1457, allocations: 0 / 0.5729 GB, free: 5.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.1458, allocations: 0 / 0.5729 GB, free: 5.383 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.005974/0.1518, allocations: 3.02 MB / 0.5758 GB, free: 2.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.1518, allocations: 12.03 kB / 0.5758 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008082/0.1526, allocations: 0.492 MB / 0.5763 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005061/0.1577, allocations: 1.594 MB / 0.5779 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.1611, allocations: 1.368 MB / 0.5792 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.1612, allocations: 151.8 kB / 0.5794 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004579/0.1617, allocations: 183.9 kB / 0.5795 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.1722, allocations: 6.428 MB / 0.5858 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.228e-05/0.1722, allocations: 11.88 kB / 0.5858 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002936/0.1725, allocations: 95.89 kB / 0.5859 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002331/0.1749, allocations: 1.407 MB / 0.5873 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.1863, allocations: 5.484 MB / 0.5926 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2728/0.4591, allocations: 20.46 MB / 0.6126 GB, free: 46.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005059/0.4641, allocations: 2.016 MB / 0.6146 GB, free: 45.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.4653, allocations: 0.6394 MB / 0.6152 GB, free: 45.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007418/0.4727, allocations: 3.517 MB / 0.6186 GB, free: 44.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4728, allocations: 37.31 kB / 0.6187 GB, free: 44.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.388e-06/0.4728, allocations: 0 / 0.6187 GB, free: 44.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.006183/0.479, allocations: 1.985 MB / 0.6206 GB, free: 44.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.479, allocations: 58.44 kB / 0.6207 GB, free: 44.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.4824, allocations: 1.97 MB / 0.6226 GB, free: 43.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.4825, allocations: 35.78 kB / 0.6226 GB, free: 43.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.484, allocations: 1.96 MB / 0.6245 GB, free: 42.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/0.4844, allocations: 323.6 kB / 0.6249 GB, free: 42.19 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000944/0.4853, allocations: 0.628 MB / 0.6255 GB, free: 41.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4855, allocations: 359.8 kB / 0.6258 GB, free: 41.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.4871, allocations: 0.8956 MB / 0.6267 GB, free: 41.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.4895, allocations: 2.769 MB / 0.6294 GB, free: 38.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003882/0.4933, allocations: 4.003 MB / 0.6333 GB, free: 35.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.994e-05/0.4934, allocations: 21.47 kB / 0.6333 GB, free: 35.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005838/0.4993, allocations: 3.559 MB / 0.6368 GB, free: 33.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/0.4993, allocations: 37.89 kB / 0.6368 GB, free: 33.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.001e-05/0.4994, allocations: 66.78 kB / 0.6369 GB, free: 33.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.668e-05/0.4995, allocations: 86.44 kB / 0.637 GB, free: 33.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.5013, allocations: 0.6672 MB / 0.6376 GB, free: 33.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.819e-05/0.5014, allocations: 128.4 kB / 0.6378 GB, free: 33.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.5033, allocations: 431.1 kB / 0.6382 GB, free: 33.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/0.5035, allocations: 190 kB / 0.6383 GB, free: 33.27 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.arrowLine.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 (365): * Single equations (assignments): 360 * 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.001616/0.5052, allocations: 1.376 MB / 0.6397 GB, free: 32.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.5054, allocations: 170 kB / 0.6399 GB, free: 32.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.5057, allocations: 198.6 kB / 0.64 GB, free: 32.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.5057, allocations: 10.44 kB / 0.6401 GB, free: 32.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.5057, allocations: 0 / 0.6401 GB, free: 32.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.5057, allocations: 4.406 kB / 0.6401 GB, free: 32.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005896/0.5116, allocations: 4.143 MB / 0.6441 GB, free: 30.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.5116, allocations: 6.688 kB / 0.6441 GB, free: 30.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.512, allocations: 95.22 kB / 0.6442 GB, free: 30.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.512, allocations: 11.06 kB / 0.6442 GB, free: 30.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.512, allocations: 17.61 kB / 0.6442 GB, free: 30.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.512, allocations: 19.94 kB / 0.6442 GB, free: 30.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.512, allocations: 11.53 kB / 0.6443 GB, free: 30.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.5131, allocations: 1.24 MB / 0.6455 GB, free: 30 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.5135, allocations: 260.8 kB / 0.6457 GB, free: 29.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.5136, allocations: 22.3 kB / 0.6457 GB, free: 29.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.5141, allocations: 25.7 kB / 0.6458 GB, free: 29.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.5142, allocations: 55.61 kB / 0.6458 GB, free: 29.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.5142, allocations: 34.95 kB / 0.6458 GB, free: 29.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001426/0.5156, allocations: 1.283 MB / 0.6471 GB, free: 29.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5156, allocations: 0 / 0.6471 GB, free: 29.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002364/0.518, allocations: 0.7213 MB / 0.6478 GB, free: 28.62 MB / 462.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.001398/0.5194, allocations: 1.848 MB / 0.6496 GB, free: 26.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.5219, allocations: 1.967 MB / 0.6515 GB, free: 24.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.5219, allocations: 0.5 kB / 0.6515 GB, free: 24.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004218/0.5223, allocations: 431.9 kB / 0.6519 GB, free: 24.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.5236, allocations: 252.4 kB / 0.6522 GB, free: 24.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/0.5454, allocations: 21.15 MB / 0.6728 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/0.5482, allocations: 2.322 MB / 0.6751 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002246/0.5504, allocations: 0.9698 MB / 0.6761 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/0.5522, allocations: 1.069 MB / 0.6771 GB, free: 11.99 MB / 478.1 MB Notification: Performance of SimCode: time 1.734e-06/0.5522, allocations: 0 / 0.6771 GB, free: 11.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07202/0.6243, allocations: 33.27 MB / 0.7096 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.49, allocations: 12 kB / 0.7096 GB, free: 10.87 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.765202556736767]