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.001043/0.001043, allocations: 97.44 kB / 17.35 MB, free: 6.371 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.0011/0.001101, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.401/1.401, allocations: 223.3 MB / 242.3 MB, free: 14.52 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.2295/0.2295, allocations: 44.24 MB / 337.7 MB, free: 2.449 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1473, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.04125/0.1886, allocations: 36.63 MB / 0.497 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01915/0.2078, allocations: 7.529 MB / 0.5043 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006902/0.2148, allocations: 151.7 kB / 0.5045 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.2161, allocations: 306.6 kB / 0.5047 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3038/0.5199, allocations: 1.06 MB / 0.5058 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008528/0.5208, allocations: 273.5 kB / 0.506 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005398/0.5262, allocations: 3.399 MB / 0.5094 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005653/0.5319, allocations: 3.346 MB / 0.5126 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.5335, allocations: 0.6451 MB / 0.5133 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.5353, allocations: 1.052 MB / 0.5143 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000271/0.5356, allocations: 91.19 kB / 0.5144 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.5371, allocations: 0.6358 MB / 0.515 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.5384, allocations: 1.026 MB / 0.516 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.5396, allocations: 1.226 MB / 0.5172 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005539/0.5451, allocations: 4.117 MB / 0.5212 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5452, allocations: 5.172 kB / 0.5212 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5452, allocations: 0 / 0.5212 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001734/0.5454, allocations: 0 / 0.5212 GB, free: 8.574 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.007516/0.5529, allocations: 2.418 MB / 0.5236 GB, free: 6.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.553, allocations: 12.97 kB / 0.5236 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005436/0.5584, allocations: 1.629 MB / 0.5252 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.561, allocations: 1.333 MB / 0.5265 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.5612, allocations: 152.2 kB / 0.5266 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003997/0.5616, allocations: 202.1 kB / 0.5268 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.573, allocations: 6.432 MB / 0.5331 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/0.5731, allocations: 13.12 kB / 0.5331 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000279/0.5734, allocations: 91.02 kB / 0.5332 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/0.5756, allocations: 1.41 MB / 0.5346 GB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.5868, allocations: 5.486 MB / 0.5399 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/0.6191, allocations: 20.57 MB / 0.56 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004845/0.624, allocations: 2.089 MB / 0.5621 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.625, allocations: 0.6889 MB / 0.5627 GB, free: 7.898 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006369/0.6314, allocations: 3.505 MB / 0.5662 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.6315, allocations: 39 kB / 0.5662 GB, free: 4.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/0.6315, allocations: 0 / 0.5662 GB, free: 4.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005485/0.637, allocations: 1.992 MB / 0.5681 GB, free: 2.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.6371, allocations: 55.84 kB / 0.5682 GB, free: 2.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004145/0.6412, allocations: 1.962 MB / 0.5701 GB, free: 208 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.379e-05/0.6413, allocations: 33.7 kB / 0.5701 GB, free: 168 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.6428, allocations: 1.892 MB / 0.572 GB, free: 14.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.6432, allocations: 314.7 kB / 0.5723 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003799/0.6436, allocations: 284.2 kB / 0.5726 GB, free: 13.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.6438, allocations: 353.9 kB / 0.5729 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.6453, allocations: 0.8959 MB / 0.5738 GB, free: 12.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/0.6483, allocations: 2.767 MB / 0.5765 GB, free: 8.797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004572/0.6528, allocations: 3.993 MB / 0.5804 GB, free: 4.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.734e-05/0.6529, allocations: 16 kB / 0.5804 GB, free: 4.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005593/0.6585, allocations: 3.563 MB / 0.5839 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.6586, allocations: 34.66 kB / 0.5839 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.396e-05/0.6586, allocations: 72 kB / 0.584 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.529e-05/0.6587, allocations: 91.94 kB / 0.5841 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.6605, allocations: 0.6586 MB / 0.5847 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.79e-05/0.6607, allocations: 127.9 kB / 0.5848 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.663, allocations: 427.7 kB / 0.5852 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.6633, allocations: 184 kB / 0.5854 GB, free: 15.48 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.002737/0.666, allocations: 1.373 MB / 0.5867 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.6663, allocations: 161.8 kB / 0.5869 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.6667, allocations: 201.2 kB / 0.5871 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/0.6667, allocations: 19.92 kB / 0.5871 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.6668, allocations: 0 / 0.5871 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.6668, allocations: 0 / 0.5871 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006939/0.6737, allocations: 4.142 MB / 0.5912 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.6738, allocations: 8.125 kB / 0.5912 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.6741, allocations: 95.83 kB / 0.5913 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.6742, allocations: 8 kB / 0.5913 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/0.6742, allocations: 19.98 kB / 0.5913 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.6742, allocations: 10.72 kB / 0.5913 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.6742, allocations: 10.16 kB / 0.5913 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.6758, allocations: 1.248 MB / 0.5925 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.6762, allocations: 254.7 kB / 0.5928 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.6764, allocations: 23.98 kB / 0.5928 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.6769, allocations: 27.89 kB / 0.5928 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.688e-05/0.677, allocations: 49.05 kB / 0.5929 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.254e-05/0.677, allocations: 31.98 kB / 0.5929 GB, free: 7.684 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002064/0.6791, allocations: 1.287 MB / 0.5942 GB, free: 6.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6791, allocations: 0 / 0.5942 GB, free: 6.406 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002731/0.6819, allocations: 0.7034 MB / 0.5948 GB, free: 5.707 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.0002987/0.6822, allocations: 147 kB / 0.595 GB, free: 5.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002984/0.6852, allocations: 2.035 MB / 0.597 GB, free: 3.723 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.6852, allocations: 0 / 0.597 GB, free: 3.723 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.6858, allocations: 457.2 kB / 0.5974 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.6882, allocations: 244.5 kB / 0.5976 GB, free: 3.062 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009775/0.698, allocations: 6.528 MB / 0.604 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002435/0.7005, allocations: 2.32 MB / 0.6063 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002315/0.7028, allocations: 0.9599 MB / 0.6072 GB, free: 9.125 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.7031, allocations: 119.4 kB / 0.6073 GB, free: 9.012 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.7031, allocations: 3.938 kB / 0.6073 GB, free: 9.008 MB / 462.1 MB Notification: Performance of Templates: time 0.02915/0.7322, allocations: 13.87 MB / 0.6209 GB, free: 11.25 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches