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.00106/0.00106, 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.001065/0.001065, 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.295/1.295, 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.2243/0.2243, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 68.73 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 62.45 MB / 481.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.009552/0.1159, allocations: 9.52 MB / 491 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004935/0.1208, allocations: 2.928 MB / 493.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006855/0.1215, allocations: 47.94 kB / 493.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.1248, allocations: 1.998 MB / 495.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.1268, allocations: 1.105 MB / 497 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.1273, allocations: 287.5 kB / 497.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002352/0.1297, allocations: 2.337 MB / 499.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.1319, allocations: 2.309 MB / 0.4902 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007969/0.1327, allocations: 0.8799 MB / 0.4911 GB, free: 15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.1339, allocations: 1.149 MB / 0.4922 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.1341, allocations: 192 kB / 0.4924 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.1351, allocations: 0.6982 MB / 0.4931 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008192/0.1359, allocations: 1.114 MB / 0.4941 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009834/0.1369, allocations: 1.301 MB / 0.4954 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003312/0.1402, allocations: 4.317 MB / 0.4996 GB, free: 6.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1402, allocations: 0 / 0.4996 GB, free: 6.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1402, allocations: 0 / 0.4996 GB, free: 6.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.1403, allocations: 0 / 0.4996 GB, free: 6.203 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.003713/0.144, allocations: 2.865 MB / 0.5024 GB, free: 3.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1441, allocations: 8.031 kB / 0.5024 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004562/0.1486, allocations: 1.557 MB / 0.504 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.151, allocations: 1.332 MB / 0.5053 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-05/0.1512, allocations: 148 kB / 0.5054 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/0.1515, allocations: 187.8 kB / 0.5056 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.175/0.3265, allocations: 6.246 MB / 0.5117 GB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.3266, allocations: 15.16 kB / 0.5117 GB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.3268, allocations: 88.31 kB / 0.5118 GB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001737/0.3285, allocations: 1.34 MB / 0.5131 GB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008622/0.3372, allocations: 5.331 MB / 0.5183 GB, free: 35.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0193/0.3565, allocations: 19.98 MB / 0.5378 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.3598, allocations: 2.09 MB / 0.5398 GB, free: 18.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000654/0.3605, allocations: 0.6913 MB / 0.5405 GB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00466/0.3651, allocations: 3.484 MB / 0.5439 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3652, allocations: 39 kB / 0.544 GB, free: 14.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.435e-06/0.3652, allocations: 0 / 0.544 GB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004281/0.3695, allocations: 1.97 MB / 0.5459 GB, free: 12.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.3695, allocations: 63.78 kB / 0.5459 GB, free: 12.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.3712, allocations: 1.937 MB / 0.5478 GB, free: 10.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.3713, allocations: 37.7 kB / 0.5479 GB, free: 10.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005879/0.3719, allocations: 1.832 MB / 0.5497 GB, free: 8.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.372, allocations: 312.1 kB / 0.55 GB, free: 8.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005209/0.3726, allocations: 0.619 MB / 0.5506 GB, free: 7.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.3726, allocations: 361.9 kB / 0.5509 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009143/0.3736, allocations: 0.888 MB / 0.5518 GB, free: 6.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.3751, allocations: 2.751 MB / 0.5545 GB, free: 2.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003227/0.3783, allocations: 3.972 MB / 0.5583 GB, free: 13.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.647e-05/0.3783, allocations: 20 kB / 0.5584 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005247/0.3836, allocations: 3.515 MB / 0.5618 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.3837, allocations: 32 kB / 0.5618 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/0.3838, allocations: 68 kB / 0.5619 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.688e-05/0.3839, allocations: 88 kB / 0.562 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.3856, allocations: 0.6589 MB / 0.5626 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.539e-05/0.3857, allocations: 127.5 kB / 0.5627 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.3873, allocations: 423.9 kB / 0.5631 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.3875, allocations: 191.9 kB / 0.5633 GB, free: 8.648 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.001674/0.3892, allocations: 1.338 MB / 0.5646 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.3894, allocations: 157.9 kB / 0.5648 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.3897, allocations: 196.9 kB / 0.565 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.3897, allocations: 16 kB / 0.565 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3897, allocations: 0 / 0.565 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.3897, allocations: 0 / 0.565 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006033/0.3958, allocations: 4.069 MB / 0.569 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.3958, allocations: 8.75 kB / 0.569 GB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.3962, allocations: 99.81 kB / 0.5691 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.3962, allocations: 12 kB / 0.5691 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.3962, allocations: 25.53 kB / 0.5691 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.3963, allocations: 11.98 kB / 0.5691 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.3963, allocations: 11.94 kB / 0.5691 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.3976, allocations: 1.235 MB / 0.5703 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.3979, allocations: 246.8 kB / 0.5706 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.3981, allocations: 15.94 kB / 0.5706 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.3985, allocations: 27.89 kB / 0.5706 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.3986, allocations: 55.81 kB / 0.5707 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.3987, allocations: 31.98 kB / 0.5707 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001483/0.4001, allocations: 1.267 MB / 0.5719 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4002, allocations: 0 / 0.5719 GB, free: 15.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002093/0.4023, allocations: 0.683 MB / 0.5726 GB, free: 14.9 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.0002648/0.4025, allocations: 148.3 kB / 0.5727 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.4051, allocations: 2.041 MB / 0.5747 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4051, allocations: 0 / 0.5747 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.4056, allocations: 466.6 kB / 0.5752 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.4066, allocations: 226.6 kB / 0.5754 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006514/0.4131, allocations: 5.006 MB / 0.5803 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.4153, allocations: 2.27 MB / 0.5825 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001822/0.4171, allocations: 0.9554 MB / 0.5834 GB, free: 3.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.4174, allocations: 123.4 kB / 0.5835 GB, free: 3.562 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4174, allocations: 0 / 0.5835 GB, free: 3.562 MB / 414.1 MB Notification: Performance of Templates: time 0.02539/0.4428, allocations: 14.14 MB / 0.5973 GB, free: 5.461 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 gbode -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