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.001605/0.001605, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.00156/0.00156, allocations: 194 kB / 18.12 MB, free: 5.363 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.42/1.42, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.229/0.229, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 60.56 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1306, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.03747/0.1681, allocations: 37.69 MB / 0.4943 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02197/0.1902, allocations: 7.58 MB / 0.5017 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007757/0.198, allocations: 151.7 kB / 0.5019 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3137/0.5117, allocations: 1.988 MB / 0.5038 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.5149, allocations: 1.069 MB / 0.5049 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007572/0.5157, allocations: 270.9 kB / 0.5051 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004641/0.5203, allocations: 3.397 MB / 0.5084 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.5238, allocations: 2.319 MB / 0.5107 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.5255, allocations: 0.8012 MB / 0.5115 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.5274, allocations: 1.245 MB / 0.5127 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000511/0.5279, allocations: 149.8 kB / 0.5128 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.5296, allocations: 0.6934 MB / 0.5135 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.5308, allocations: 1.116 MB / 0.5146 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.5325, allocations: 1.31 MB / 0.5159 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006374/0.5389, allocations: 4.25 MB / 0.52 GB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5389, allocations: 0 / 0.52 GB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5389, allocations: 0 / 0.52 GB, free: 8.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001833/0.5391, allocations: 1.562 kB / 0.52 GB, free: 8.891 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.009087/0.5482, allocations: 2.941 MB / 0.5229 GB, free: 7.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.5483, allocations: 10.59 kB / 0.5229 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/0.5533, allocations: 1.586 MB / 0.5245 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.5567, allocations: 1.347 MB / 0.5258 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.5569, allocations: 149.4 kB / 0.5259 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004587/0.5574, allocations: 189 kB / 0.5261 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.5701, allocations: 6.435 MB / 0.5324 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/0.5702, allocations: 11.41 kB / 0.5324 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.5704, allocations: 91.94 kB / 0.5325 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001982/0.5724, allocations: 1.406 MB / 0.5339 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.5831, allocations: 5.486 MB / 0.5392 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03012/0.6133, allocations: 20.56 MB / 0.5593 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.6178, allocations: 2.085 MB / 0.5614 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009587/0.6188, allocations: 0.6904 MB / 0.562 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006174/0.625, allocations: 3.511 MB / 0.5655 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.625, allocations: 40.33 kB / 0.5655 GB, free: 2.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.625, allocations: 0 / 0.5655 GB, free: 2.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=78): time 0.00559/0.6306, allocations: 1.977 MB / 0.5674 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.6307, allocations: 63.78 kB / 0.5675 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/0.634, allocations: 1.968 MB / 0.5694 GB, free: 14.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/0.6341, allocations: 32.44 kB / 0.5694 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/0.6357, allocations: 1.88 MB / 0.5713 GB, free: 12.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.6361, allocations: 309.3 kB / 0.5716 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008773/0.637, allocations: 0.6238 MB / 0.5722 GB, free: 11.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6372, allocations: 353.9 kB / 0.5725 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.6384, allocations: 0.8998 MB / 0.5734 GB, free: 10.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/0.6411, allocations: 2.766 MB / 0.5761 GB, free: 6.855 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004489/0.6456, allocations: 4.005 MB / 0.58 GB, free: 2.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-05/0.6456, allocations: 20 kB / 0.58 GB, free: 2.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.00558/0.6512, allocations: 3.545 MB / 0.5835 GB, free: 15.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.6513, allocations: 36 kB / 0.5835 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.168e-05/0.6514, allocations: 64 kB / 0.5836 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.684e-05/0.6514, allocations: 88 kB / 0.5837 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.6533, allocations: 0.665 MB / 0.5843 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.542e-05/0.6534, allocations: 130.5 kB / 0.5844 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.6556, allocations: 427.6 kB / 0.5848 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.6559, allocations: 190.9 kB / 0.585 GB, free: 13.54 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.002756/0.6587, allocations: 1.372 MB / 0.5864 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.659, allocations: 157.6 kB / 0.5865 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.6594, allocations: 201.2 kB / 0.5867 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/0.6594, allocations: 11.94 kB / 0.5867 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.6594, allocations: 0 / 0.5867 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.6595, allocations: 11.17 kB / 0.5867 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007242/0.6667, allocations: 4.14 MB / 0.5908 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.6667, allocations: 4 kB / 0.5908 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.6672, allocations: 104.1 kB / 0.5909 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.6672, allocations: 8.75 kB / 0.5909 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.6672, allocations: 16 kB / 0.5909 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/0.6673, allocations: 10.72 kB / 0.5909 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.6673, allocations: 14.72 kB / 0.5909 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.669, allocations: 1.245 MB / 0.5921 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.6695, allocations: 246.7 kB / 0.5924 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.6697, allocations: 23.98 kB / 0.5924 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.6701, allocations: 23.89 kB / 0.5924 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.6703, allocations: 59.7 kB / 0.5925 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.6703, allocations: 27.98 kB / 0.5925 GB, free: 5.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002074/0.6724, allocations: 1.283 MB / 0.5938 GB, free: 4.477 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6724, allocations: 0 / 0.5938 GB, free: 4.477 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002943/0.6754, allocations: 0.7038 MB / 0.5944 GB, free: 3.77 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.0004045/0.6758, allocations: 142.9 kB / 0.5946 GB, free: 3.633 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003633/0.6794, allocations: 2.032 MB / 0.5966 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6795, allocations: 2.719 kB / 0.5966 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.6801, allocations: 461.9 kB / 0.597 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.6816, allocations: 244.2 kB / 0.5972 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.6922, allocations: 6.507 MB / 0.6036 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002405/0.6946, allocations: 2.316 MB / 0.6059 GB, free: 8.188 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002416/0.697, allocations: 0.9638 MB / 0.6068 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.6974, allocations: 127.4 kB / 0.6069 GB, free: 7.098 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/0.6974, allocations: 0 / 0.6069 GB, free: 7.098 MB / 462.1 MB Notification: Performance of Templates: time 0.02987/0.7272, allocations: 13.97 MB / 0.6206 GB, free: 9.227 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