Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001471/0.001471, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001827/0.001827, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2441/0.2441, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 73.52 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1359, allocations: 62.44 MB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01181/0.1477, allocations: 9.514 MB / 489.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007595/0.1554, allocations: 2.924 MB / 492.5 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.1572, allocations: 47.94 kB / 492.5 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.1614, allocations: 1.998 MB / 494.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.1652, allocations: 1.101 MB / 495.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1664, allocations: 291.4 kB / 495.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004493/0.1709, allocations: 2.333 MB / 498.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00365/0.1746, allocations: 2.305 MB / 0.4888 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.1763, allocations: 0.8839 MB / 0.4897 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.1784, allocations: 1.156 MB / 0.4908 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006318/0.1791, allocations: 192 kB / 0.491 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.1806, allocations: 0.6943 MB / 0.4916 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001361/0.182, allocations: 1.11 MB / 0.4927 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.1838, allocations: 1.305 MB / 0.494 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.1881, allocations: 4.151 MB / 0.4981 GB, free: 7.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1881, allocations: 3.984 kB / 0.4981 GB, free: 7.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1881, allocations: 0 / 0.4981 GB, free: 7.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.514e-05/0.1882, allocations: 0 / 0.4981 GB, free: 7.148 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.004832/0.193, allocations: 2.872 MB / 0.5009 GB, free: 4.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1931, allocations: 8.031 kB / 0.5009 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/0.1981, allocations: 1.553 MB / 0.5024 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.2006, allocations: 1.32 MB / 0.5037 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.2008, allocations: 148 kB / 0.5038 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003037/0.2011, allocations: 191.8 kB / 0.504 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2681/0.4692, allocations: 6.245 MB / 0.5101 GB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.4693, allocations: 13.8 kB / 0.5101 GB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.4695, allocations: 86.97 kB / 0.5102 GB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002136/0.4717, allocations: 1.344 MB / 0.5115 GB, free: 37.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009613/0.4813, allocations: 5.331 MB / 0.5167 GB, free: 35.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02103/0.5023, allocations: 20.12 MB / 0.5364 GB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/0.506, allocations: 2.088 MB / 0.5384 GB, free: 19.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/0.5067, allocations: 0.6953 MB / 0.5391 GB, free: 18.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004747/0.5115, allocations: 3.479 MB / 0.5425 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.5115, allocations: 38.62 kB / 0.5425 GB, free: 15.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.035e-06/0.5115, allocations: 4 kB / 0.5425 GB, free: 15.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004535/0.5161, allocations: 1.974 MB / 0.5444 GB, free: 13.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.5161, allocations: 59.84 kB / 0.5445 GB, free: 13.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.5182, allocations: 1.937 MB / 0.5464 GB, free: 11.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.5182, allocations: 41.69 kB / 0.5464 GB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007907/0.519, allocations: 1.829 MB / 0.5482 GB, free: 9.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.5193, allocations: 320 kB / 0.5485 GB, free: 8.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005997/0.5199, allocations: 0.6112 MB / 0.5491 GB, free: 8.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.52, allocations: 361.9 kB / 0.5495 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009784/0.521, allocations: 0.8881 MB / 0.5503 GB, free: 7.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.5227, allocations: 2.747 MB / 0.553 GB, free: 3.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.5262, allocations: 3.978 MB / 0.5569 GB, free: 14.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-05/0.5262, allocations: 20 kB / 0.5569 GB, free: 14.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005493/0.5317, allocations: 3.521 MB / 0.5604 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.5318, allocations: 32 kB / 0.5604 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.997e-05/0.5319, allocations: 68 kB / 0.5605 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.775e-05/0.532, allocations: 88 kB / 0.5605 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.5338, allocations: 0.6589 MB / 0.5612 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001081/0.534, allocations: 128.1 kB / 0.5613 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.5358, allocations: 415.5 kB / 0.5617 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.536, allocations: 195.9 kB / 0.5619 GB, free: 9.324 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.002342/0.5384, allocations: 1.334 MB / 0.5632 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.5386, allocations: 161.9 kB / 0.5633 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.539, allocations: 204.9 kB / 0.5635 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/0.539, allocations: 11.98 kB / 0.5636 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.539, allocations: 4 kB / 0.5636 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.539, allocations: 3.984 kB / 0.5636 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006119/0.5451, allocations: 4.058 MB / 0.5675 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.5452, allocations: 8.094 kB / 0.5675 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.5455, allocations: 103.8 kB / 0.5676 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.5456, allocations: 8 kB / 0.5676 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.5456, allocations: 23.94 kB / 0.5677 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.922e-05/0.5457, allocations: 15.92 kB / 0.5677 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5457, allocations: 5.5 kB / 0.5677 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.5472, allocations: 1.235 MB / 0.5689 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.5476, allocations: 242.8 kB / 0.5691 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.5477, allocations: 23.92 kB / 0.5691 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.5482, allocations: 31.88 kB / 0.5692 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.5483, allocations: 55.83 kB / 0.5692 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.5483, allocations: 28 kB / 0.5692 GB, free: 1.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00169/0.55, allocations: 1.267 MB / 0.5705 GB, free: 268 kB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.55, allocations: 0 / 0.5705 GB, free: 268 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002828/0.5529, allocations: 0.6842 MB / 0.5712 GB, free: 15.57 MB / 414.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.0004619/0.5533, allocations: 148.4 kB / 0.5713 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003621/0.557, allocations: 2.245 MB / 0.5735 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.557, allocations: 4 kB / 0.5735 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006295/0.5576, allocations: 458.9 kB / 0.5739 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.5588, allocations: 236.7 kB / 0.5742 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009584/0.5684, allocations: 5.06 MB / 0.5791 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003432/0.5719, allocations: 2.279 MB / 0.5813 GB, free: 5.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002428/0.5743, allocations: 0.9497 MB / 0.5823 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/0.5747, allocations: 119.4 kB / 0.5824 GB, free: 3.973 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5747, allocations: 0 / 0.5824 GB, free: 3.973 MB / 414.1 MB Notification: Performance of Templates: time 0.03075/0.6055, allocations: 14.14 MB / 0.5962 GB, free: 5.871 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches