Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,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.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,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.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009336/0.0009337, allocations: 93.44 kB / 16.98 MB, free: 5.941 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.0009767/0.0009766, allocations: 181.4 kB / 17.87 MB, free: 5.609 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.438/1.438, allocations: 223.2 MB / 241.8 MB, free: 360 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2227/0.2227, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004549, allocations: 8 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03034/0.1704, allocations: 32.3 MB / 0.4919 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01946/0.19, allocations: 7.513 MB / 0.4993 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00804/0.1981, allocations: 151.7 kB / 0.4994 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006335/0.2044, allocations: 1.657 MB / 0.501 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2919/0.4964, allocations: 4.704 MB / 0.5056 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.498, allocations: 227.4 kB / 0.5059 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002669/0.5007, allocations: 1.273 MB / 0.5071 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004387/0.5051, allocations: 2.945 MB / 0.51 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009677/0.506, allocations: 0.5537 MB / 0.5105 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009646/0.507, allocations: 0.6972 MB / 0.5112 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.5073, allocations: 87 kB / 0.5113 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5084, allocations: 0.5206 MB / 0.5118 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000967/0.5093, allocations: 0.9155 MB / 0.5127 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005675/0.5099, allocations: 0.5237 MB / 0.5132 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004289/0.5142, allocations: 3.419 MB / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5142, allocations: 1.469 kB / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5142, allocations: 0 / 0.5165 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000142/0.5144, allocations: 4 kB / 0.5165 GB, free: 10.91 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.006976/0.5214, allocations: 2.497 MB / 0.519 GB, free: 9.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5214, allocations: 14.22 kB / 0.519 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006712/0.5282, allocations: 1.917 MB / 0.5209 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004404/0.5326, allocations: 1.322 MB / 0.5222 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.5328, allocations: 152.5 kB / 0.5223 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006893/0.5335, allocations: 187.7 kB / 0.5225 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.5451, allocations: 6.46 MB / 0.5288 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.045e-05/0.5452, allocations: 13.5 kB / 0.5288 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.5455, allocations: 87.75 kB / 0.5289 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002214/0.5477, allocations: 1.401 MB / 0.5302 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.5578, allocations: 5.527 MB / 0.5356 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03008/0.588, allocations: 20.59 MB / 0.5558 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/0.593, allocations: 2.08 MB / 0.5578 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008082/0.6011, allocations: 3.537 MB / 0.5612 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.6012, allocations: 38.3 kB / 0.5613 GB, free: 1.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=78): time 4.939e-06/0.6012, allocations: 4 kB / 0.5613 GB, free: 1.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=78): time 0.005524/0.6068, allocations: 2.234 MB / 0.5635 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.6068, allocations: 55.84 kB / 0.5635 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.6099, allocations: 1.957 MB / 0.5654 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.61, allocations: 31.02 kB / 0.5655 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.6113, allocations: 1.878 MB / 0.5673 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/0.6116, allocations: 319.4 kB / 0.5676 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.6117, allocations: 60.53 kB / 0.5677 GB, free: 12.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002846/0.612, allocations: 496.3 kB / 0.5681 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.6133, allocations: 0.8828 MB / 0.569 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/0.6159, allocations: 2.75 MB / 0.5717 GB, free: 7.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.6179, allocations: 1.562 MB / 0.5732 GB, free: 6.527 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.017e-05/0.6179, allocations: 16 kB / 0.5732 GB, free: 6.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005192/0.6231, allocations: 3.528 MB / 0.5767 GB, free: 3.371 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.6232, allocations: 32 kB / 0.5767 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.352e-05/0.6233, allocations: 68 kB / 0.5768 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.6234, allocations: 96 kB / 0.5768 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.6253, allocations: 0.6645 MB / 0.5775 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001182/0.6255, allocations: 128.6 kB / 0.5776 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.6276, allocations: 433.1 kB / 0.578 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.6279, allocations: 184 kB / 0.5782 GB, free: 1.879 MB / 414.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.002479/0.6304, allocations: 1.371 MB / 0.5795 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.6306, allocations: 157.9 kB / 0.5797 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.631, allocations: 201.2 kB / 0.5799 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.631, allocations: 11.94 kB / 0.5799 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.6311, allocations: 4 kB / 0.5799 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.6311, allocations: 3.984 kB / 0.5799 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006878/0.638, allocations: 4.135 MB / 0.5839 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.638, allocations: 4 kB / 0.5839 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.6384, allocations: 100.8 kB / 0.584 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/0.6384, allocations: 12 kB / 0.5841 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.6385, allocations: 20 kB / 0.5841 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.6385, allocations: 11.97 kB / 0.5841 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.6385, allocations: 15.17 kB / 0.5841 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.6403, allocations: 1.652 MB / 0.5857 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/0.6408, allocations: 262.6 kB / 0.586 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.641, allocations: 19.98 kB / 0.586 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.6415, allocations: 27.98 kB / 0.586 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.6416, allocations: 46.16 kB / 0.5861 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.6417, allocations: 35.94 kB / 0.5861 GB, free: 9.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001967/0.6436, allocations: 1.274 MB / 0.5873 GB, free: 8.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6436, allocations: 4 kB / 0.5873 GB, free: 8.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002966/0.6466, allocations: 0.7063 MB / 0.588 GB, free: 7.523 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.0003169/0.6469, allocations: 139.5 kB / 0.5882 GB, free: 7.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003086/0.65, allocations: 2.024 MB / 0.5901 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6501, allocations: 1.812 kB / 0.5901 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.6506, allocations: 457.2 kB / 0.5906 GB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.6516, allocations: 230.2 kB / 0.5908 GB, free: 4.859 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009982/0.6616, allocations: 6.232 MB / 0.5969 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002562/0.6642, allocations: 2.371 MB / 0.5992 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002398/0.6667, allocations: 0.9716 MB / 0.6001 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.667, allocations: 115.4 kB / 0.6003 GB, free: 11.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.667, allocations: 0 / 0.6003 GB, free: 11.04 MB / 446.1 MB Notification: Performance of Templates: time 0.03249/0.6995, allocations: 13.62 MB / 0.6136 GB, free: 13.52 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches