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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 106.2 kB / 17.21 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241.8 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2013/0.2013, allocations: 44.17 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.61 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1063, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03494/0.1413, allocations: 37.69 MB / 0.4945 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.1561, allocations: 7.58 MB / 0.5019 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005159/0.1613, allocations: 151.7 kB / 0.502 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.219/0.3803, allocations: 1.984 MB / 0.5039 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.3831, allocations: 1.074 MB / 0.505 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.3838, allocations: 263.4 kB / 0.5052 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003769/0.3875, allocations: 3.404 MB / 0.5086 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002673/0.3902, allocations: 2.317 MB / 0.5108 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.3913, allocations: 0.7952 MB / 0.5116 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.3929, allocations: 1.246 MB / 0.5128 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003903/0.3933, allocations: 151.2 kB / 0.513 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.3945, allocations: 0.697 MB / 0.5136 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008885/0.3954, allocations: 1.116 MB / 0.5147 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.3964, allocations: 1.305 MB / 0.516 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00378/0.4002, allocations: 4.255 MB / 0.5202 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4002, allocations: 1.375 kB / 0.5202 GB, free: 9.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4002, allocations: 0 / 0.5202 GB, free: 9.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.878e-05/0.4003, allocations: 0 / 0.5202 GB, free: 9.484 MB / 382.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.004776/0.4051, allocations: 2.946 MB / 0.523 GB, free: 7.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.4051, allocations: 9.562 kB / 0.5231 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005373/0.4057, allocations: 496.8 kB / 0.5235 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00453/0.4102, allocations: 1.583 MB / 0.5251 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.4124, allocations: 1.348 MB / 0.5264 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.4126, allocations: 144.8 kB / 0.5265 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003613/0.4129, allocations: 199.4 kB / 0.5267 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.4231, allocations: 6.431 MB / 0.533 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/0.4232, allocations: 17.55 kB / 0.533 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.4234, allocations: 89.92 kB / 0.5331 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00188/0.4253, allocations: 1.402 MB / 0.5345 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009852/0.4352, allocations: 5.49 MB / 0.5398 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02787/0.4631, allocations: 20.56 MB / 0.5599 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00422/0.4673, allocations: 2.082 MB / 0.5619 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009175/0.4683, allocations: 0.6953 MB / 0.5626 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006051/0.4743, allocations: 3.503 MB / 0.566 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4744, allocations: 42 kB / 0.5661 GB, free: 2.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.086e-06/0.4744, allocations: 0 / 0.5661 GB, free: 2.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005331/0.4797, allocations: 1.984 MB / 0.568 GB, free: 272 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.4798, allocations: 55.84 kB / 0.5681 GB, free: 200 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003975/0.4838, allocations: 1.962 MB / 0.57 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.891e-05/0.4839, allocations: 37.7 kB / 0.57 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001814/0.4857, allocations: 1.882 MB / 0.5719 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.4862, allocations: 311.9 kB / 0.5722 GB, free: 12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.4873, allocations: 0.6262 MB / 0.5728 GB, free: 11.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002946/0.4876, allocations: 357.9 kB / 0.5731 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.4891, allocations: 0.8881 MB / 0.574 GB, free: 10.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/0.4921, allocations: 2.773 MB / 0.5767 GB, free: 6.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00456/0.4967, allocations: 4.003 MB / 0.5806 GB, free: 1.781 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-05/0.4968, allocations: 16 kB / 0.5806 GB, free: 1.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005926/0.5027, allocations: 3.549 MB / 0.5841 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/0.5028, allocations: 32 kB / 0.5841 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/0.5029, allocations: 68 kB / 0.5842 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.503, allocations: 95.92 kB / 0.5843 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.505, allocations: 0.6571 MB / 0.5849 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001267/0.5051, allocations: 133.1 kB / 0.585 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.5073, allocations: 430.3 kB / 0.5854 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/0.5077, allocations: 184 kB / 0.5856 GB, free: 13.12 MB / 446.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.002373/0.5101, allocations: 1.376 MB / 0.587 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.5104, allocations: 157.9 kB / 0.5871 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.5108, allocations: 189.2 kB / 0.5873 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.5108, allocations: 19.94 kB / 0.5873 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.5108, allocations: 0 / 0.5873 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5108, allocations: 3.984 kB / 0.5873 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008703/0.5195, allocations: 4.136 MB / 0.5914 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.5196, allocations: 8 kB / 0.5914 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.52, allocations: 103.9 kB / 0.5915 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.52, allocations: 12 kB / 0.5915 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.5201, allocations: 22.34 kB / 0.5915 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.539e-05/0.5201, allocations: 15.08 kB / 0.5915 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.5201, allocations: 11 kB / 0.5915 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.5218, allocations: 1.239 MB / 0.5927 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/0.5224, allocations: 250.7 kB / 0.593 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/0.5227, allocations: 12 kB / 0.593 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.5233, allocations: 35.88 kB / 0.593 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/0.5234, allocations: 49.23 kB / 0.5931 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/0.5235, allocations: 30.19 kB / 0.5931 GB, free: 5.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00192/0.5254, allocations: 1.287 MB / 0.5943 GB, free: 4.062 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5254, allocations: 0 / 0.5943 GB, free: 4.062 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002783/0.5282, allocations: 0.7076 MB / 0.595 GB, free: 3.352 MB / 446.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.002089/0.5303, allocations: 1.854 MB / 0.5968 GB, free: 1.414 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003206/0.5335, allocations: 2.03 MB / 0.5988 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5335, allocations: 0 / 0.5988 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.5341, allocations: 456.8 kB / 0.5993 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.5354, allocations: 236.8 kB / 0.5995 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03703/0.5724, allocations: 23.58 MB / 0.6225 GB, free: 4.504 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003825/0.5763, allocations: 2.316 MB / 0.6248 GB, free: 2.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002447/0.5788, allocations: 0.9638 MB / 0.6257 GB, free: 1.191 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/0.5805, allocations: 1.077 MB / 0.6268 GB, free: 116 kB / 478.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5805, allocations: 0 / 0.6268 GB, free: 116 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/0.6385, allocations: 31.86 MB / 0.6579 GB, free: 428 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.6387, allocations: 197.5 kB / 0.6581 GB, free: 168 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.275, allocations: 0 / 0.6581 GB, free: 168 kB / 0.4981 GB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches