Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 72.73 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1077, allocations: 62.44 MB / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01007/0.1178, allocations: 9.528 MB / 491 MB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005227/0.1231, allocations: 2.924 MB / 493.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000831/0.124, allocations: 47.94 kB / 493.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.1271, allocations: 2.001 MB / 495.9 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.1294, allocations: 1.101 MB / 497 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.13, allocations: 299.4 kB / 497.3 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.1325, allocations: 2.329 MB / 499.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.1347, allocations: 2.293 MB / 0.4902 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008718/0.1356, allocations: 0.8839 MB / 0.4911 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1367, allocations: 1.149 MB / 0.4922 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.137, allocations: 196 kB / 0.4924 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.138, allocations: 0.7021 MB / 0.493 GB, free: 13.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007918/0.1388, allocations: 1.107 MB / 0.4941 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.1398, allocations: 1.305 MB / 0.4954 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.1431, allocations: 4.317 MB / 0.4996 GB, free: 6.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1432, allocations: 0 / 0.4996 GB, free: 6.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1432, allocations: 0 / 0.4996 GB, free: 6.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.1432, allocations: 4 kB / 0.4996 GB, free: 6.25 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.003864/0.1471, allocations: 2.853 MB / 0.5024 GB, free: 3.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1471, allocations: 12.03 kB / 0.5024 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00436/0.1515, allocations: 1.557 MB / 0.5039 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.1541, allocations: 1.34 MB / 0.5052 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-05/0.1542, allocations: 148 kB / 0.5054 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002878/0.1545, allocations: 191.8 kB / 0.5056 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1955/0.35, allocations: 6.238 MB / 0.5117 GB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.623e-05/0.3501, allocations: 14.66 kB / 0.5117 GB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.3503, allocations: 88.67 kB / 0.5118 GB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002198/0.3525, allocations: 1.34 MB / 0.5131 GB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.3637, allocations: 5.336 MB / 0.5183 GB, free: 35.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02352/0.3872, allocations: 19.98 MB / 0.5378 GB, free: 21.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/0.3906, allocations: 2.083 MB / 0.5398 GB, free: 18.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006629/0.3913, allocations: 0.7025 MB / 0.5405 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004969/0.3963, allocations: 3.468 MB / 0.5439 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.3963, allocations: 43 kB / 0.5439 GB, free: 14.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.865e-06/0.3963, allocations: 0 / 0.5439 GB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004212/0.4005, allocations: 1.97 MB / 0.5459 GB, free: 12.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.4006, allocations: 63.83 kB / 0.5459 GB, free: 12.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.4025, allocations: 1.937 MB / 0.5478 GB, free: 10.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.4025, allocations: 37.7 kB / 0.5479 GB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/0.4032, allocations: 1.836 MB / 0.5497 GB, free: 8.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.4034, allocations: 312.1 kB / 0.55 GB, free: 8.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005543/0.4039, allocations: 0.619 MB / 0.5506 GB, free: 7.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.404, allocations: 357.9 kB / 0.5509 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009144/0.4049, allocations: 0.8842 MB / 0.5518 GB, free: 6.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.4065, allocations: 2.751 MB / 0.5544 GB, free: 2.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/0.4098, allocations: 3.973 MB / 0.5583 GB, free: 13.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/0.4098, allocations: 16 kB / 0.5583 GB, free: 13.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.00474/0.4146, allocations: 3.523 MB / 0.5618 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.4146, allocations: 32 kB / 0.5618 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.508e-05/0.4147, allocations: 64 kB / 0.5619 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.509e-05/0.4148, allocations: 91.98 kB / 0.562 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.4165, allocations: 0.6628 MB / 0.5626 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001047/0.4166, allocations: 123.5 kB / 0.5627 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.4182, allocations: 429.4 kB / 0.5631 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.4185, allocations: 187.9 kB / 0.5633 GB, free: 8.707 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.001762/0.4202, allocations: 1.342 MB / 0.5646 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.4204, allocations: 153.9 kB / 0.5648 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.4208, allocations: 200.8 kB / 0.565 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.4208, allocations: 11.98 kB / 0.565 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.4208, allocations: 0 / 0.565 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4208, allocations: 4 kB / 0.565 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006134/0.4269, allocations: 4.069 MB / 0.569 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.427, allocations: 4 kB / 0.569 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.4273, allocations: 103.8 kB / 0.5691 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/0.4274, allocations: 8.75 kB / 0.5691 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.4274, allocations: 19.94 kB / 0.5691 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.4274, allocations: 19.92 kB / 0.5691 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/0.4274, allocations: 8.75 kB / 0.5691 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.4288, allocations: 1.235 MB / 0.5703 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.4292, allocations: 234.8 kB / 0.5705 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.4294, allocations: 23.92 kB / 0.5706 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.4298, allocations: 31.89 kB / 0.5706 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.4299, allocations: 47.83 kB / 0.5706 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.43, allocations: 36.84 kB / 0.5707 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001536/0.4315, allocations: 1.271 MB / 0.5719 GB, free: 15.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4315, allocations: 0 / 0.5719 GB, free: 15.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002336/0.4339, allocations: 0.6751 MB / 0.5726 GB, free: 14.96 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.0003011/0.4342, allocations: 148.3 kB / 0.5727 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002859/0.437, allocations: 2.049 MB / 0.5747 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4371, allocations: 0 / 0.5747 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000549/0.4376, allocations: 461.7 kB / 0.5752 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4387, allocations: 242.8 kB / 0.5754 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008009/0.4468, allocations: 4.99 MB / 0.5803 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.4491, allocations: 2.275 MB / 0.5825 GB, free: 4.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001945/0.4511, allocations: 0.9557 MB / 0.5834 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.4514, allocations: 123.4 kB / 0.5835 GB, free: 3.621 MB / 414.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4514, allocations: 0 / 0.5835 GB, free: 3.621 MB / 414.1 MB Notification: Performance of Templates: time 0.02799/0.4794, allocations: 14.13 MB / 0.5973 GB, free: 5.523 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches