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.001024/0.001024, allocations: 98.47 kB / 17 MB, free: 6.402 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.001231/0.001231, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.463/1.463, allocations: 223.3 MB / 241.9 MB, free: 14.6 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.2139/0.2139, allocations: 44.24 MB / 337.3 MB, free: 2.547 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 61.95 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03235/0.1679, allocations: 34.1 MB / 0.4939 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01781/0.1858, allocations: 7.195 MB / 0.5009 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006924/0.1928, allocations: 159.6 kB / 0.501 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005311/0.1981, allocations: 1.501 MB / 0.5025 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.252/0.4501, allocations: 4.388 MB / 0.5068 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.4522, allocations: 250.2 kB / 0.507 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005263/0.4574, allocations: 2.626 MB / 0.5096 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005069/0.4625, allocations: 2.974 MB / 0.5125 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.464, allocations: 0.6864 MB / 0.5132 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.4657, allocations: 1.027 MB / 0.5142 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002878/0.466, allocations: 89.94 kB / 0.5142 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.4672, allocations: 0.5291 MB / 0.5148 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001395/0.4686, allocations: 0.9926 MB / 0.5157 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006194/0.4692, allocations: 0.523 MB / 0.5162 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003945/0.4732, allocations: 3.419 MB / 0.5196 GB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4732, allocations: 2.938 kB / 0.5196 GB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4732, allocations: 0 / 0.5196 GB, free: 10.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001544/0.4734, allocations: 0 / 0.5196 GB, free: 10.61 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.005835/0.4792, allocations: 2.454 MB / 0.522 GB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4793, allocations: 8.781 kB / 0.522 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.4842, allocations: 1.631 MB / 0.5236 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.4872, allocations: 1.314 MB / 0.5249 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.4873, allocations: 152.4 kB / 0.525 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003997/0.4877, allocations: 195.8 kB / 0.5252 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009637/0.4974, allocations: 6.412 MB / 0.5315 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.576e-05/0.4975, allocations: 16.53 kB / 0.5315 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/0.4977, allocations: 90.59 kB / 0.5316 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002078/0.4998, allocations: 1.405 MB / 0.5329 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.5099, allocations: 5.467 MB / 0.5383 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02869/0.5386, allocations: 20.56 MB / 0.5584 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004535/0.5432, allocations: 2.077 MB / 0.5604 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.5444, allocations: 0.6863 MB / 0.561 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006567/0.551, allocations: 3.514 MB / 0.5645 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.5511, allocations: 36.09 kB / 0.5645 GB, free: 15.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 4.409e-06/0.5511, allocations: 0 / 0.5645 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005653/0.5568, allocations: 1.969 MB / 0.5664 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.5569, allocations: 59.84 kB / 0.5665 GB, free: 13.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003855/0.5607, allocations: 1.954 MB / 0.5684 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.5608, allocations: 37.7 kB / 0.5684 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.5622, allocations: 1.877 MB / 0.5703 GB, free: 9.219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003534/0.5626, allocations: 316.2 kB / 0.5706 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.5628, allocations: 56 kB / 0.5706 GB, free: 8.859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003346/0.5631, allocations: 0.4934 MB / 0.5711 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.5646, allocations: 0.8725 MB / 0.572 GB, free: 7.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/0.5673, allocations: 2.768 MB / 0.5747 GB, free: 3.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/0.5696, allocations: 1.555 MB / 0.5762 GB, free: 2.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.286e-05/0.5696, allocations: 20 kB / 0.5762 GB, free: 2.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005668/0.5753, allocations: 3.53 MB / 0.5797 GB, free: 15.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/0.5754, allocations: 32 kB / 0.5797 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-05/0.5755, allocations: 68.09 kB / 0.5797 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.5756, allocations: 100 kB / 0.5798 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.5775, allocations: 0.6667 MB / 0.5805 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001163/0.5776, allocations: 127.5 kB / 0.5806 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.5797, allocations: 421 kB / 0.581 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/0.58, allocations: 192 kB / 0.5812 GB, free: 13.5 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002505/0.5825, allocations: 1.376 MB / 0.5825 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.5828, allocations: 153.9 kB / 0.5827 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.5832, allocations: 197.2 kB / 0.5829 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.5833, allocations: 8 kB / 0.5829 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.5833, allocations: 0 / 0.5829 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5833, allocations: 0 / 0.5829 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008509/0.5918, allocations: 4.148 MB / 0.5869 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.5918, allocations: 4 kB / 0.5869 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.5922, allocations: 95.89 kB / 0.587 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/0.5923, allocations: 9.641 kB / 0.587 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.5923, allocations: 27.19 kB / 0.5871 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-05/0.5924, allocations: 11.94 kB / 0.5871 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.5924, allocations: 8.406 kB / 0.5871 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.5939, allocations: 1.238 MB / 0.5883 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.5945, allocations: 258.6 kB / 0.5885 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.5948, allocations: 31.98 kB / 0.5886 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005462/0.5954, allocations: 19.98 kB / 0.5886 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.5955, allocations: 55.78 kB / 0.5886 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.956e-05/0.5956, allocations: 31.98 kB / 0.5887 GB, free: 5.598 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002142/0.5977, allocations: 1.271 MB / 0.5899 GB, free: 4.336 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5977, allocations: 0 / 0.5899 GB, free: 4.336 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003045/0.6008, allocations: 0.7107 MB / 0.5906 GB, free: 3.629 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003976/0.6012, allocations: 139.5 kB / 0.5907 GB, free: 3.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003559/0.6047, allocations: 2.026 MB / 0.5927 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.6048, allocations: 384 / 0.5927 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.6054, allocations: 459.9 kB / 0.5932 GB, free: 1.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.6069, allocations: 237.8 kB / 0.5934 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.617, allocations: 6.25 MB / 0.5995 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002388/0.6194, allocations: 2.318 MB / 0.6018 GB, free: 8.086 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002368/0.6218, allocations: 0.9715 MB / 0.6027 GB, free: 7.109 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.6221, allocations: 123.4 kB / 0.6028 GB, free: 6.988 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6221, allocations: 0 / 0.6028 GB, free: 6.988 MB / 446.1 MB Notification: Performance of Templates: time 0.0299/0.652, allocations: 13.63 MB / 0.6161 GB, free: 9.453 MB / 462.1 MB 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