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.001194/0.001194, allocations: 110.5 kB / 17.32 MB, free: 6.008 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.001317/0.001317, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.363/1.363, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.17 MB / 336.2 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.97 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1213, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03872/0.1601, allocations: 37.69 MB / 0.4945 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01556/0.1757, allocations: 7.521 MB / 0.5019 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005774/0.1815, allocations: 159.6 kB / 0.502 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2412/0.4227, allocations: 1.92 MB / 0.5039 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003363/0.4262, allocations: 1.055 MB / 0.5049 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007676/0.427, allocations: 273.9 kB / 0.5052 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00367/0.4307, allocations: 2.352 MB / 0.5075 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/0.4339, allocations: 2.445 MB / 0.5099 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.4353, allocations: 0.9156 MB / 0.5108 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.4375, allocations: 1.289 MB / 0.512 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004572/0.438, allocations: 197.4 kB / 0.5122 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.4397, allocations: 0.7059 MB / 0.5129 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.4413, allocations: 1.162 MB / 0.5141 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.4431, allocations: 1.36 MB / 0.5154 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006158/0.4493, allocations: 4.314 MB / 0.5196 GB, free: 8.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.4494, allocations: 1.375 kB / 0.5196 GB, free: 8.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4494, allocations: 0 / 0.5196 GB, free: 8.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002051/0.4496, allocations: 0 / 0.5196 GB, free: 8.906 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.009634/0.4592, allocations: 2.945 MB / 0.5225 GB, free: 7.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.4593, allocations: 8.656 kB / 0.5225 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005669/0.465, allocations: 1.583 MB / 0.524 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.4677, allocations: 1.348 MB / 0.5253 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.288e-05/0.4678, allocations: 150.7 kB / 0.5255 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003302/0.4681, allocations: 185.5 kB / 0.5257 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.4788, allocations: 6.447 MB / 0.532 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.936e-05/0.4789, allocations: 9.125 kB / 0.532 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.4791, allocations: 89.67 kB / 0.5321 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001937/0.4811, allocations: 1.4 MB / 0.5334 GB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.492, allocations: 5.492 MB / 0.5388 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03421/0.5263, allocations: 20.55 MB / 0.5589 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00608/0.5324, allocations: 2.09 MB / 0.5609 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.5338, allocations: 0.6936 MB / 0.5616 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007081/0.541, allocations: 3.503 MB / 0.565 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.541, allocations: 41.8 kB / 0.565 GB, free: 3.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.777e-06/0.5411, allocations: 0 / 0.565 GB, free: 3.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.005712/0.5468, allocations: 1.973 MB / 0.567 GB, free: 1.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.5468, allocations: 63.78 kB / 0.567 GB, free: 1.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/0.5507, allocations: 1.962 MB / 0.5689 GB, free: 15.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.5508, allocations: 37.7 kB / 0.569 GB, free: 15.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.5522, allocations: 1.881 MB / 0.5708 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.5527, allocations: 314.8 kB / 0.5711 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.5537, allocations: 0.6211 MB / 0.5717 GB, free: 12.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5539, allocations: 357.9 kB / 0.5721 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.5553, allocations: 0.8881 MB / 0.5729 GB, free: 11.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/0.5584, allocations: 2.778 MB / 0.5756 GB, free: 7.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004405/0.5628, allocations: 4.005 MB / 0.5795 GB, free: 2.711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.195e-05/0.5628, allocations: 20 kB / 0.5796 GB, free: 2.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.005846/0.5687, allocations: 3.55 MB / 0.583 GB, free: 15.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.5688, allocations: 32 kB / 0.5831 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.657e-05/0.5689, allocations: 72 kB / 0.5831 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.673e-05/0.569, allocations: 88 kB / 0.5832 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/0.571, allocations: 0.6651 MB / 0.5839 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001139/0.5711, allocations: 128.9 kB / 0.584 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.5733, allocations: 429.9 kB / 0.5844 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/0.5737, allocations: 188 kB / 0.5846 GB, free: 14.04 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.002392/0.5761, allocations: 1.371 MB / 0.5859 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.5764, allocations: 157.9 kB / 0.5861 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.5768, allocations: 197.2 kB / 0.5863 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.5768, allocations: 11.94 kB / 0.5863 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5768, allocations: 0 / 0.5863 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5768, allocations: 2.625 kB / 0.5863 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007335/0.5842, allocations: 4.143 MB / 0.5903 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.5842, allocations: 8 kB / 0.5903 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.5846, allocations: 96.58 kB / 0.5904 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.5846, allocations: 8 kB / 0.5904 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.5847, allocations: 24.7 kB / 0.5904 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.457e-06/0.5847, allocations: 14.81 kB / 0.5905 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.5847, allocations: 8 kB / 0.5905 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.5862, allocations: 1.243 MB / 0.5917 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/0.5866, allocations: 250.7 kB / 0.5919 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.5868, allocations: 16 kB / 0.5919 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/0.5873, allocations: 35.88 kB / 0.592 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.5874, allocations: 46.8 kB / 0.592 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.333e-05/0.5875, allocations: 28 kB / 0.592 GB, free: 6.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001779/0.5893, allocations: 1.291 MB / 0.5933 GB, free: 4.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5893, allocations: 0 / 0.5933 GB, free: 4.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00267/0.592, allocations: 0.7101 MB / 0.594 GB, free: 4.281 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.0003051/0.5923, allocations: 140.3 kB / 0.5941 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003191/0.5955, allocations: 2.257 MB / 0.5963 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5955, allocations: 0 / 0.5963 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.5961, allocations: 460.4 kB / 0.5968 GB, free: 1.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.5975, allocations: 255.4 kB / 0.597 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009747/0.6073, allocations: 6.506 MB / 0.6034 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/0.6098, allocations: 2.319 MB / 0.6056 GB, free: 8.473 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002261/0.6121, allocations: 0.9638 MB / 0.6066 GB, free: 7.504 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.6123, allocations: 123.4 kB / 0.6067 GB, free: 7.387 MB / 462.1 MB Notification: Performance of SimCode: time 5.72e-07/0.6124, allocations: 0 / 0.6067 GB, free: 7.387 MB / 462.1 MB Notification: Performance of Templates: time 0.0282/0.6406, allocations: 14.43 MB / 0.6208 GB, free: 9.07 MB / 478.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