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.001426/0.001426, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.09 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 79.25 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1328, allocations: 62.43 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01191/0.1447, allocations: 9.529 MB / 490.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006641/0.1514, allocations: 2.916 MB / 493.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.1532, allocations: 47.94 kB / 493.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004182/0.1574, allocations: 2.005 MB / 495.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.1606, allocations: 1.094 MB / 496.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008805/0.1615, allocations: 299.4 kB / 496.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003487/0.165, allocations: 2.329 MB / 498.9 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/0.1683, allocations: 2.309 MB / 0.4895 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.1698, allocations: 0.8839 MB / 0.4903 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.1716, allocations: 1.153 MB / 0.4914 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006363/0.1723, allocations: 192 kB / 0.4916 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.1739, allocations: 0.6943 MB / 0.4923 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.1753, allocations: 1.11 MB / 0.4934 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.1775, allocations: 1.305 MB / 0.4947 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00525/0.1827, allocations: 4.155 MB / 0.4987 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.1828, allocations: 0 / 0.4987 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1828, allocations: 0 / 0.4987 GB, free: 7.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001497/0.1829, allocations: 0 / 0.4987 GB, free: 7.141 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.006731/0.1897, allocations: 2.872 MB / 0.5015 GB, free: 4.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1897, allocations: 8.031 kB / 0.5015 GB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005476/0.1952, allocations: 1.557 MB / 0.5031 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.198, allocations: 1.32 MB / 0.5043 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.1982, allocations: 144 kB / 0.5045 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006825/0.1989, allocations: 191.8 kB / 0.5047 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2392/0.438, allocations: 6.245 MB / 0.5108 GB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.996e-05/0.4381, allocations: 13.59 kB / 0.5108 GB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.4384, allocations: 86.53 kB / 0.5109 GB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002096/0.4405, allocations: 1.345 MB / 0.5122 GB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.4509, allocations: 5.331 MB / 0.5174 GB, free: 35.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02506/0.476, allocations: 20.12 MB / 0.537 GB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/0.4796, allocations: 2.083 MB / 0.5391 GB, free: 19.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.4804, allocations: 0.6992 MB / 0.5397 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005071/0.4854, allocations: 3.476 MB / 0.5431 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.4855, allocations: 35 kB / 0.5432 GB, free: 15.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.897e-06/0.4855, allocations: 0 / 0.5432 GB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004539/0.49, allocations: 1.981 MB / 0.5451 GB, free: 13.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.4901, allocations: 55.84 kB / 0.5452 GB, free: 13.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.4927, allocations: 1.937 MB / 0.5471 GB, free: 11.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.4927, allocations: 37.69 kB / 0.5471 GB, free: 11.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008615/0.4936, allocations: 1.832 MB / 0.5489 GB, free: 9.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.4938, allocations: 312 kB / 0.5492 GB, free: 9.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006838/0.4945, allocations: 0.619 MB / 0.5498 GB, free: 8.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.4946, allocations: 357.9 kB / 0.5501 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.4957, allocations: 0.8881 MB / 0.551 GB, free: 7.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.4974, allocations: 2.755 MB / 0.5537 GB, free: 3.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003636/0.501, allocations: 3.969 MB / 0.5576 GB, free: 14.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.698e-05/0.5011, allocations: 20.66 kB / 0.5576 GB, free: 14.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005769/0.5069, allocations: 3.523 MB / 0.561 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/0.507, allocations: 35.94 kB / 0.5611 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/0.5071, allocations: 68 kB / 0.5611 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.584e-05/0.5072, allocations: 84 kB / 0.5612 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.509, allocations: 0.667 MB / 0.5618 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.5092, allocations: 127.5 kB / 0.562 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.5112, allocations: 415.5 kB / 0.5624 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.5114, allocations: 191.9 kB / 0.5625 GB, free: 9.438 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.00215/0.5136, allocations: 1.342 MB / 0.5639 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.5138, allocations: 153.9 kB / 0.564 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.5142, allocations: 204.9 kB / 0.5642 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.5142, allocations: 8 kB / 0.5642 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.5142, allocations: 0 / 0.5642 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.5142, allocations: 4 kB / 0.5642 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006236/0.5205, allocations: 4.066 MB / 0.5682 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.5205, allocations: 12.16 kB / 0.5682 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.5209, allocations: 99.81 kB / 0.5683 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.5209, allocations: 8 kB / 0.5683 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.521, allocations: 23.94 kB / 0.5683 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/0.521, allocations: 15.92 kB / 0.5683 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.521, allocations: 4 kB / 0.5683 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.5225, allocations: 1.235 MB / 0.5695 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003673/0.5228, allocations: 238.8 kB / 0.5698 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.523, allocations: 23.94 kB / 0.5698 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/0.5235, allocations: 35.86 kB / 0.5698 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5236, allocations: 55.81 kB / 0.5699 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.5236, allocations: 28 kB / 0.5699 GB, free: 1.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001739/0.5254, allocations: 1.263 MB / 0.5711 GB, free: 388 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5254, allocations: 0 / 0.5711 GB, free: 388 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002663/0.5281, allocations: 0.6895 MB / 0.5718 GB, free: 15.69 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.0003772/0.5285, allocations: 141.9 kB / 0.572 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.5318, allocations: 2.248 MB / 0.5741 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.5318, allocations: 4 kB / 0.5742 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.5324, allocations: 463.3 kB / 0.5746 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.5336, allocations: 234.1 kB / 0.5748 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009/0.5426, allocations: 5.381 MB / 0.5801 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002381/0.545, allocations: 2.275 MB / 0.5823 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.5455, allocations: 139.4 kB / 0.5824 GB, free: 4.707 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5455, allocations: 4 kB / 0.5824 GB, free: 4.703 MB / 414.1 MB Notification: Performance of Templates: time 0.0488/0.5943, allocations: 29.82 MB / 0.6116 GB, free: 6.945 MB / 446.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/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