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.00139/0.00139, allocations: 114.5 kB / 17.78 MB, free: 5.262 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.001533/0.001533, allocations: 187.7 kB / 18.72 MB, free: 4.332 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2078/0.2078, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3989, allocations: 60.81 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.0101/0.409, allocations: 9.75 MB / 0.5284 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006646/0.4157, allocations: 2.923 MB / 0.5313 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.4176, allocations: 52.97 kB / 0.5313 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00418/0.4219, allocations: 1.992 MB / 0.5333 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003109/0.425, allocations: 1.136 MB / 0.5344 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009176/0.4259, allocations: 285.8 kB / 0.5346 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003953/0.4299, allocations: 2.33 MB / 0.5369 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004382/0.4343, allocations: 2.323 MB / 0.5392 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.4365, allocations: 0.9081 MB / 0.5401 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.4388, allocations: 1.175 MB / 0.5412 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007728/0.4396, allocations: 201.1 kB / 0.5414 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.4415, allocations: 0.6982 MB / 0.5421 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002058/0.4436, allocations: 1.145 MB / 0.5432 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00364/0.4473, allocations: 1.355 MB / 0.5445 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006609/0.4539, allocations: 4.459 MB / 0.5489 GB, free: 13.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.454, allocations: 0 / 0.5489 GB, free: 13.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.454, allocations: 0 / 0.5489 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001842/0.4542, allocations: 0 / 0.5489 GB, free: 13.25 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.007938/0.4621, allocations: 3.024 MB / 0.5518 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4622, allocations: 8.031 kB / 0.5518 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/0.4676, allocations: 1.61 MB / 0.5534 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/0.4706, allocations: 1.352 MB / 0.5547 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.4708, allocations: 156.1 kB / 0.5549 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007265/0.4715, allocations: 195.8 kB / 0.5551 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.4839, allocations: 6.428 MB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.59e-05/0.484, allocations: 15.88 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007636/0.4848, allocations: 91.89 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002489/0.4873, allocations: 1.403 MB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/0.4995, allocations: 5.484 MB / 0.5682 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03256/0.5321, allocations: 20.47 MB / 0.5882 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004793/0.537, allocations: 2.084 MB / 0.5902 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.538, allocations: 0.6914 MB / 0.5909 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006494/0.5446, allocations: 3.523 MB / 0.5943 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.5446, allocations: 35 kB / 0.5944 GB, free: 13.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 3.206e-06/0.5446, allocations: 4 kB / 0.5944 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.005469/0.5501, allocations: 1.978 MB / 0.5963 GB, free: 11.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.5502, allocations: 67.83 kB / 0.5964 GB, free: 11.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/0.5539, allocations: 1.963 MB / 0.5983 GB, free: 9.379 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.554, allocations: 33.7 kB / 0.5983 GB, free: 9.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.5555, allocations: 1.954 MB / 0.6002 GB, free: 7.363 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003585/0.5559, allocations: 333.5 kB / 0.6005 GB, free: 7.035 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000993/0.5569, allocations: 0.6313 MB / 0.6011 GB, free: 6.395 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.5571, allocations: 353.9 kB / 0.6015 GB, free: 6.043 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.5585, allocations: 0.892 MB / 0.6024 GB, free: 5.148 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/0.5613, allocations: 2.774 MB / 0.6051 GB, free: 1.434 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004493/0.5658, allocations: 3.996 MB / 0.609 GB, free: 12.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.568e-05/0.5659, allocations: 20 kB / 0.609 GB, free: 12.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005887/0.5718, allocations: 3.555 MB / 0.6125 GB, free: 8.918 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/0.5719, allocations: 36 kB / 0.6125 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/0.572, allocations: 67.94 kB / 0.6126 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001125/0.5721, allocations: 91.94 kB / 0.6126 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.5741, allocations: 0.6589 MB / 0.6133 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001333/0.5743, allocations: 135.4 kB / 0.6134 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.5765, allocations: 428.8 kB / 0.6138 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/0.5769, allocations: 200 kB / 0.614 GB, free: 7.316 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.002127/0.579, allocations: 1.365 MB / 0.6154 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.5793, allocations: 170.8 kB / 0.6155 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.5798, allocations: 205.1 kB / 0.6157 GB, free: 5.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.5798, allocations: 8 kB / 0.6157 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.5798, allocations: 0 / 0.6157 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.5799, allocations: 7.969 kB / 0.6157 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007939/0.5878, allocations: 4.149 MB / 0.6198 GB, free: 1.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.5879, allocations: 4 kB / 0.6198 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.5883, allocations: 95.81 kB / 0.6199 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.5883, allocations: 8 kB / 0.6199 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.5883, allocations: 20.66 kB / 0.6199 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.03e-05/0.5884, allocations: 11.94 kB / 0.6199 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.5884, allocations: 16 kB / 0.6199 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.5902, allocations: 1.251 MB / 0.6211 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.5908, allocations: 255.7 kB / 0.6214 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.5911, allocations: 15.98 kB / 0.6214 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.5918, allocations: 27.98 kB / 0.6214 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.5919, allocations: 51.83 kB / 0.6215 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/0.592, allocations: 35.97 kB / 0.6215 GB, free: 15.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002196/0.5942, allocations: 1.287 MB / 0.6228 GB, free: 14.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5942, allocations: 0 / 0.6228 GB, free: 14.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003363/0.5975, allocations: 0.7163 MB / 0.6235 GB, free: 13.38 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.0004526/0.598, allocations: 139 kB / 0.6236 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003641/0.6017, allocations: 2.062 MB / 0.6256 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6017, allocations: 4.062 kB / 0.6256 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000556/0.6022, allocations: 451.9 kB / 0.6261 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.6038, allocations: 244.9 kB / 0.6263 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009762/0.6136, allocations: 5.203 MB / 0.6314 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002449/0.6161, allocations: 2.319 MB / 0.6336 GB, free: 2.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002004/0.6181, allocations: 0.9638 MB / 0.6346 GB, free: 1.871 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.6184, allocations: 123.4 kB / 0.6347 GB, free: 1.75 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6184, allocations: 0 / 0.6347 GB, free: 1.75 MB / 494.1 MB Notification: Performance of Templates: time 0.0315/0.6499, allocations: 15.34 MB / 0.6497 GB, free: 2.449 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