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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 106.5 kB / 17.77 MB, free: 5.273 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.0009818/0.0009817, allocations: 195 kB / 18.71 MB, free: 4.348 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.417/1.417, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2219/0.2219, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3515, allocations: 60.83 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01056/0.3621, allocations: 9.731 MB / 0.5284 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008825/0.371, allocations: 2.924 MB / 0.5313 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.3728, allocations: 54.16 kB / 0.5313 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003833/0.3766, allocations: 1.991 MB / 0.5332 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.3797, allocations: 1.132 MB / 0.5344 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.3805, allocations: 294.1 kB / 0.5346 GB, free: 8.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004329/0.3848, allocations: 2.325 MB / 0.5369 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003826/0.3887, allocations: 2.332 MB / 0.5392 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.3904, allocations: 0.8997 MB / 0.5401 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.3922, allocations: 1.176 MB / 0.5412 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004651/0.3927, allocations: 197.6 kB / 0.5414 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.3943, allocations: 0.7008 MB / 0.5421 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.3954, allocations: 1.165 MB / 0.5432 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.3968, allocations: 1.351 MB / 0.5445 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005097/0.4019, allocations: 4.455 MB / 0.5489 GB, free: 13.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.402, allocations: 0 / 0.5489 GB, free: 13.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.402, allocations: 0 / 0.5489 GB, free: 13.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001033/0.4021, allocations: 0 / 0.5489 GB, free: 13.21 MB / 414.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.005187/0.4073, allocations: 2.935 MB / 0.5518 GB, free: 10.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4073, allocations: 16.03 kB / 0.5518 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004863/0.4122, allocations: 1.58 MB / 0.5533 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.415, allocations: 1.363 MB / 0.5546 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.4152, allocations: 152 kB / 0.5548 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.4155, allocations: 191.8 kB / 0.555 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.4257, allocations: 6.432 MB / 0.5613 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/0.4258, allocations: 15.88 kB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.426, allocations: 87.89 kB / 0.5614 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002081/0.4281, allocations: 1.411 MB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.4387, allocations: 5.484 MB / 0.5681 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03082/0.4695, allocations: 20.42 MB / 0.588 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/0.4743, allocations: 2.081 MB / 0.5901 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.4754, allocations: 0.6914 MB / 0.5907 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006515/0.4819, allocations: 3.491 MB / 0.5941 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.482, allocations: 39 kB / 0.5942 GB, free: 13.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.448e-06/0.482, allocations: 0 / 0.5942 GB, free: 13.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005825/0.4879, allocations: 1.985 MB / 0.5961 GB, free: 11.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.488, allocations: 59.84 kB / 0.5962 GB, free: 11.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004387/0.4924, allocations: 1.962 MB / 0.5981 GB, free: 9.523 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.4925, allocations: 37.64 kB / 0.5981 GB, free: 9.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001866/0.4943, allocations: 1.887 MB / 0.6 GB, free: 7.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005665/0.4949, allocations: 312.1 kB / 0.6003 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.4962, allocations: 0.6269 MB / 0.6009 GB, free: 6.617 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.4964, allocations: 353.9 kB / 0.6012 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.498, allocations: 0.892 MB / 0.6021 GB, free: 5.371 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00353/0.5015, allocations: 2.778 MB / 0.6048 GB, free: 1.652 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00506/0.5066, allocations: 3.995 MB / 0.6087 GB, free: 12.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.539e-05/0.5067, allocations: 20 kB / 0.6087 GB, free: 12.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005978/0.5127, allocations: 3.549 MB / 0.6122 GB, free: 9.141 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.5128, allocations: 36.92 kB / 0.6122 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.5129, allocations: 68 kB / 0.6123 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.513, allocations: 91.94 kB / 0.6124 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001956/0.515, allocations: 0.659 MB / 0.613 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001248/0.5151, allocations: 131.4 kB / 0.6131 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.5173, allocations: 427.5 kB / 0.6136 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.5176, allocations: 180 kB / 0.6137 GB, free: 7.562 MB / 478.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.0021/0.5197, allocations: 1.381 MB / 0.6151 GB, free: 6.176 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.52, allocations: 161.8 kB / 0.6152 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.5204, allocations: 197.2 kB / 0.6154 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.5204, allocations: 12 kB / 0.6154 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5204, allocations: 0 / 0.6154 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.5205, allocations: 3.984 kB / 0.6154 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/0.5281, allocations: 4.13 MB / 0.6195 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.5282, allocations: 8 kB / 0.6195 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.5286, allocations: 95.81 kB / 0.6196 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.382e-05/0.5286, allocations: 8 kB / 0.6196 GB, free: 1.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.5287, allocations: 23.94 kB / 0.6196 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.576e-05/0.5287, allocations: 15.92 kB / 0.6196 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.5287, allocations: 8 kB / 0.6196 GB, free: 1.383 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.5304, allocations: 1.242 MB / 0.6208 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.5309, allocations: 254.7 kB / 0.6211 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/0.5313, allocations: 16 kB / 0.6211 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/0.5318, allocations: 27.97 kB / 0.6211 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.532, allocations: 59.81 kB / 0.6212 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/0.532, allocations: 28 kB / 0.6212 GB, free: 15.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002023/0.5341, allocations: 1.283 MB / 0.6225 GB, free: 14.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5341, allocations: 0 / 0.6225 GB, free: 14.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003136/0.5372, allocations: 0.7076 MB / 0.6231 GB, free: 13.66 MB / 494.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.0004154/0.5376, allocations: 147 kB / 0.6233 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003384/0.541, allocations: 2.057 MB / 0.6253 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.5411, allocations: 4 kB / 0.6253 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005848/0.5416, allocations: 461 kB / 0.6257 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.543, allocations: 248.9 kB / 0.626 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009698/0.5527, allocations: 5.107 MB / 0.631 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003285/0.5561, allocations: 2.319 MB / 0.6332 GB, free: 3.211 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002208/0.5583, allocations: 0.9677 MB / 0.6342 GB, free: 2.238 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.5587, allocations: 115.4 kB / 0.6343 GB, free: 2.125 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5587, allocations: 0 / 0.6343 GB, free: 2.125 MB / 494.1 MB Notification: Performance of Templates: time 0.03473/0.5935, allocations: 15.06 MB / 0.649 GB, free: 3.102 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins/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