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.001375/0.001375, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2056/0.2056, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 91.66 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.113, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01/0.123, allocations: 9.52 MB / 491 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005336/0.1284, allocations: 2.924 MB / 493.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/0.1292, allocations: 51.88 kB / 494 MB, free: 7.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.1326, allocations: 1.99 MB / 495.9 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.1347, allocations: 1.117 MB / 497.1 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.1353, allocations: 287.5 kB / 497.3 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002548/0.1379, allocations: 2.325 MB / 499.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.1402, allocations: 2.309 MB / 0.4902 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009203/0.1411, allocations: 0.8723 MB / 0.4911 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.1423, allocations: 1.156 MB / 0.4922 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002442/0.1426, allocations: 192 kB / 0.4924 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.1436, allocations: 0.7021 MB / 0.4931 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008199/0.1445, allocations: 1.11 MB / 0.4941 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.1455, allocations: 1.301 MB / 0.4954 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003488/0.149, allocations: 4.313 MB / 0.4996 GB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.149, allocations: 0 / 0.4996 GB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.149, allocations: 0 / 0.4996 GB, free: 6.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.563e-05/0.1491, allocations: 0 / 0.4996 GB, free: 6.223 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.003895/0.153, allocations: 2.865 MB / 0.5024 GB, free: 3.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.153, allocations: 8.031 kB / 0.5024 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004657/0.1577, allocations: 1.561 MB / 0.504 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.1606, allocations: 1.34 MB / 0.5053 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-05/0.1607, allocations: 140 kB / 0.5054 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.1611, allocations: 191.8 kB / 0.5056 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1986/0.3597, allocations: 6.247 MB / 0.5117 GB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.708e-05/0.3598, allocations: 13.3 kB / 0.5117 GB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/0.3601, allocations: 86.09 kB / 0.5118 GB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002057/0.3622, allocations: 1.342 MB / 0.5131 GB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009681/0.3719, allocations: 5.328 MB / 0.5183 GB, free: 35.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02263/0.3945, allocations: 19.99 MB / 0.5378 GB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.3979, allocations: 2.083 MB / 0.5398 GB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.3986, allocations: 0.6913 MB / 0.5405 GB, free: 18.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005063/0.4037, allocations: 3.48 MB / 0.5439 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.4038, allocations: 38.98 kB / 0.544 GB, free: 14.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/0.4038, allocations: 0 / 0.544 GB, free: 14.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.00444/0.4082, allocations: 1.974 MB / 0.5459 GB, free: 12.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.4083, allocations: 55.84 kB / 0.5459 GB, free: 12.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.4106, allocations: 1.935 MB / 0.5478 GB, free: 10.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.4107, allocations: 37.69 kB / 0.5479 GB, free: 10.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007234/0.4114, allocations: 1.832 MB / 0.5497 GB, free: 8.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.4116, allocations: 320 kB / 0.55 GB, free: 8.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005998/0.4122, allocations: 0.6112 MB / 0.5506 GB, free: 7.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.4123, allocations: 365.9 kB / 0.5509 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.4133, allocations: 0.8842 MB / 0.5518 GB, free: 6.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.4149, allocations: 2.756 MB / 0.5545 GB, free: 2.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.418, allocations: 3.969 MB / 0.5583 GB, free: 13.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.8e-05/0.418, allocations: 20 kB / 0.5584 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004763/0.4228, allocations: 3.52 MB / 0.5618 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.4229, allocations: 32 kB / 0.5618 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-05/0.4229, allocations: 68.62 kB / 0.5619 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.475e-05/0.423, allocations: 84.78 kB / 0.562 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.4247, allocations: 0.6628 MB / 0.5626 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.263e-05/0.4248, allocations: 135.5 kB / 0.5627 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.4264, allocations: 411.5 kB / 0.5631 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.4267, allocations: 192.8 kB / 0.5633 GB, free: 8.672 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.001597/0.4283, allocations: 1.342 MB / 0.5646 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.4284, allocations: 157.9 kB / 0.5648 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.4287, allocations: 200.9 kB / 0.565 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.4288, allocations: 11.98 kB / 0.565 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4288, allocations: 0 / 0.565 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.4288, allocations: 7.984 kB / 0.565 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005592/0.4344, allocations: 4.07 MB / 0.569 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.4344, allocations: 7.312 kB / 0.569 GB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.4348, allocations: 95.89 kB / 0.5691 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.4348, allocations: 11.94 kB / 0.5691 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.4348, allocations: 23.92 kB / 0.5691 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.4348, allocations: 8 kB / 0.5691 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.4349, allocations: 7.938 kB / 0.5691 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.4361, allocations: 1.232 MB / 0.5703 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.4365, allocations: 242.8 kB / 0.5706 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.4366, allocations: 27.92 kB / 0.5706 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.4371, allocations: 31.88 kB / 0.5706 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.4372, allocations: 55.77 kB / 0.5707 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.4372, allocations: 24 kB / 0.5707 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001517/0.4387, allocations: 1.271 MB / 0.5719 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4388, allocations: 0 / 0.5719 GB, free: 15.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002249/0.441, allocations: 0.679 MB / 0.5726 GB, free: 14.93 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.0002759/0.4413, allocations: 148.4 kB / 0.5727 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.4442, allocations: 2.046 MB / 0.5747 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4442, allocations: 0 / 0.5747 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.4447, allocations: 465.3 kB / 0.5752 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.4458, allocations: 236.3 kB / 0.5754 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/0.4529, allocations: 5.002 MB / 0.5803 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002163/0.4551, allocations: 2.267 MB / 0.5825 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001875/0.4569, allocations: 0.9581 MB / 0.5834 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.4572, allocations: 119.4 kB / 0.5835 GB, free: 3.586 MB / 414.1 MB Notification: Performance of SimCode: time 1.864e-06/0.4572, allocations: 4 kB / 0.5835 GB, free: 3.582 MB / 414.1 MB Notification: Performance of Templates: time 0.02619/0.4834, allocations: 14.13 MB / 0.5973 GB, free: 5.48 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 -s gbode -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/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_trunk_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches