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.00137/0.00137, allocations: 106.3 kB / 17.98 MB, free: 5.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.001472/0.001472, allocations: 189.3 kB / 18.9 MB, free: 4.48 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.421/1.421, allocations: 222.9 MB / 242.6 MB, free: 15.45 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.2102/0.2102, allocations: 44.18 MB / 336.9 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.28 kB / 408.5 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1102, allocations: 60.83 MB / 469.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.03598/0.1462, allocations: 37.69 MB / 0.4952 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01689/0.1632, allocations: 7.529 MB / 0.5025 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006544/0.1698, allocations: 155.7 kB / 0.5027 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2238/0.3936, allocations: 1.917 MB / 0.5046 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003088/0.3967, allocations: 1.061 MB / 0.5056 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.3975, allocations: 272.4 kB / 0.5058 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003681/0.4012, allocations: 2.353 MB / 0.5081 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003256/0.4045, allocations: 2.444 MB / 0.5105 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.4062, allocations: 0.9131 MB / 0.5114 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.4082, allocations: 1.285 MB / 0.5127 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005245/0.4088, allocations: 201.4 kB / 0.5129 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.4105, allocations: 0.7079 MB / 0.5136 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.4119, allocations: 1.158 MB / 0.5147 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.4135, allocations: 1.364 MB / 0.516 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.4173, allocations: 3.54 MB / 0.5195 GB, free: 9.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4173, allocations: 1.156 kB / 0.5195 GB, free: 9.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4174, allocations: 0 / 0.5195 GB, free: 9.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001204/0.4175, allocations: 0 / 0.5195 GB, free: 9.293 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.00654/0.424, allocations: 2.945 MB / 0.5224 GB, free: 7.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4241, allocations: 9.094 kB / 0.5224 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/0.4293, allocations: 1.589 MB / 0.5239 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.4325, allocations: 1.344 MB / 0.5252 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.4327, allocations: 147.4 kB / 0.5254 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000561/0.4332, allocations: 190.1 kB / 0.5256 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.4436, allocations: 6.434 MB / 0.5318 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/0.4437, allocations: 13.03 kB / 0.5319 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.444, allocations: 92.17 kB / 0.5319 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001854/0.4458, allocations: 1.403 MB / 0.5333 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.456, allocations: 5.492 MB / 0.5387 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03234/0.4884, allocations: 20.55 MB / 0.5587 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004772/0.4932, allocations: 2.09 MB / 0.5608 GB, free: 8.379 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.4944, allocations: 0.6944 MB / 0.5615 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006853/0.5013, allocations: 3.508 MB / 0.5649 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.5014, allocations: 39 kB / 0.5649 GB, free: 4.012 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 5.22e-06/0.5014, allocations: 0 / 0.5649 GB, free: 4.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005623/0.507, allocations: 1.98 MB / 0.5669 GB, free: 2.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.5071, allocations: 63.78 kB / 0.5669 GB, free: 1.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003959/0.5111, allocations: 1.962 MB / 0.5688 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.5112, allocations: 37.7 kB / 0.5689 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.5129, allocations: 1.88 MB / 0.5707 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/0.5134, allocations: 310 kB / 0.571 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/0.5146, allocations: 0.6226 MB / 0.5716 GB, free: 13.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.5148, allocations: 357.9 kB / 0.572 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.5163, allocations: 0.8881 MB / 0.5728 GB, free: 11.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.5192, allocations: 2.779 MB / 0.5755 GB, free: 8.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/0.5241, allocations: 3.997 MB / 0.5794 GB, free: 3.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.824e-05/0.5242, allocations: 20 kB / 0.5795 GB, free: 3.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.007177/0.5314, allocations: 3.546 MB / 0.5829 GB, free: 376 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.424e-05/0.5316, allocations: 32 kB / 0.583 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/0.5317, allocations: 68.75 kB / 0.583 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.5319, allocations: 88 kB / 0.5831 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/0.5341, allocations: 0.6672 MB / 0.5838 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001366/0.5342, allocations: 133.7 kB / 0.5839 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.5367, allocations: 423.7 kB / 0.5843 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004809/0.5372, allocations: 188 kB / 0.5845 GB, free: 14.88 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.003034/0.5403, allocations: 1.372 MB / 0.5858 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.5407, allocations: 157.9 kB / 0.586 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.5413, allocations: 197 kB / 0.5861 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.5413, allocations: 11.94 kB / 0.5862 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.5413, allocations: 4 kB / 0.5862 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.5414, allocations: 7.984 kB / 0.5862 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00934/0.5507, allocations: 4.139 MB / 0.5902 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.5508, allocations: 4 kB / 0.5902 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.5512, allocations: 104.8 kB / 0.5903 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.5512, allocations: 8 kB / 0.5903 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/0.5513, allocations: 24 kB / 0.5903 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.5513, allocations: 14.61 kB / 0.5904 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.5513, allocations: 6.625 kB / 0.5904 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.553, allocations: 1.24 MB / 0.5916 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/0.5535, allocations: 254.7 kB / 0.5918 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/0.5539, allocations: 14.97 kB / 0.5918 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/0.5546, allocations: 35.88 kB / 0.5919 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5547, allocations: 57.12 kB / 0.5919 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/0.5548, allocations: 28 kB / 0.5919 GB, free: 7.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002647/0.5575, allocations: 1.283 MB / 0.5932 GB, free: 5.816 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5575, allocations: 0 / 0.5932 GB, free: 5.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003474/0.561, allocations: 0.7038 MB / 0.5939 GB, free: 5.109 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.0004723/0.5615, allocations: 144.4 kB / 0.594 GB, free: 4.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004003/0.5655, allocations: 2.26 MB / 0.5962 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.5655, allocations: 4 kB / 0.5962 GB, free: 2.906 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006145/0.5661, allocations: 451.7 kB / 0.5967 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.568, allocations: 257.9 kB / 0.5969 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.5808, allocations: 6.82 MB / 0.6036 GB, free: 11.33 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003599/0.5845, allocations: 2.319 MB / 0.6058 GB, free: 8.977 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005332/0.585, allocations: 147.4 kB / 0.606 GB, free: 8.836 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.585, allocations: 0 / 0.606 GB, free: 8.836 MB / 462.1 MB Notification: Performance of Templates: time 0.04944/0.6345, allocations: 30.5 MB / 0.6358 GB, free: 10.42 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/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