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.001396/0.001396, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001426/0.001426, allocations: 179.1 kB / 18.71 MB, free: 4.367 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.47/1.47, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2165/0.2165, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4487, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01167/0.4604, allocations: 9.733 MB / 0.5284 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008205/0.4687, allocations: 2.923 MB / 0.5313 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.4721, allocations: 53.84 kB / 0.5313 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004352/0.4764, allocations: 1.98 MB / 0.5332 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.48, allocations: 1.16 MB / 0.5344 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.4808, allocations: 297.8 kB / 0.5347 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003196/0.484, allocations: 2.329 MB / 0.5369 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.4868, allocations: 2.328 MB / 0.5392 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.4882, allocations: 0.8989 MB / 0.5401 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.4897, allocations: 1.18 MB / 0.5412 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003703/0.4901, allocations: 199.2 kB / 0.5414 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.4915, allocations: 0.7046 MB / 0.5421 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009825/0.4925, allocations: 1.161 MB / 0.5432 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.4937, allocations: 1.343 MB / 0.5446 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004311/0.498, allocations: 4.451 MB / 0.5489 GB, free: 13.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.498, allocations: 4 kB / 0.5489 GB, free: 13.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.498, allocations: 0 / 0.5489 GB, free: 13.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.546e-05/0.4981, allocations: 0 / 0.5489 GB, free: 13.21 MB / 414.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.00501/0.5031, allocations: 2.939 MB / 0.5518 GB, free: 10.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5032, allocations: 12.03 kB / 0.5518 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005027/0.5082, allocations: 1.596 MB / 0.5533 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.5105, allocations: 1.355 MB / 0.5547 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.5107, allocations: 156 kB / 0.5548 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.511, allocations: 191.8 kB / 0.555 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009511/0.5205, allocations: 6.432 MB / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.5206, allocations: 11.88 kB / 0.5613 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.5209, allocations: 87.91 kB / 0.5614 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002287/0.5232, allocations: 1.403 MB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.5343, allocations: 5.492 MB / 0.5681 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03214/0.5665, allocations: 20.42 MB / 0.588 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004255/0.5708, allocations: 2.077 MB / 0.5901 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009943/0.5719, allocations: 0.6953 MB / 0.5908 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006704/0.5786, allocations: 3.507 MB / 0.5942 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.5787, allocations: 39 kB / 0.5942 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 4.208e-06/0.5787, allocations: 0 / 0.5942 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.006044/0.5848, allocations: 1.974 MB / 0.5961 GB, free: 11.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.5849, allocations: 55.84 kB / 0.5962 GB, free: 11.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/0.5893, allocations: 1.966 MB / 0.5981 GB, free: 9.523 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/0.5894, allocations: 37.7 kB / 0.5982 GB, free: 9.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001898/0.5913, allocations: 1.879 MB / 0.6 GB, free: 7.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/0.5918, allocations: 312.1 kB / 0.6003 GB, free: 7.262 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/0.593, allocations: 0.6307 MB / 0.6009 GB, free: 6.621 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002674/0.5933, allocations: 357.9 kB / 0.6012 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.5949, allocations: 0.8998 MB / 0.6021 GB, free: 5.363 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003433/0.5983, allocations: 2.766 MB / 0.6048 GB, free: 1.656 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00533/0.6037, allocations: 3.999 MB / 0.6087 GB, free: 12.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-05/0.6038, allocations: 16 kB / 0.6087 GB, free: 12.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.006727/0.6105, allocations: 3.546 MB / 0.6122 GB, free: 9.148 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.6106, allocations: 32 kB / 0.6122 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.6107, allocations: 68 kB / 0.6123 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001097/0.6108, allocations: 91.94 kB / 0.6124 GB, free: 8.961 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.6128, allocations: 0.6628 MB / 0.613 GB, free: 8.297 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000159/0.6129, allocations: 127.5 kB / 0.6132 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/0.6152, allocations: 431.7 kB / 0.6136 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/0.6155, allocations: 188 kB / 0.6137 GB, free: 7.566 MB / 478.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.002573/0.6181, allocations: 1.373 MB / 0.6151 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/0.6184, allocations: 157.8 kB / 0.6152 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.6189, allocations: 201.2 kB / 0.6154 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.619, allocations: 12 kB / 0.6154 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.619, allocations: 11.94 kB / 0.6155 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.619, allocations: 0 / 0.6155 GB, free: 5.805 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00843/0.6274, allocations: 4.137 MB / 0.6195 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.6275, allocations: 8 kB / 0.6195 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.6279, allocations: 92.64 kB / 0.6196 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.6279, allocations: 8 kB / 0.6196 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.628, allocations: 27.98 kB / 0.6196 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.628, allocations: 11.94 kB / 0.6196 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.628, allocations: 7.938 kB / 0.6196 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.6297, allocations: 1.238 MB / 0.6209 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/0.6303, allocations: 254.7 kB / 0.6211 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/0.6306, allocations: 12 kB / 0.6211 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/0.6312, allocations: 31.97 kB / 0.6211 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.6313, allocations: 59.77 kB / 0.6212 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/0.6314, allocations: 27.98 kB / 0.6212 GB, free: 15.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00216/0.6336, allocations: 1.283 MB / 0.6225 GB, free: 14.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6336, allocations: 4 kB / 0.6225 GB, free: 14.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002845/0.6364, allocations: 0.7076 MB / 0.6232 GB, free: 13.66 MB / 494.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.0004649/0.6369, allocations: 147 kB / 0.6233 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003507/0.6404, allocations: 2.057 MB / 0.6253 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.6404, allocations: 0 / 0.6253 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.6411, allocations: 461.5 kB / 0.6258 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.6426, allocations: 262.9 kB / 0.626 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.6528, allocations: 5.111 MB / 0.631 GB, free: 5.547 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003747/0.6566, allocations: 2.312 MB / 0.6333 GB, free: 3.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002769/0.6594, allocations: 0.9677 MB / 0.6342 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.66, allocations: 123.4 kB / 0.6343 GB, free: 2.109 MB / 494.1 MB Notification: Performance of SimCode: time 1.744e-06/0.66, allocations: 0 / 0.6343 GB, free: 2.109 MB / 494.1 MB Notification: Performance of Templates: time 0.03637/0.6963, allocations: 15.34 MB / 0.6493 GB, free: 2.809 MB / 0.4981 GB 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